L4Re Operating System Framework – Interface and Usage Documentation
Loading...
Searching...
No Matches
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 * This file is part of TUD:OS and distributed under the terms of the
12 * GNU General Public License 2.
13 * Please see the COPYING-GPL-2 file for details.
14 *
15 * As a special exception, you may use this file as part of a free software
16 * library without restriction. Specifically, if other files instantiate
17 * templates or use macros or inline functions from this file, or you compile
18 * this file and link it with other files to produce an executable, this
19 * file does not by itself cause the resulting executable to be covered by
20 * the GNU General Public License. This exception does not however
21 * invalidate any other reasons why the executable file might be covered by
22 * the GNU General Public License.
23 */
24
25#pragma once
26
27#include "kobject"
28#include "cxx/ipc_iface"
29#include "cxx/ipc_string"
30
31namespace L4 {
32
37class Meta : public Kobject_t<Meta, Kobject, L4_PROTO_META>
38{
39public:
47
62 L4::Ipc::String<char> *name));
63
76
78};
79
80}
Helper class to create an L4Re interface class that is derived from a single base class.
Definition __typeinfo.h:760
Meta interface that shall be implemented by each L4Re object and gives access to the dynamic type inf...
Definition meta:38
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:51
signed long l4_mword_t
Signed machine word.
Definition l4int.h:48
Interface Definition Language.
#define L4_INLINE_RPC(res, name, args, attr...)
Define an inline RPC call (type and callable).
Definition ipc_iface:469
L4 low-level kernel interface.
Standard list of RPCs of an interface.
Definition __typeinfo.h:438
Message tag data structure.
Definition types.h:163