L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
L4::Ipc::Msg::Clnt_val_ops< MTYPE > Struct Template Reference

Defines client-side handling of 'MTYPE' as RPC argument. More...

#include <ipc_basics>

Inheritance diagram for L4::Ipc::Msg::Clnt_val_ops< MTYPE >:
Collaboration diagram for L4::Ipc::Msg::Clnt_val_ops< MTYPE >:

Static Public Member Functions

static int to_msg_data (char *msg, unsigned offset, unsigned limit, MTYPE const &arg) noexcept
 Copy a T into the message (arg must be either MTYPE or MTYPE const &).
static int from_msg_data (char *msg, unsigned offset, unsigned limit, MTYPE &arg) noexcept
 Copy data from the message to a T client reference (arg must be MTYPE &).
Static Public Member Functions inherited from L4::Ipc::Msg::Clnt_noops< MTYPE >
static constexpr int to_msg_data (char *msg, unsigned offset, unsigned limit, MTYPE const &arg) noexcept
 Write IPC data of arg into UTCB.
static constexpr int to_msg_items (char *msg, unsigned offset, unsigned limit, MTYPE const &arg) noexcept
 Write IPC send items of arg into UTCB.
static constexpr int to_msg_buffers (char *brs, unsigned offset, unsigned limit, MTYPE const &arg) noexcept
 Setup receive buffers for object capabilities in UTCB.
static constexpr int from_msg_data (char *msg, unsigned offset, unsigned limit, MTYPE &arg) noexcept
 Read IPC data for arg from UTCB.
static constexpr int from_msg_items (char *msg, unsigned offset, unsigned limit, MTYPE &arg) noexcept
 Read IPC return items for arg from UTCB.

Detailed Description

template<typename MTYPE>
struct L4::Ipc::Msg::Clnt_val_ops< MTYPE >

Defines client-side handling of 'MTYPE' as RPC argument.

This provides the default implementation for trivially copyable data types. Other types override the marshalling operations by partially specializing Clnt_val_ops.

The template is always instantiated with the Detail::_Plain<typename Elem<ARG>::arg_type>::type of the IPC method signature.

Template Parameters
MTYPEElem<T>::arg_type (where T is the type used in the RPC definition)

Definition at line 408 of file ipc_basics.


The documentation for this struct was generated from the following file: