OpenRTM-aist  2.1.0
DirectOutPortBase.h
[詳解]
1 // -*- C++ -*-
17 #ifndef RTC_DIRECTOUTPORTBASE_H
18 #define RTC_DIRECTOUTPORTBASE_H
19 
20 
21 #include <rtm/DirectPortBase.h>
22 
23 
24 
25 
26 namespace RTC
27 {
46  template <class DataType>
48  {
49  public:
61  ~DirectOutPortBase() override = default;
75  virtual void read(DataType& data) = 0;
89  virtual bool isNew() = 0;
103  virtual bool isEmpty() = 0;
104 
105  protected:
106  };
107 } // namespace RTC
108 
109 #endif // RTC_DIRECTOUTPORTBASE_H
DirectPortBase class
direct接続用OutPort基底クラス
Definition: DirectOutPortBase.h:48
virtual void read(DataType &data)=0
データの取得
~DirectOutPortBase() override=default
デストラクタ
virtual bool isEmpty()=0
新規データが無いことを確認
virtual bool isNew()=0
新規データの存在確認
direct接続用Port基底クラス
Definition: DirectPortBase.h:47
RTコンポーネント