00001 00020 #ifndef RTC_OUTPORTCONNECTOR_H 00021 #define RTC_OUTPORTCONNECTOR_H 00022 00023 #include <rtm/SystemLogger.h> 00024 #include <rtm/ConnectorBase.h> 00025 00026 namespace RTC 00027 { 00048 class OutPortConnector 00049 : public ConnectorBase 00050 { 00051 public: 00052 DATAPORTSTATUS_ENUM 00053 00061 OutPortConnector(ConnectorBase::Profile& profile); 00062 00070 virtual ~OutPortConnector(); 00084 const Profile& profile(); 00085 00099 const char* id(); 00100 00114 const char* name(); 00115 00129 virtual ReturnCode disconnect() = 0; 00130 00144 virtual CdrBufferBase* getBuffer() = 0; 00145 00159 virtual ReturnCode write(const cdrMemoryStream& data) = 0; 00160 00161 protected: 00162 Logger rtclog; 00163 Profile m_profile; 00164 }; 00165 }; // namespace RTC 00166 00167 #endif // RTC_CONNECTORBASE_H