Fawkes API
Fawkes Development Version
component_ids.h
1
2
/***************************************************************************
3
* component_ids.h - Fawkes component IDs
4
*
5
* Created: Tue Nov 21 18:18:58 2006
6
* Copyright 2006 Tim Niemueller [www.niemueller.de]
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version. A runtime exception applies to
14
* this software (see LICENSE.GPL_WRE file mentioned below for details).
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Library General Public License for more details.
20
*
21
* Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22
*/
23
24
25
/* You need a component ID for each network handler. This is to be globally
26
* unique throughout the whole software. In order to organize these IDs in a
27
* central place this file has been created. Add an ID for each network handler
28
* that you create.
29
*
30
* Note that component IDs 0 to 1000 are reserved for base system network
31
* handlers and may not be used for plugin network handlers.
32
*
33
* All ID names must be prefixed with FAWKES_CID_. Please add a short comment
34
* where the component is implemented in the tree.
35
*/
36
37
#ifndef __NETCOMM_FAWKES_COMPONENT_IDS_H_
38
#define __NETCOMM_FAWKES_COMPONENT_IDS_H_
39
40
// Never use this CID for any application. It is intended to only observe
41
// changes of the connection status.
42
#define FAWKES_CID_OBSERVER_MODE 0
43
44
/* **** System CIDs **** */
45
46
// PluginManager: mainapp/plugin_manager.h
47
#define FAWKES_CID_PLUGINMANAGER 1
48
49
// BlackBoard: blackboard/network_handler.h
50
#define FAWKES_CID_BLACKBOARD 2
51
52
// ConfigManager: mainapp/config_manager.h
53
#define FAWKES_CID_CONFIGMANAGER 3
54
55
// NetworkLogger: netcomm/utils/network_logger.h
56
#define FAWKES_CID_NETWORKLOGGER 4
57
58
59
/* **** Normal component CIDs **** */
60
61
#define FAWKES_CID_FIREVISION 1001
62
#define FAWKES_CID_EXAMPLE_PLUGIN 1002
63
#define FAWKES_CID_NAVIGATOR_PLUGIN 1003
64
#define FAWKES_CID_NAOSIM 1004
65
#define FAWKES_CID_SKILLER_PLUGIN 1005
66
67
68
#endif
src
libs
netcomm
fawkes
component_ids.h
Generated by
1.8.13