/workspaces/astro/sol3-sdk/cpp/sol3/core/message_port.h Source File
|
Space-ng SDK
|
message_port.h
Go to the documentation of this file.
Definition: message_port.h:19
sol3::core::msg::InterfaceType interfaceType() const
Interface type encoded in bits [15:12].
Definition: message_port.h:45
uint16_t componentId() const
12-bit component identifier extracted from the port value.
Definition: message_port.h:42
uint32_t encoded() const
Packed 32-bit port value.
Definition: message_port.h:56
MessagePort(uint32_t encoded, uint32_t payload_type)
Construct from encoded value.
Definition: message_port.h:25
MessagePort()=default
Default-constructed port with zero value and payload type.
uint16_t interfaceId() const
12-bit interface/index extracted from the port value.
Definition: message_port.h:50
MessagePort(uint32_t component_id, msg::InterfaceType interface_type, uint32_t interface_id, uint32_t payload_type)
Definition: message_port.h:32
uint32_t payloadType() const
32-bit FlatBuffers file identifier of the payload type for this port.
Definition: message_port.h:53
Definition: any_message_input.h:15
Generated by