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/* You need a component ID for each network handler. This is to be globally
25 * unique throughout the whole software. In order to organize these IDs in a
26 * central place this file has been created. Add an ID for each network handler
27 * that you create.
28 *
29 * Note that component IDs 0 to 1000 are reserved for base system network
30 * handlers and may not be used for plugin network handlers.
31 *
32 * All ID names must be prefixed with FAWKES_CID_. Please add a short comment
33 * where the component is implemented in the tree.
34 */
35
36#ifndef _NETCOMM_FAWKES_COMPONENT_IDS_H_
37#define _NETCOMM_FAWKES_COMPONENT_IDS_H_
38
39// Never use this CID for any application. It is intended to only observe
40// changes of the connection status.
41#define FAWKES_CID_OBSERVER_MODE 0
42
43/* **** System CIDs **** */
44
45// PluginManager: mainapp/plugin_manager.h
46#define FAWKES_CID_PLUGINMANAGER 1
47
48// BlackBoard: blackboard/network_handler.h
49#define FAWKES_CID_BLACKBOARD 2
50
51// ConfigManager: mainapp/config_manager.h
52#define FAWKES_CID_CONFIGMANAGER 3
53
54// NetworkLogger: netcomm/utils/network_logger.h
55#define FAWKES_CID_NETWORKLOGGER 4
56
57/* **** Normal component CIDs **** */
58
59#define FAWKES_CID_FIREVISION 1001
60#define FAWKES_CID_EXAMPLE_PLUGIN 1002
61#define FAWKES_CID_NAVIGATOR_PLUGIN 1003
62#define FAWKES_CID_NAOSIM 1004
63#define FAWKES_CID_SKILLER_PLUGIN 1005
64
65#endif