L4Re Operating System Framework
Interface and Usage Documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
meta
Go to the documentation of this file.
1// vi:set ft=cpp: -*- Mode: C++ -*-
7/*
8 * (c) 2008-2009 Alexander Warg <warg@os.inf.tu-dresden.de>
9 * economic rights: Technische Universität Dresden (Germany)
10 *
11 * License: see LICENSE.spdx (in this directory or the directories above)
12 */
13
14#pragma once
15
16#include "kobject"
17#include "cxx/ipc_iface"
18#include "cxx/ipc_string"
19
20namespace L4 {
21
26class Meta : public Kobject_t<Meta, Kobject, L4_PROTO_META>
27{
28public:
36
51 L4::Ipc::String<char> *name));
52
65
67};
68
69}
Helper class to create an L4Re interface class that is derived from a single base class.
Definition __typeinfo.h:750
Meta interface that shall be implemented by each L4Re object and gives access to the dynamic type inf...
Definition meta:27
l4_msgtag_t num_interfaces()
Get the number of interfaces implemented by this object.
l4_msgtag_t interface(l4_umword_t idx, long *proto, L4::Ipc::String< char > *name)
Get the protocol number that must be used for the interface with the number idx.
l4_msgtag_t supports(l4_mword_t protocol)
Figure out if the object supports the given protocol (number).
unsigned long l4_umword_t
Unsigned machine word.
Definition l4int.h:40
signed long l4_mword_t
Signed machine word.
Definition l4int.h:37
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition ipc_iface:476
L4 low-level kernel interface.
Standard list of RPCs of an interface.
Definition __typeinfo.h:428
Message tag data structure.
Definition types.h:153