20 #ifndef RTC_OUTPORTBASE_H 21 #define RTC_OUTPORTBASE_H 26 #include <coil/Properties.h> 27 #include <coil/stringutil.h> 257 OutPortBase(
const char* name,
const char* data_type);
316 virtual bool write() = 0;
356 const std::vector<OutPortConnector*>&
connectors();
627 bool autoclean =
true);
707 bool autoclean =
true);
776 connect(ConnectorProfile& connector_profile)
777 throw (CORBA::SystemException);
1085 #endif // RTC_RTCOUTPORTBASE_H OutPortConnector * getConnectorById(const char *id)
Getting ConnectorProfile by ID.
RTC's Port base class.
ConnectorListeners class.
void configure()
Configureing outport.
InPortConsumer abstract class.
DATAPORTSTATUS_ENUM typedef std::vector< OutPortConnector * > ConnectorList
virtual ~OutPortBase(void)
Destructor.
void initProviders()
OutPort provider initialization.
ConnectorInfoList getConnectorProfiles()
ConnectorProfile list.
void addConnectorDataListener(ConnectorDataListenerType listener_type, ConnectorDataListener *listener, bool autoclean=true)
Adding BufferDataListener type listener.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
coil::vstring getConnectorNames()
Connector name list.
virtual bool write()=0
Write data.
coil::vstring getConnectorIds()
ConnectorId list.
OutPortConnector * getConnectorByName(const char *name)
Getting Connector by name.
std::vector< OutPortConnector * > m_connectors
Connection list.
void initConsumers()
InPort consumer initialization.
ConnectorDataListener class.
void addConnectorListener(ConnectorListenerType callback_type, ConnectorListener *listener, bool autoclean=true)
Adding ConnectorListener type listener.
RT component logger class.
coil::Properties m_properties
Properties.
void removeConnectorListener(ConnectorListenerType callback_type, ConnectorListener *listener)
Removing BufferDataListener type listener.
ConnectorListeners m_listeners
ConnectorDataListener listener.
virtual void unsubscribeInterfaces(const ConnectorProfile &connector_profile)
Disconnect the interface connection.
std::vector< ConnectorInfo > ConnectorInfoList
bool isLittleEndian()
return it whether endian setting.
OutPortConnector * createConnector(const ConnectorProfile &cprof, coil::Properties &prop, InPortConsumer *consumer)
OutPortPushConnector creation.
virtual ReturnCode_t publishInterfaces(ConnectorProfile &connector_profile)
Publish interface information.
std::vector< std::string > vstring
ConnectorDataListenerType
The types of ConnectorDataListener.
void removeConnectorDataListener(ConnectorDataListenerType listener_type, ConnectorDataListener *listener)
Removing BufferDataListener type listener.
bool getConnectorProfileById(const char *id, ConnectorInfo &prof)
Getting ConnectorProfile by name.
bool m_littleEndian
Connected Endian.
OutPortBase(const char *name, const char *data_type)
Constructor.
void init(coil::Properties &prop)
Initializing properties.
virtual ReturnCode_t connect(ConnectorProfile &connector_profile)
[CORBA interface] Connect the Port
OutPortProvider * createProvider(ConnectorProfile &cprof, coil::Properties &prop)
OutPort provider creation.
coil::vstring m_consumerTypes
Available consumers.
prop
Organization::get_organization_property ();.
ConnectorListenerType
The types of ConnectorListener.
Functor to delete Providers.
Class represents a set of properties.
bool checkEndian(const coil::Properties &prop, bool &littleEndian)
Checking endian flag of serializer.
virtual void activateInterfaces()
Activate all Port interfaces.
bool getConnectorProfileByName(const char *name, ConnectorInfo &prof)
Getting ConnectorProfile by name.
coil::vstring m_providerTypes
Available providers.
Functor to delete Connectors.
virtual ReturnCode_t subscribeInterfaces(const ConnectorProfile &connector_profile)
Subscribe to the interface.
const std::vector< OutPortConnector * > & connectors()
Connector list.
InPortConsumer * createConsumer(const ConnectorProfile &cprof, coil::Properties &prop)
InPort consumer creation.
DataPortStatus mixin class.
virtual void deactivateInterfaces()
Deactivate all Port interfaces.
coil::Properties & properties()
Get properties.