The Response class is a mutable abstraction over types which are written to loaned shared memory. These responses are sent to the client via the iceoryx system.
More...
#include <iceoryx_posh/popo/response.hpp>
|
template<typename S = T, typename = ForServerOnly<S, T>> |
cxx::expected< ServerSendError > | send () noexcept |
| Sends the response via the server from which it was loaned and automatically release ownership to it. More...
|
|
cxx::add_const_conditionally_t< ResponseHeader, T > & | getResponseHeader () noexcept |
| Retrieve the response-header of the underlying memory chunk loaned to the sample. More...
|
|
const ResponseHeader & | getResponseHeader () const noexcept |
| Retrieve the response-header of the underlying memory chunk loaned to the sample. More...
|
|
|
template<typename , typename , typename > |
class | ClientImpl |
|
template<typename , typename , typename > |
class | ServerImpl |
|
template<typename T>
class iox::popo::Response< T >
The Response class is a mutable abstraction over types which are written to loaned shared memory. These responses are sent to the client via the iceoryx system.
◆ getResponseHeader() [1/2]
Retrieve the response-header of the underlying memory chunk loaned to the sample.
- Returns
- The response-header of the underlying memory chunk.
◆ getResponseHeader() [2/2]
Retrieve the response-header of the underlying memory chunk loaned to the sample.
- Returns
- The response-header of the underlying memory chunk.
◆ send()
template<typename T >
template<typename S = T, typename = ForServerOnly<S, T>>
Sends the response via the server from which it was loaned and automatically release ownership to it.
Only available for server (non-const type T)
The documentation for this class was generated from the following file: