|
L4Re - L4 Runtime Environment
|
Helper class to create an L4Re interface class that is derived from two base classes (see L4::Kobject_t).
More...
#include <l4/sys/capability>
Inheritance diagram for L4::Kobject_2t< Derived, Base1, Base2, PROTO, S_DEMAND >:
Collaboration diagram for L4::Kobject_2t< Derived, Base1, Base2, PROTO, S_DEMAND >:Protected Types | |
| typedef Derived | Class |
| The target interface type (inheriting from Kobject_t) More... | |
| typedef Typeid::Iface< PROTO, Derived > | __Iface |
| The interface description for the derived class. More... | |
| typedef Typeid::Merge_list< Typeid::Iface_list< __Iface >, Typeid::Merge_list< typename Base1::__Iface_list, typename Base2::__Iface_list > > | __Iface_list |
| The list of all RPC interfaces provided directly or through inheritance. More... | |
Protected Member Functions | |
| L4::Cap< Class > | c () const |
| Get the capability to ourselves. More... | |
Static Protected Member Functions | |
| static void | __check_protocols__ () |
Helper class to create an L4Re interface class that is derived from two base classes (see L4::Kobject_t).
| Derived | is the name of the new interface. |
| Base1 | is the name of the interface's first base class. |
| Base2 | is the name of the interface's second base class. |
| PROTO | may be set to the statically assigned protocol number used to communicate with this interface. |
| S_DEMAND | type defining the demand of server-side resources for this interface, usually a L4::Type_info::Demand_t. This value must describe the server-side resources needed by the interface itself, the resource demand of the base interfaces (Base1 and Base2) are automatically included. |
The typical usage pattern is shown in the following code snippet. The semantics of this example is an interface My_iface that is derived from L4::Icu and L4Re::Dataspace.
Definition at line 835 of file __typeinfo.h.
|
protected |
The interface description for the derived class.
Definition at line 841 of file __typeinfo.h.
|
protected |
The list of all RPC interfaces provided directly or through inheritance.
Definition at line 849 of file __typeinfo.h.
|
protected |
The target interface type (inheriting from Kobject_t)
Definition at line 839 of file __typeinfo.h.
|
inlinestaticprotected |
Definition at line 852 of file __typeinfo.h.
|
inlineprotected |
Get the capability to ourselves.
Definition at line 871 of file __typeinfo.h.