00001 // -*- C++ -*- 00019 /* 00020 * $Log: DataFlowComponentBase.h,v $ 00021 * Revision 1.1 2007/01/09 09:47:22 n-ando 00022 * DataFlowParticipant RT-Component base class 00023 * 00024 */ 00025 00026 #ifndef DataFlowComponentBase_h 00027 #define DataFlowComponentBase_h 00028 00029 #include <rtm/idl/RTCSkel.h> 00030 #include <rtm/RTObject.h> 00031 #include <rtm/PeriodicExecutionContext.h> 00032 00033 namespace RTC 00034 { 00044 class Manager; 00045 00046 class DataFlowComponentBase 00047 : public RTObject_impl 00048 00049 { 00050 public: 00058 DataFlowComponentBase(Manager* manager); 00059 00060 00068 virtual ~DataFlowComponentBase(); 00069 00070 00078 void init(); 00079 00080 00081 private: 00082 DataFlowComponent_var m_ref; 00083 PeriodicExecutionContext* m_pec; 00084 ExecutionContextService_var m_ecref; 00085 }; 00086 00087 }; // namespace RTC 00088 #endif // DataFlowComponentBase_h