L4Re - L4 Runtime Environment
|
Helper class to implement p_dispatch based server objects. More...
Public Member Functions | |
int | dispatch (l4_umword_t r, L4::Ipc::Iostream &ios) |
Implementation forwarding to p_dispatch(). | |
![]() | |
BASE::Demand | get_buffer_demand () const |
int | dispatch_meta_request (L4::Ipc::Iostream &ios) |
Implementation of the meta protocol based on IFACE. More... | |
Additional Inherited Members | |
![]() | |
typedef IFACE | Interface |
Data type of the IPC interface definition. | |
![]() | |
template<typename THIS > | |
static int | proto_dispatch (THIS *self, l4_umword_t rights, L4::Ipc::Iostream &ios) |
Implementation of protocol-based dispatch for this server object. More... | |
Helper class to implement p_dispatch based server objects.
Derived | The data type of your server object class. |
IFACE | The data type providing the interface definition for the object. |
BASE | Optional data-type of the base server object (usually L4::Server_object) |
This class implements the standard dispatch() function of L4::Server_object and forwards incoming messages to a set of overloaded p_dispatch() functions. There must be a p_dispatch() function in Derived for each interface provided by IFACE with the signature
that is called for messages with protocol == Iface::Protocol.
Example signature for L4Re::Dataspace is:
Definition at line 154 of file ipc_server.