Robot Raconteur Core C++ Library
|
Go to the source code of this file.
Macros | |
#define | RR_TIMEOUT_INFINITE (-1) |
Disable timeout for asynchronous operations. More... | |
#define | RR_VALUE_LIFESPAN_INFINITE (-1) |
Set wire values to have infinite lifespan and will not expire. More... | |
Variables | |
const uint8_t | RobotRaconteur::MessageFlags_ROUTING_INFO = 0x01 |
Message contains ROUTING_INFO section. | |
const uint8_t | RobotRaconteur::MessageFlags_ENDPOINT_INFO = 0x02 |
Message contains ENDPOINT_INFO section. | |
const uint8_t | RobotRaconteur::MessageFlags_PRIORITY = 0x04 |
Message contains PRIORITY section. | |
const uint8_t | RobotRaconteur::MessageFlags_UNRELIABLE = 0x08 |
Message is unreliable and may be dropped. | |
const uint8_t | RobotRaconteur::MessageFlags_META_INFO = 0x10 |
Message contains META_INFO section. | |
const uint8_t | RobotRaconteur::MessageFlags_STRING_TABLE = 0x20 |
Message contains STRING_TABLE section. | |
const uint8_t | RobotRaconteur::MessageFlags_MULTIPLE_ENTRIES = 0x40 |
Message contains MULTIPLE_ENTRIES section. If unset, message contains one entry. | |
const uint8_t | RobotRaconteur::MessageFlags_EXTENDED = 0x80 |
Message contains EXTENDED section. | |
const uint8_t | RobotRaconteur::MessageFlags_Version2Compat |
Message flags for compatibility with Message Format Version 2. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_SERVICE_PATH_STR = 0x01 |
MessageEntry contains SERVICE_PATH_STR section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_SERVICE_PATH_CODE = 0x02 |
MessageEntry contains SERVICE_PATH_CODE section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_MEMBER_NAME_STR = 0x04 |
MessageEntry contains MEMBER_NAME_STR section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_MEMBER_NAME_CODE = 0x08 |
MessageEntry contains MEMBER_NAME_CODE section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_REQUEST_ID = 0x10 |
MessageEntry contains REQUEST_ID section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_ERROR = 0x20 |
MessageEntry contains ERROR section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_META_INFO = 0x40 |
MessageEntry contains META_INFO section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_EXTENDED = 0x80 |
MessageEntry contains EXTENDED section. | |
const uint8_t | RobotRaconteur::MessageEntryFlags_Version2Compat |
MessageEntry flags for compatibility with Message Format Version 2. | |
const uint8_t | RobotRaconteur::MessageElementFlags_ELEMENT_NAME_STR = 0x01 |
MessageElement contains ELEMENT_NAME_STR section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_ELEMENT_NAME_CODE = 0x02 |
MessageElement contains ELEMENT_NAME_CODE section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_ELEMENT_NUMBER = 0x04 |
MessageElement contains ELEMENT_NUMBER section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_ELEMENT_TYPE_NAME_STR = 0x08 |
MessageElement contains ELEMENT_TYPE_NAME_STR section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_ELEMENT_TYPE_NAME_CODE = 0x10 |
MessageElement contains ELEMENT_TYPE_NAME_CODE section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_META_INFO = 0x20 |
MessageElement contains META_INFO section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_EXTENDED = 0x80 |
MessageElement contains EXTENDED section. | |
const uint8_t | RobotRaconteur::MessageElementFlags_Version2Compat |
MessageElement flags for compatibility with Message Format Version 2. | |
const uint32_t | RobotRaconteur::TranspartCapabilityCode_PAGE_MASK = 0xFFF00000 |
Page mask for transport capability code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE2_BASIC_PAGE = 0x02000000 |
Message Version 2 transport capability page code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE2_BASIC_ENABLE = 0x00000001 |
Enable Message Version 2 transport capability flag. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE2_BASIC_CONNECTCOMBINED = 0x00000002 |
Enable Message Version 2 connect combined transport capability flag. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_BASIC_PAGE = 0x04000000 |
Message Version 4 transport capability page code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_BASIC_ENABLE = 0x00000001 |
Enable Message Version 4 transport capability flag. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_BASIC_CONNECTCOMBINED = 0x00000002 |
Enable Message Version 4 connect combine transport capability flag. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_STRINGTABLE_PAGE = 0x04100000 |
Message Version 4 String Table capability page code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_STRINGTABLE_ENABLE = 0x00000001 |
Enable Message Version 4 String Table transport capability code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_STRINGTABLE_MESSAGE_LOCAL = 0x00000002 |
Enable Message Version 4 local String Table capability code. | |
const uint32_t | RobotRaconteur::TransportCapabilityCode_MESSAGE4_STRINGTABLE_STANDARD_TABLE = 0x00000004 |
Enable Message Version 4 standard String Table capability code. | |
#define RR_TIMEOUT_INFINITE (-1) |
Disable timeout for asynchronous operations.
Pass RR_TIMEOUT_INFINITE
for the timeout
parameter in asynchronous operations to disable timeout for that operation.
#define RR_VALUE_LIFESPAN_INFINITE (-1) |
Set wire values to have infinite lifespan and will not expire.
Wire values may optionally expire after a given period in milliseconds. Set RR_TIMEOUT_INFINITE
to disable value expiration.
Enum of client listener events.
Type codes for types supported by Robot Raconteur.
Data type codes are used in messages and service definition parsers.
Data is always stored as little-endian, except for UUID which are big endian
Container type enum for TypeDefinition parser class.
Member locking options enum.
Use member modifiers to declare lock options
Message entry type codes.
Message entries are sent between nodes stored in messages, and represent requests, responses, or packets. The type of the entry is specified through the message entry type code. These type codes are similar to op-codes. This enum contains the defined entry type codes.
Odd codes represent requests or packets, even codes represent responses.
Entry types less than 500 are considered "special requests" that can be used before a session is established.
Enumerator | |
---|---|
MessageEntryType_Null | no-op |
MessageEntryType_StreamOp | Stream operation request (transport only) |
MessageEntryType_StreamOpRet | Stream operation response (transport only) |
MessageEntryType_StreamCheckCapability | Stream check capability request (transport only) |
MessageEntryType_StreamCheckCapabilityRet | Stream check capability response (transport only) |
MessageEntryType_GetServiceDesc | Get service definition request. |
MessageEntryType_GetServiceDescRet | Get service definition response. |
MessageEntryType_ObjectTypeName | Get object qualified type name request. |
MessageEntryType_ObjectTypeNameRet | Get object qualified type name response. |
MessageEntryType_ServiceClosed | Service closed notification packet. |
MessageEntryType_ServiceClosedRet | (reserved) |
MessageEntryType_ConnectClient | Connect client request. |
MessageEntryType_ConnectClientRet | Connect client response. |
MessageEntryType_DisconnectClient | Disconnect client request. |
MessageEntryType_DisconnectClientRet | Disconnect client response. |
MessageEntryType_ConnectionTest | Ping request. |
MessageEntryType_ConnectionTestRet | Pong response. |
MessageEntryType_GetNodeInfo | Get node information request (NodeID and NodeName) |
MessageEntryType_GetNodeInfoRet | Get node information response. |
MessageEntryType_ReconnectClient | (reserved) |
MessageEntryType_ReconnectClientRet | (reserved) |
MessageEntryType_NodeCheckCapability | Get node capability request. |
MessageEntryType_NodeCheckCapabilityRet | Get node capability response. |
MessageEntryType_GetServiceAttributes | Get service attributes request. |
MessageEntryType_GetServiceAttributesRet | Get service attributes response. |
MessageEntryType_ConnectClientCombined | Connect client combined operation request. |
MessageEntryType_ConnectClientCombinedRet | Connect client combined operation response. |
MessageEntryType_EndpointCheckCapability | Get endpoint capability request. |
MessageEntryType_EndpointCheckCapabilityRet | Get endpoint capabalitiy response. |
MessageEntryType_ServiceCheckCapabilityReq | Get service capability request. |
MessageEntryType_ServiceCheckCapabilityRet | Get service capability response. |
MessageEntryType_ClientKeepAliveReq | Client keep alive request. |
MessageEntryType_ClientKeepAliveRet | Client keep alive response. |
MessageEntryType_ClientSessionOpReq | Client session management operation request. |
MessageEntryType_ClientSessionOpRet | Client session management operation response. |
MessageEntryType_ServicePathReleasedReq | Service path released event notification packet. |
MessageEntryType_ServicePathReleasedRet | (reserved) |
MessageEntryType_PropertyGetReq | Property member get request. |
MessageEntryType_PropertyGetRes | Property member get response. |
MessageEntryType_PropertySetReq | Property member set request. |
MessageEntryType_PropertySetRes | Property member set response. |
MessageEntryType_FunctionCallReq | Function member call request. |
MessageEntryType_FunctionCallRes | Function member call response. |
MessageEntryType_GeneratorNextReq | Generater next call request. |
MessageEntryType_GeneratorNextRes | Generater next call response. |
MessageEntryType_EventReq | Event member notification. |
MessageEntryType_EventRes | (reserved) |
MessageEntryType_PipePacket | Pipe member packet. |
MessageEntryType_PipePacketRet | Pipe member packet ack. |
MessageEntryType_PipeConnectReq | Pipe member connect request. |
MessageEntryType_PipeConnectRet | Pipe member connect response. |
MessageEntryType_PipeDisconnectReq | Pipe member close request. |
MessageEntryType_PipeDisconnectRet | Pipe member close response. |
MessageEntryType_PipeClosed | Pipe member closed event notification packet. |
MessageEntryType_PipeClosedRet | (reserved) |
MessageEntryType_CallbackCallReq | Callback member call request. |
MessageEntryType_CallbackCallRet | Callback member call response. |
MessageEntryType_WirePacket | Wire member value packet. |
MessageEntryType_WirePacketRet | (reserved) |
MessageEntryType_WireConnectReq | Wire member connect request. |
MessageEntryType_WireConnectRet | Wire member connect response. |
MessageEntryType_WireDisconnectReq | Wire member close request. |
MessageEntryType_WireDisconnectRet | Wire member close response. |
MessageEntryType_WireClosed | Wire member closed event notification packet. |
MessageEntryType_WireClosedRet | (reserved) |
MessageEntryType_MemoryRead | Memory member read request. |
MessageEntryType_MemoryReadRet | Memory member read response. |
MessageEntryType_MemoryWrite | Memory member write request. |
MessageEntryType_MemoryWriteRet | Memory member write response. |
MessageEntryType_MemoryGetParam | Memory member get param request. |
MessageEntryType_MemoryGetParamRet | Memory member get param response. |
MessageEntryType_WirePeekInValueReq | Wire member peek InValue request. |
MessageEntryType_WirePeekInValueRet | Wire member peek InValue response. |
MessageEntryType_WirePeekOutValueReq | Wire member peek OutValue request. |
MessageEntryType_WirePeekOutValueRet | Wire member peek OutValue response. |
MessageEntryType_WirePokeOutValueReq | Wire member poke OutValue request. |
MessageEntryType_WirePokeOutValueRet | Wire member poke OutValue response. |
Message error type codes enum.
Log component enum.
Log records contain the code of the component where the log record was generated
Log level enum.
Enum of possible log levels. Set log level using RobotRaconteurNode::SetLogLevel(), ROBOTRACONTEUR_LOG_LEVEL
environmental variable, or --robotraconteur-log-level
node setup command line option.