|
using | SelfType = BaseServer< PortT, TriggerHandleT > |
|
using | PortType = PortT |
|
| BaseServer (const capro::ServiceDescription &service, const ServerOptions &serverOptions) noexcept |
|
void | invalidateTrigger (const uint64_t uniqueTriggerId) noexcept |
| Only usable by the WaitSet/Listener, not for public use. Invalidates the internal triggerHandle. More...
|
|
void | enableState (TriggerHandleT &&triggerHandle, const ServerState serverState) noexcept |
| Only usable by the WaitSet/Listener, not for public use. Attaches the triggerHandle to the internal trigger. More...
|
|
WaitSetIsConditionSatisfiedCallback | getCallbackForIsStateConditionSatisfied (const ServerState serverState) const noexcept |
| Only usable by the WaitSet/Listener, not for public use. Returns method pointer to the event corresponding hasTriggered method callback. More...
|
|
void | disableState (const ServerState serverState) noexcept |
| Only usable by the WaitSet/Listener, not for public use. Resets the internal triggerHandle. More...
|
|
void | enableEvent (TriggerHandleT &&triggerHandle, const ServerEvent serverEvent) noexcept |
| Only usable by the WaitSet/Listener, not for public use. Attaches the triggerHandle to the internal trigger. More...
|
|
void | disableEvent (const ServerEvent serverEvent) noexcept |
| Only usable by the WaitSet/Listener, not for public use. Resets the internal triggerHandle. More...
|
|
const PortT & | port () const noexcept |
| port More...
|
|
PortT & | port () noexcept |
| port More...
|
|
PortT | m_port |
|
TriggerHandleT | m_trigger |
|
template<typename Req, typename Res, typename BaseServerT = BaseServer<>>
class iox::popo::ServerImpl< Req, Res, BaseServerT >
The ServerImpl class implements the typed server API.
- Note
- Not intended for public usage! Use the
Server
instead!
template<typename Req , typename Res , typename BaseServerT = BaseServer<>>
template<typename... Args>
Get a Response from loaned shared memory and construct the data with the given arguments.
- Parameters
-
[in] | request | The request to which the Response belongs to, to determine where to send the response |
[in] | args | Arguments used to construct the data. |
- Returns
- An instance of the Response that resides in shared memory or an error if unable to allocate memory to loan.
The loaned Response is automatically released when it goes out of scope.