|
enum class | BufferStatus : uint8_t {
OK = 0
, BUFFER_ERROR
, FULL
, EMPTY
,
NOT_SUPPORTED
, TIMEOUT
, PRECONDITION_NOT_MET
} |
| DataPortStatus return codes. More...
|
|
enum class | PreComponentActionListenerType : uint8_t {
PRE_ON_INITIALIZE
, PRE_ON_FINALIZE
, PRE_ON_STARTUP
, PRE_ON_SHUTDOWN
,
PRE_ON_ACTIVATED
, PRE_ON_DEACTIVATED
, PRE_ON_ABORTING
, PRE_ON_ERROR
,
PRE_ON_RESET
, PRE_ON_EXECUTE
, PRE_ON_STATE_UPDATE
, PRE_ON_RATE_CHANGED
,
PRE_COMPONENT_ACTION_LISTENER_NUM
} |
| The types of ConnectorDataListener. More...
|
|
enum class | PostComponentActionListenerType : uint8_t {
POST_ON_INITIALIZE
, POST_ON_FINALIZE
, POST_ON_STARTUP
, POST_ON_SHUTDOWN
,
POST_ON_ACTIVATED
, POST_ON_DEACTIVATED
, POST_ON_ABORTING
, POST_ON_ERROR
,
POST_ON_RESET
, POST_ON_EXECUTE
, POST_ON_STATE_UPDATE
, POST_ON_RATE_CHANGED
,
POST_COMPONENT_ACTION_LISTENER_NUM
} |
| The types of ConnectorDataListener. More...
|
|
enum class | PortActionListenerType : uint8_t { ADD_PORT
, REMOVE_PORT
, PORT_ACTION_LISTENER_NUM
} |
| The types of PortActionListener. More...
|
|
enum class | ExecutionContextActionListenerType : uint8_t { EC_ATTACHED
, EC_DETACHED
, EC_ACTION_LISTENER_NUM
} |
| The types of ExecutionContextActionListener. More...
|
|
enum class | ConfigurationParamListenerType : uint8_t { ON_UPDATE_CONFIG_PARAM
, CONFIG_PARAM_LISTENER_NUM
} |
| The types of ConnectorDataListener. More...
|
|
enum class | ConfigurationSetListenerType : uint8_t { ON_SET_CONFIG_SET
, ON_ADD_CONFIG_SET
, CONFIG_SET_LISTENER_NUM
} |
| The types of ConfigurationSetListener. More...
|
|
enum class | ConfigurationSetNameListenerType : uint8_t { ON_UPDATE_CONFIG_SET
, ON_REMOVE_CONFIG_SET
, ON_ACTIVATE_CONFIG_SET
, CONFIG_SET_NAME_LISTENER_NUM
} |
| The types of ConfigurationSetNameListener. More...
|
|
enum class | ConnectorDataListenerType : uint8_t {
ON_BUFFER_WRITE = 0
, ON_BUFFER_FULL
, ON_BUFFER_WRITE_TIMEOUT
, ON_BUFFER_OVERWRITE
,
ON_BUFFER_READ
, ON_SEND
, ON_RECEIVED
, ON_RECEIVER_FULL
,
ON_RECEIVER_TIMEOUT
, ON_RECEIVER_ERROR
, CONNECTOR_DATA_LISTENER_NUM
} |
| The types of ConnectorDataListener. More...
|
|
enum class | ConnectorListenerType : uint8_t {
ON_BUFFER_EMPTY = 0
, ON_BUFFER_READ_TIMEOUT
, ON_SENDER_EMPTY
, ON_SENDER_TIMEOUT
,
ON_SENDER_ERROR
, ON_CONNECT
, ON_DISCONNECT
, CONNECTOR_LISTENER_NUM
} |
| The types of ConnectorListener. More...
|
|
enum class | DataPortStatus : uint8_t {
PORT_OK = 0
, 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
} |
| DataPortStatus return codes. More...
|
|
enum class | PreFsmActionListenerType : uint8_t {
PRE_ON_INIT
, PRE_ON_ENTRY
, PRE_ON_DO
, PRE_ON_EXIT
,
PRE_ON_STATE_CHANGE
, PRE_FSM_ACTION_LISTENER_NUM
} |
| The types of PreFsmActionListener. More...
|
|
enum class | PostFsmActionListenerType : uint8_t {
POST_ON_INIT
, POST_ON_ENTRY
, POST_ON_DO
, POST_ON_EXIT
,
POST_ON_STATE_CHANGE
, POST_FSM_ACTION_LISTENER_NUM
} |
| The types of PostFsmActionListener. More...
|
|
enum class | FsmProfileListenerType : uint8_t {
SET_FSM_PROFILE
, GET_FSM_PROFILE
, ADD_FSM_STATE
, REMOVE_FSM_STATE
,
ADD_FSM_TRANSITION
, REMOVE_FSM_TRANSITION
, BIND_FSM_EVENT
, UNBIND_FSM_EVENT
,
FSM_PROFILE_LISTENER_NUM
} |
| The types of FsmProfileListener. More...
|
|
enum class | FsmStructureListenerType : uint8_t { SET_FSM_STRUCTURE
, GET_FSM_STRUCTURE
, FSM_STRUCTURE_LISTENER_NUM
} |
| The types of FsmStructureListener. More...
|
|
enum class | PortConnectListenerType : uint8_t { ON_NOTIFY_CONNECT
, ON_NOTIFY_DISCONNECT
, ON_UNSUBSCRIBE_INTERFACES
, PORT_CONNECT_LISTENER_NUM
} |
| The types of ConnectorDataListener. More...
|
|
enum class | PortConnectRetListenerType : uint8_t {
ON_PUBLISH_INTERFACES
, ON_CONNECT_NEXTPORT
, ON_SUBSCRIBE_INTERFACES
, ON_CONNECTED
,
ON_DISCONNECT_NEXT
, ON_DISCONNECTED
, 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 | |