L4Re Operating System Framework
Interface and Usage Documentation
|
Pointer to an element of type T in an Ipc::Istream. More...
#include <ipc_stream>
Public Member Functions | |
Msg_ptr (T *&p) | |
Create a Msg_ptr object that set pointer p to point into the message buffer. | |
Pointer to an element of type T in an Ipc::Istream.
This wrapper can be used to extract an element of type T from an Ipc::Istream, whereas the data is not copied out, but a pointer into the message buffer itself is returned. With is mechanism it is possible to avoid an extra copy of large data structures from a received IPC message, instead the returned pointer gives direct access to the data in the message.
See msg_ptr().
Definition at line 240 of file ipc_stream.
|
inlineexplicit |
Create a Msg_ptr object that set pointer p to point into the message buffer.
p | The pointer that is adjusted to point into the message buffer. |
Definition at line 251 of file ipc_stream.