OpenRTM  1.0.0
構成 | ネームスペース | Constant Groups | マクロ定義 | 型定義
DataPortStatus.h

DataPortStatus class. [詳細]

#include <vector>

ソースコードを見る。

構成

class  RTC::DataPortStatus
 DataPortStatus mixin クラス [詳細]
 

ネームスペース

 RTC
 RTコンポーネント
 

Constant Groups

 RTC
 RTコンポーネント
 

マクロ定義

#define DATAPORTSTATUS_ENUM
 RTC::DataPortStatus 導入 [詳細]
 

型定義

typedef std::vector
< DataPortStatus::Enum > 
RTC::DataPortStatusList
 

説明

DataPortStatus class.

日付
$Date$
作者
Noriaki Ando n-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..jp

Copyright (C) 2009-2010 Noriaki Ando Task-intelligence Research Group, Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

$Id$

マクロ定義

#define DATAPORTSTATUS_ENUM
値:
typedef ::RTC::DataPortStatus::Enum ReturnCode; \
using ::RTC::DataPortStatus::PORT_OK; \
using ::RTC::DataPortStatus::PORT_ERROR; \
using ::RTC::DataPortStatus::BUFFER_FULL; \
using ::RTC::DataPortStatus::BUFFER_EMPTY; \
using ::RTC::DataPortStatus::BUFFER_TIMEOUT; \
using ::RTC::DataPortStatus::SEND_FULL; \
using ::RTC::DataPortStatus::SEND_TIMEOUT; \
using ::RTC::DataPortStatus::RECV_EMPTY; \
using ::RTC::DataPortStatus::RECV_TIMEOUT; \
using ::RTC::DataPortStatus::INVALID_ARGS; \
using ::RTC::DataPortStatus::PRECONDITION_NOT_MET; \
using ::RTC::DataPortStatus::CONNECTION_LOST; \
using ::RTC::DataPortStatus::UNKNOWN_ERROR;

RTC::DataPortStatus 導入

RTC::DataPortStatus で宣言されている Enum のすべてのメンバをネーム スペースに導入するためのマクロ。DataPortStatus を利用するクラスにお いて、クラス宣言の先頭において DATAPORTSTATUS_ENUM を記載するだけで、 DataPortStatus で宣言されている enum メンバが名前解決演算子なしにア クセス可能になる。