|
| enum | BufferStatus : uint8_t {
BufferStatus::OK = 0,
BufferStatus::BUFFER_ERROR,
BufferStatus::FULL,
BufferStatus::EMPTY,
BufferStatus::NOT_SUPPORTED,
BufferStatus::TIMEOUT,
BufferStatus::PRECONDITION_NOT_MET
} |
| | DataPortStatus return codes. More...
|
| |
| enum | PreComponentActionListenerType : uint8_t {
PreComponentActionListenerType::PRE_ON_INITIALIZE,
PreComponentActionListenerType::PRE_ON_FINALIZE,
PreComponentActionListenerType::PRE_ON_STARTUP,
PreComponentActionListenerType::PRE_ON_SHUTDOWN,
PreComponentActionListenerType::PRE_ON_ACTIVATED,
PreComponentActionListenerType::PRE_ON_DEACTIVATED,
PreComponentActionListenerType::PRE_ON_ABORTING,
PreComponentActionListenerType::PRE_ON_ERROR,
PreComponentActionListenerType::PRE_ON_RESET,
PreComponentActionListenerType::PRE_ON_EXECUTE,
PreComponentActionListenerType::PRE_ON_STATE_UPDATE,
PreComponentActionListenerType::PRE_ON_RATE_CHANGED,
PreComponentActionListenerType::PRE_COMPONENT_ACTION_LISTENER_NUM
} |
| | The types of ConnectorDataListener. More...
|
| |
| enum | PostComponentActionListenerType : uint8_t {
PostComponentActionListenerType::POST_ON_INITIALIZE,
PostComponentActionListenerType::POST_ON_FINALIZE,
PostComponentActionListenerType::POST_ON_STARTUP,
PostComponentActionListenerType::POST_ON_SHUTDOWN,
PostComponentActionListenerType::POST_ON_ACTIVATED,
PostComponentActionListenerType::POST_ON_DEACTIVATED,
PostComponentActionListenerType::POST_ON_ABORTING,
PostComponentActionListenerType::POST_ON_ERROR,
PostComponentActionListenerType::POST_ON_RESET,
PostComponentActionListenerType::POST_ON_EXECUTE,
PostComponentActionListenerType::POST_ON_STATE_UPDATE,
PostComponentActionListenerType::POST_ON_RATE_CHANGED,
PostComponentActionListenerType::POST_COMPONENT_ACTION_LISTENER_NUM
} |
| | The types of ConnectorDataListener. More...
|
| |
| enum | PortActionListenerType : uint8_t { PortActionListenerType::ADD_PORT,
PortActionListenerType::REMOVE_PORT,
PortActionListenerType::PORT_ACTION_LISTENER_NUM
} |
| | The types of PortActionListener. More...
|
| |
| enum | ExecutionContextActionListenerType : uint8_t { ExecutionContextActionListenerType::EC_ATTACHED,
ExecutionContextActionListenerType::EC_DETACHED,
ExecutionContextActionListenerType::EC_ACTION_LISTENER_NUM
} |
| | The types of ExecutionContextActionListener. More...
|
| |
| enum | ConfigurationParamListenerType : uint8_t { ConfigurationParamListenerType::ON_UPDATE_CONFIG_PARAM,
ConfigurationParamListenerType::CONFIG_PARAM_LISTENER_NUM
} |
| | The types of ConnectorDataListener. More...
|
| |
| enum | ConfigurationSetListenerType : uint8_t { ConfigurationSetListenerType::ON_SET_CONFIG_SET,
ConfigurationSetListenerType::ON_ADD_CONFIG_SET,
ConfigurationSetListenerType::CONFIG_SET_LISTENER_NUM
} |
| | The types of ConfigurationSetListener. More...
|
| |
| enum | ConfigurationSetNameListenerType : uint8_t { ConfigurationSetNameListenerType::ON_UPDATE_CONFIG_SET,
ConfigurationSetNameListenerType::ON_REMOVE_CONFIG_SET,
ConfigurationSetNameListenerType::ON_ACTIVATE_CONFIG_SET,
ConfigurationSetNameListenerType::CONFIG_SET_NAME_LISTENER_NUM
} |
| | The types of ConfigurationSetNameListener. More...
|
| |
| enum | ConnectorDataListenerType : uint8_t {
ConnectorDataListenerType::ON_BUFFER_WRITE = 0,
ConnectorDataListenerType::ON_BUFFER_FULL,
ConnectorDataListenerType::ON_BUFFER_WRITE_TIMEOUT,
ConnectorDataListenerType::ON_BUFFER_OVERWRITE,
ConnectorDataListenerType::ON_BUFFER_READ,
ConnectorDataListenerType::ON_SEND,
ConnectorDataListenerType::ON_RECEIVED,
ConnectorDataListenerType::ON_RECEIVER_FULL,
ConnectorDataListenerType::ON_RECEIVER_TIMEOUT,
ConnectorDataListenerType::ON_RECEIVER_ERROR,
ConnectorDataListenerType::CONNECTOR_DATA_LISTENER_NUM
} |
| | The types of ConnectorDataListener. More...
|
| |
| enum | ConnectorListenerType : uint8_t {
ConnectorListenerType::ON_BUFFER_EMPTY = 0,
ConnectorListenerType::ON_BUFFER_READ_TIMEOUT,
ConnectorListenerType::ON_SENDER_EMPTY,
ConnectorListenerType::ON_SENDER_TIMEOUT,
ConnectorListenerType::ON_SENDER_ERROR,
ConnectorListenerType::ON_CONNECT,
ConnectorListenerType::ON_DISCONNECT,
ConnectorListenerType::CONNECTOR_LISTENER_NUM
} |
| | The types of ConnectorListener. More...
|
| |
| enum | DataPortStatus : uint8_t {
DataPortStatus::PORT_OK = 0,
DataPortStatus::PORT_ERROR,
DataPortStatus::BUFFER_ERROR,
DataPortStatus::BUFFER_FULL,
DataPortStatus::BUFFER_EMPTY,
DataPortStatus::BUFFER_TIMEOUT,
DataPortStatus::SEND_FULL,
DataPortStatus::SEND_TIMEOUT,
DataPortStatus::RECV_EMPTY,
DataPortStatus::RECV_TIMEOUT,
DataPortStatus::INVALID_ARGS,
DataPortStatus::PRECONDITION_NOT_MET,
DataPortStatus::CONNECTION_LOST,
DataPortStatus::UNKNOWN_ERROR
} |
| | DataPortStatus return codes. More...
|
| |
| enum | PreFsmActionListenerType : uint8_t {
PreFsmActionListenerType::PRE_ON_INIT,
PreFsmActionListenerType::PRE_ON_ENTRY,
PreFsmActionListenerType::PRE_ON_DO,
PreFsmActionListenerType::PRE_ON_EXIT,
PreFsmActionListenerType::PRE_ON_STATE_CHANGE,
PreFsmActionListenerType::PRE_FSM_ACTION_LISTENER_NUM
} |
| | The types of PreFsmActionListener. More...
|
| |
| enum | PostFsmActionListenerType : uint8_t {
PostFsmActionListenerType::POST_ON_INIT,
PostFsmActionListenerType::POST_ON_ENTRY,
PostFsmActionListenerType::POST_ON_DO,
PostFsmActionListenerType::POST_ON_EXIT,
PostFsmActionListenerType::POST_ON_STATE_CHANGE,
PostFsmActionListenerType::POST_FSM_ACTION_LISTENER_NUM
} |
| | The types of PostFsmActionListener. More...
|
| |
| enum | FsmProfileListenerType : uint8_t {
FsmProfileListenerType::SET_FSM_PROFILE,
FsmProfileListenerType::GET_FSM_PROFILE,
FsmProfileListenerType::ADD_FSM_STATE,
FsmProfileListenerType::REMOVE_FSM_STATE,
FsmProfileListenerType::ADD_FSM_TRANSITION,
FsmProfileListenerType::REMOVE_FSM_TRANSITION,
FsmProfileListenerType::BIND_FSM_EVENT,
FsmProfileListenerType::UNBIND_FSM_EVENT,
FsmProfileListenerType::FSM_PROFILE_LISTENER_NUM
} |
| | The types of FsmProfileListener. More...
|
| |
| enum | FsmStructureListenerType : uint8_t { FsmStructureListenerType::SET_FSM_STRUCTURE,
FsmStructureListenerType::GET_FSM_STRUCTURE,
FsmStructureListenerType::FSM_STRUCTURE_LISTENER_NUM
} |
| | The types of FsmStructureListener. More...
|
| |
| enum | PortConnectListenerType : uint8_t { PortConnectListenerType::ON_NOTIFY_CONNECT,
PortConnectListenerType::ON_NOTIFY_DISCONNECT,
PortConnectListenerType::ON_UNSUBSCRIBE_INTERFACES,
PortConnectListenerType::PORT_CONNECT_LISTENER_NUM
} |
| | The types of ConnectorDataListener. More...
|
| |
| enum | PortConnectRetListenerType : uint8_t {
PortConnectRetListenerType::ON_PUBLISH_INTERFACES,
PortConnectRetListenerType::ON_CONNECT_NEXTPORT,
PortConnectRetListenerType::ON_SUBSCRIBE_INTERFACES,
PortConnectRetListenerType::ON_CONNECTED,
PortConnectRetListenerType::ON_DISCONNECT_NEXT,
PortConnectRetListenerType::ON_DISCONNECTED,
PortConnectRetListenerType::PORT_CONNECT_RET_LISTENER_NUM
} |
| | The types of PortConnectRetListenerType. More...
|
| |
RT-Component.
Default configuration for Manager.
Default configuration for Manager class
- Since
- 0.4.0
DataPortStatus return codes.
Common return codes for data ports related classes.
- PORT_OK: Normal return
- PORT_ERROR: Error return
- BUFFER_ERROR: Buffer error
- BUFFER_FULL: Buffer full
- BUFFER_EMPTY: Buffer empty
- BUFFER_TIMEOUT: Buffer timeout
- SEND_FULL: Buffer full although OutPort tried to send data
- SEND_TIMEOUT: Timeout although OutPort tried to send data
- RECV_EMPTY: Buffer empty although InPort tried to receive data
- RECV_TIMEOUT: Timeout although InPort tried to receive data
- INVALID_ARGS: Invalid arguments
- PRECONDITION_NOT_MET: Precondition not met
- CONNECTION_LOST: Connection has been lost
- UNKNOWN_ERROR: Unknown error
This error codes might be used to propagate error status from the error occurring point to the function caller in the data stream path. It would occur in data-transfer path and data receiver/sender. The errors that occur in the interface of each portion of data port are shown below.
(1) Push Type a) The return codes between InPortConsumer and Publisher/Activity PORT_OK, PORT_ERROR, SEND_FULL, SEND_TIMEOUT, CONNECTION_LOST, UNKNOWN_ERROR b) The return codes between Activity and Buffer/Connector of OutPort PORT_OK, PORT_ERROR, BUFFER_ERROR, BUFFER_FULL, BUFFER_TIMEOUT, UNKNOWN_ERROR,
(2) Pull Type a) The return codes between Activity and InPort PORT_OK, PORT_ERROR, RECV_EMPTY, RECV_TIMEOUT, CONNETION_LOST, UNKNOWN_ERROR
See function references for detailed return codes for each function.
| Enumerator |
|---|
| PORT_OK | |
| PORT_ERROR | |
| BUFFER_ERROR | |
| BUFFER_FULL | |
| BUFFER_EMPTY | |
| BUFFER_TIMEOUT | |
| SEND_FULL | |
| SEND_TIMEOUT | |
| RECV_EMPTY | |
| RECV_TIMEOUT | |
| INVALID_ARGS | |
| PRECONDITION_NOT_MET | |
| CONNECTION_LOST | |
| UNKNOWN_ERROR | |