00001 // -*- C++ -*- 00019 /* 00020 * $Log: DataFlowComponentBase.h,v $ 00021 * Revision 1.2 2007/01/21 14:02:42 n-ando 00022 * Kanji-code was changed. 00023 * 00024 * Revision 1.1 2007/01/09 09:47:22 n-ando 00025 * DataFlowParticipant RT-Component base class 00026 * 00027 */ 00028 00029 #ifndef DataFlowComponentBase_h 00030 #define DataFlowComponentBase_h 00031 00032 #include <rtm/idl/RTCSkel.h> 00033 #include <rtm/RTObject.h> 00034 #include <rtm/PeriodicExecutionContext.h> 00035 00036 namespace RTC 00037 { 00047 class Manager; 00048 00049 class DataFlowComponentBase 00050 : public RTObject_impl 00051 00052 { 00053 public: 00061 DataFlowComponentBase(Manager* manager); 00062 00063 00071 virtual ~DataFlowComponentBase(); 00072 00073 00081 void init(); 00082 00083 00084 private: 00085 DataFlowComponent_var m_ref; 00086 PeriodicExecutionContext* m_pec; 00087 ExecutionContextService_var m_ecref; 00088 }; 00089 00090 }; // namespace RTC 00091 #endif // DataFlowComponentBase_h