◆ IpcRuntimeInterface()
iox::runtime::IpcRuntimeInterface::IpcRuntimeInterface |
( |
const RuntimeName_t & |
roudiName, |
|
|
const RuntimeName_t & |
runtimeName, |
|
|
const units::Duration |
roudiWaitingTimeout |
|
) |
| |
|
noexcept |
Runtime Interface for the own IPC channel and the one to the RouDi daemon.
- Parameters
-
[in] | roudiName | name of the RouDi IPC channel |
[in] | runtimeName | name of the application's runtime and its IPC channel |
[in] | roudiWaitingTimeout | timeout for searching the RouDi IPC channel |
◆ getSegmentId()
uint64_t iox::runtime::IpcRuntimeInterface::getSegmentId |
( |
| ) |
const |
|
noexcept |
get the segment id of the shared memory object
- Returns
- segment id
◆ getSegmentManagerAddressOffset()
rp::BaseRelativePointer::offset_t iox::runtime::IpcRuntimeInterface::getSegmentManagerAddressOffset |
( |
| ) |
const |
|
noexcept |
get the adress offset of the segment manager
- Returns
- address offset as rp::BaseRelativePointer::offset_t
◆ getShmTopicSize()
size_t iox::runtime::IpcRuntimeInterface::getShmTopicSize |
( |
| ) |
|
|
noexcept |
get the size of the management shared memory object
- Returns
- size in bytes
◆ sendKeepalive()
bool iox::runtime::IpcRuntimeInterface::sendKeepalive |
( |
| ) |
|
|
noexcept |
sends the keep alive trigger to the RouDi daemon
- Returns
- true if sending was successful, false if not
◆ sendRequestToRouDi()
bool iox::runtime::IpcRuntimeInterface::sendRequestToRouDi |
( |
const IpcMessage & |
msg, |
|
|
IpcMessage & |
answer |
|
) |
| |
|
noexcept |
send a request to the RouDi daemon
- Parameters
-
[in] | msg | request to RouDi |
[out] | answer | response from RouDi |
- Returns
- true if communication was successful, false if not
The documentation for this class was generated from the following file: