component_ids.h

00001 
00002 /***************************************************************************
00003  *  component_ids.h - Fawkes component IDs
00004  *
00005  *  Created: Tue Nov 21 18:18:58 2006
00006  *  Copyright  2006  Tim Niemueller [www.niemueller.de]
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version. A runtime exception applies to
00014  *  this software (see LICENSE.GPL_WRE file mentioned below for details).
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU Library General Public License for more details.
00020  *
00021  *  Read the full text in the LICENSE.GPL_WRE file in the doc directory.
00022  */
00023 
00024 
00025 /* You need a component ID for each network handler. This is to be globally
00026  * unique throughout the whole software. In order to organize these IDs in a
00027  * central place this file has been created. Add an ID for each network handler
00028  * that you create.
00029  *
00030  * Note that component IDs 0 to 1000 are reserved for base system network
00031  * handlers and may not be used for plugin network handlers.
00032  *
00033  * All ID names must be prefixed with FAWKES_CID_. Please add a short comment
00034  * where the component is implemented in the tree.
00035  */
00036 
00037 #ifndef __NETCOMM_FAWKES_COMPONENT_IDS_H_
00038 #define __NETCOMM_FAWKES_COMPONENT_IDS_H_
00039 
00040 // Never use this CID for any application. It is intended to only observe
00041 // changes of the connection status.
00042 #define FAWKES_CID_OBSERVER_MODE         0
00043 
00044 /* **** System CIDs **** */
00045 
00046 // PluginManager: mainapp/plugin_manager.h
00047 #define FAWKES_CID_PLUGINMANAGER         1
00048 
00049 // BlackBoard: blackboard/network_handler.h
00050 #define FAWKES_CID_BLACKBOARD            2
00051 
00052 // ConfigManager: mainapp/config_manager.h
00053 #define FAWKES_CID_CONFIGMANAGER         3
00054 
00055 // NetworkLogger: netcomm/utils/network_logger.h
00056 #define FAWKES_CID_NETWORKLOGGER         4
00057 
00058 
00059 /* **** Normal component CIDs **** */
00060 
00061 #define FAWKES_CID_FIREVISION         1001
00062 #define FAWKES_CID_EXAMPLE_PLUGIN     1002
00063 #define FAWKES_CID_NAVIGATOR_PLUGIN   1003
00064 #define FAWKES_CID_NAOSIM             1004
00065 #define FAWKES_CID_SKILLER_PLUGIN     1005
00066 
00067 
00068 #endif