mcx::comm
mcx::comm
Classes
Types
Functions
Attributes
Types Documentation
enum ConnectionDir
Enumerator |
Value |
Description |
BIND_TO_LOCAL |
|
|
CONNECT_TO_REMOTE |
|
|
enum ProtocolType
Enumerator |
Value |
Description |
SINGLE_TIMESTAMP |
|
|
MULTI_TIMESTAMP |
|
|
enum RequestFlags
Enumerator |
Value |
Description |
USER_HAS_CONTROL |
1 |
|
enum ReplyState
Enumerator |
Value |
Description |
EMPTY |
0 |
|
PROCESSING |
|
|
READY |
|
|
ERROR |
|
|
TIMEOUT |
|
|
typedef ParameterMap
typedef std::vector<ParameterContainer> mcx::comm::ParameterMap;
typedef GroupMap
typedef std::map<std::string, GroupContainer> mcx::comm::GroupMap;
using RPCProcessorMap
using mcx::comm::RPCProcessorMap = typedef std::map<uint32_t, RPCProcessor*>;
typedef MsgHashSet
typedef std::set<uint32_t> mcx::comm::MsgHashSet;
Functions Documentation
function generate_url
inline std::string generate_url(
const ConnectionData & data,
const std::string & port
)
function initParamTreeHook
bool initParamTreeHook(
pb_ostream_s * stream,
const pb_field_t * field,
void *const * arg
)
function allocateMsgMem
ReplyMsg allocateMsgMem(
size_t size
)
function duplicateMsgMem
ReplyMsg duplicateMsgMem(
ReplyMsg msg
)
function reallocateMsgMem
ReplyMsg reallocateMsgMem(
ReplyMsg msg,
size_t size
)
function deallocateMsgMem
void deallocateMsgMem(
ReplyMsg msg_mem
)
function sockAddrToStr
std::string sockAddrToStr(
const nng_sockaddr & sock_addr
)
Attributes Documentation
variable MAX_PARAM_NUMBER_IN_GROUP
constexpr auto MAX_PARAM_NUMBER_IN_GROUP = 512;
variable TIMESTAMP_SIZE
constexpr auto TIMESTAMP_SIZE = sizeof(utils::Timespec64);
constexpr auto GP_ID_HEADER_SIZE_BYTES = 4;
variable MODULE_TYPE
static constexpr char MODULE_TYPE = ".type";
Updated on 2022-04-05 at 16:21:26 +0200