|
| | OutPort (const char *name, DataType &value) |
| | Constructor. More...
|
| |
| | ~OutPort () override |
| | Destructor. More...
|
| |
| virtual bool | write (DataType &value) |
| | Write data. More...
|
| |
| bool | write () override |
| | Write data. More...
|
| |
| bool | operator<< (DataType &value) |
| | Write data. More...
|
| |
| DataPortStatus | getStatus (int index) |
| | Getting specified connector's writing status. More...
|
| |
| DataPortStatusList | getStatusList () |
| | Getting specified connector's writing status list. More...
|
| |
| void | setOnWrite (OnWrite< DataType > *on_write) |
| | Set OnWrite callback. More...
|
| |
| void | setOnWriteConvert (OnWriteConvert< DataType > *on_wconvert) |
| | Set OnWriteConvert callback. More...
|
| |
| void | read (DataType &data) override |
| |
| bool | isEmpty () override |
| |
| bool | isNew () override |
| |
| | OutPortBase (const char *name, const char *data_type) |
| | Constructor. More...
|
| |
| | ~OutPortBase () override |
| | Destructor. More...
|
| |
| void | init (coil::Properties &prop) |
| | Initializing properties. More...
|
| |
| virtual bool | write ()=0 |
| | Write data. More...
|
| |
| coil::Properties & | properties () |
| | Get properties. More...
|
| |
| const std::vector< OutPortConnector * > & | connectors () |
| | Connector list. More...
|
| |
| ConnectorInfoList | getConnectorProfiles () |
| | ConnectorProfile list. More...
|
| |
| coil::vstring | getConnectorIds () |
| | ConnectorId list. More...
|
| |
| coil::vstring | getConnectorNames () |
| | Connector name list. More...
|
| |
| OutPortConnector * | getConnectorById (const char *id) |
| | Getting ConnectorProfile by ID. More...
|
| |
| OutPortConnector * | getConnectorByName (const char *name) |
| | Getting Connector by name. More...
|
| |
| bool | getConnectorProfileById (const char *id, ConnectorInfo &prof) |
| | Getting ConnectorProfile by name. More...
|
| |
| bool | getConnectorProfileByName (const char *name, ConnectorInfo &prof) |
| | Getting ConnectorProfile by name. More...
|
| |
| void | activateInterfaces () override |
| | Activate all Port interfaces. More...
|
| |
| void | deactivateInterfaces () override |
| | Deactivate all Port interfaces. More...
|
| |
| void | addConnectorDataListener (ConnectorDataListenerType type, ConnectorDataListener *listener, bool autoclean=true) |
| | Adding BufferDataListener type listener. More...
|
| |
| void | removeConnectorDataListener (ConnectorDataListenerType type, ConnectorDataListener *listener) |
| | Removing BufferDataListener type listener. More...
|
| |
| void | addConnectorListener (ConnectorListenerType type, ConnectorListener *listener, bool autoclean=true) |
| | Adding ConnectorListener type listener. More...
|
| |
| void | removeConnectorListener (ConnectorListenerType type, ConnectorListener *listener) |
| | Removing BufferDataListener type listener. More...
|
| |
| bool | isLittleEndian () |
| | return it whether endian setting. More...
|
| |
| ReturnCode_t | connect (ConnectorProfile &connector_profile) override |
| | [CORBA interface] Connect the Port More...
|
| |
| virtual ConnectorListenersBase * | getListeners () |
| | Getting listeners holder. More...
|
| |
| | PortBase (const char *name="") |
| | Constructor. More...
|
| |
| | ~PortBase () override |
| | Destructor. More...
|
| |
| PortProfile * | get_port_profile () override |
| | [CORBA interface] Get the PortProfile of the Port More...
|
| |
| const PortProfile & | getPortProfile () const |
| | Get the PortProfile of the Port. More...
|
| |
| ConnectorProfileList * | get_connector_profiles () override |
| | [CORBA interface] Get the ConnectorProfileList of the Port More...
|
| |
| ConnectorProfile * | get_connector_profile (const char *connector_id) override |
| | [CORBA interface] Get the ConnectorProfile More...
|
| |
| ReturnCode_t | connect (ConnectorProfile &connector_profile) override |
| | [CORBA interface] Connect the Port More...
|
| |
| ReturnCode_t | notify_connect (ConnectorProfile &connector_profile) override |
| | [CORBA interface] Notify the Ports connection More...
|
| |
| ReturnCode_t | disconnect (const char *connector_id) override |
| | [CORBA interface] Disconnect the Port More...
|
| |
| ReturnCode_t | notify_disconnect (const char *connector_id) override |
| | [CORBA interface] Notify the Ports disconnection More...
|
| |
| ReturnCode_t | disconnect_all () override |
| | [CORBA interface] Disconnect the All Ports More...
|
| |
| virtual void | activateInterfaces ()=0 |
| | Activate all Port interfaces. More...
|
| |
| virtual void | deactivateInterfaces ()=0 |
| | Deactivate all Port interfaces. More...
|
| |
| void | setName (const char *name) |
| | Set the name of this Port. More...
|
| |
| const char * | getName () const |
| | Get the name of this Port. More...
|
| |
| const PortProfile & | getProfile () const |
| | Get the PortProfile of the Port. More...
|
| |
| void | setPortRef (PortService_ptr port_ref) |
| | Set the object reference of this Port. More...
|
| |
| PortService_ptr | getPortRef () const |
| | Get the object reference of this Port. More...
|
| |
| void | setOwner (RTObject_ptr owner) |
| | Set the owner RTObject of the Port. More...
|
| |
| void | setOnPublishInterfaces (ConnectionCallback *on_publish) |
| | Setting callback called on publish interfaces. More...
|
| |
| void | setOnSubscribeInterfaces (ConnectionCallback *on_subscribe) |
| | Setting callback called on publish interfaces. More...
|
| |
| void | setOnConnected (ConnectionCallback *on_connected) |
| | Setting callback called on connection established. More...
|
| |
| void | setOnUnsubscribeInterfaces (ConnectionCallback *on_unsubscribe) |
| | Setting callback called on unsubscribe interfaces. More...
|
| |
| void | setOnDisconnected (ConnectionCallback *on_disconnected) |
| | Setting callback called on disconnected. More...
|
| |
| void | setOnConnectionLost (ConnectionCallback *on_connection_lost) |
| | Setting callback called on connection lost. More...
|
| |
| void | setPortConnectListenerHolder (PortConnectListeners *portconnListeners) |
| | Setting PortConnectListener holder. More...
|
| |
| virtual DirectPortBase * | getDirectPort () |
| |
|
| void | initConnectorListeners () override |
| |
| void | configure () |
| | Configureing outport. More...
|
| |
| ReturnCode_t | publishInterfaces (ConnectorProfile &cprof) override |
| | Publish interface information. More...
|
| |
| ReturnCode_t | subscribeInterfaces (const ConnectorProfile &cprof) override |
| | Subscribe to the interface. More...
|
| |
| void | unsubscribeInterfaces (const ConnectorProfile &connector_profile) override |
| | Disconnect the interface connection. More...
|
| |
| void | initProviders () |
| | OutPort provider initialization . More...
|
| |
| void | initConsumers () |
| | InPort consumer initialization . More...
|
| |
| bool | checkEndian (const coil::Properties &prop, bool &littleEndian) |
| | Checking endian flag of serializer. More...
|
| |
| OutPortProvider * | createProvider (ConnectorProfile &cprof, coil::Properties &prop) |
| | OutPort provider creation . More...
|
| |
| InPortConsumer * | createConsumer (const ConnectorProfile &cprof, coil::Properties &prop) |
| | InPort consumer creation . More...
|
| |
| OutPortConnector * | createConnector (const ConnectorProfile &cprof, coil::Properties &prop, InPortConsumer *consumer) |
| | OutPortPushConnector creation . More...
|
| |
| OutPortConnector * | createConnector (const ConnectorProfile &cprof, coil::Properties &prop, OutPortProvider *provider) |
| | OutPortPullConnector creation . More...
|
| |
| ReturnCode_t | notify_connect (ConnectorProfile &connector_profile) override |
| |
| InPortBase * | getLocalInPort (const ConnectorInfo &profile) |
| | Getting local peer InPort if available . More...
|
| |
| virtual void | initConnectorListeners () |
| |
| virtual ReturnCode_t | publishInterfaces (ConnectorProfile &connector_profile)=0 |
| | Publish interface information. More...
|
| |
| virtual ReturnCode_t | connectNext (ConnectorProfile &connector_profile) |
| | Call notify_connect() of the next Port. More...
|
| |
| virtual ReturnCode_t | disconnectNext (ConnectorProfile &cprof) |
| | Call notify_disconnect() of the next Port. More...
|
| |
| virtual ReturnCode_t | subscribeInterfaces (const ConnectorProfile &connector_profile)=0 |
| | Publish interface information. More...
|
| |
| virtual void | unsubscribeInterfaces (const ConnectorProfile &connector_profile)=0 |
| | Disconnect interface connection. More...
|
| |
| virtual void | setConnectionLimit (int limit_value) |
| | Set the maximum number of connections. More...
|
| |
| virtual ReturnCode_t | _publishInterfaces () |
| | Publish interface information. More...
|
| |
| bool | isExistingConnId (const char *id) |
| | Check whether the given id exists in stored ConnectorProfiles. More...
|
| |
| ConnectorProfile | findConnProfile (const char *id) |
| | Find ConnectorProfile with id. More...
|
| |
| CORBA::Long | findConnProfileIndex (const char *id) |
| | Find ConnectorProfile with id. More...
|
| |
| void | updateConnectorProfile (const ConnectorProfile &connector_profile) |
| | Append or update the ConnectorProfile list. More...
|
| |
| bool | eraseConnectorProfile (const char *id) |
| | Delete the ConnectorProfile. More...
|
| |
| bool | appendInterface (const char *instance_name, const char *type_name, PortInterfacePolarity pol) |
| | Append an interface to the PortInterfaceProfile. More...
|
| |
| bool | deleteInterface (const char *name, PortInterfacePolarity pol) |
| | Delete the interface registration from the PortInterfaceProfile. More...
|
| |
| template<class ValueType > |
| void | addProperty (const char *key, ValueType value) |
| | Add NameValue data to PortProfile's properties. More...
|
| |
| void | appendProperty (const char *key, const char *value) |
| | Append NameValue data to PortProfile's properties. More...
|
| |
| void | updateConnectors () |
| | Disconnect ports that doesn't exist. More...
|
| |
| bool | checkPorts (::RTC::PortServiceList &ports) |
| | Existence of ports. More...
|
| |
| void | onNotifyConnect (const char *portname, RTC::ConnectorProfile &profile) |
| |
| void | onNotifyDisconnect (const char *portname, RTC::ConnectorProfile &profile) |
| |
| void | onUnsubscribeInterfaces (const char *portname, RTC::ConnectorProfile &profile) |
| |
| void | onPublishInterfaces (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| void | onConnectNextport (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| void | onSubscribeInterfaces (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| void | onConnected (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| void | onDisconnectNextport (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| void | onDisconnected (const char *portname, RTC::ConnectorProfile &profile, ReturnCode_t ret) |
| |
| bool | isExistingMarshalingType (coil::Properties &con_prop) |
| | Whether the specified serializer can be used. More...
|
| |
template<class DataType>
class RTC::OutPort< DataType >
OutPort template class.
This is the OutPort template class. The data type "DateType" supported by OutPort and the buffer type "BufferType" are used as template arguments.
- Since
- 0.2.0