Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

MessageMap.h

Go to the documentation of this file.
00001 //////////////////////////////////////////////////////////////////////////////////////////////////
00002 /*! \file MessageMap.h
00003 *  \brief Defines the message mapping for Whorl and Brain commands.
00004 *  \author $Author: simpliciter $
00005 *  \version $Revision: 1.1.1.1 $
00006 *  \date    $Date: 2003/06/06 18:44:15 $
00007 *//////////////////////////////////////////////////////////////////////////////////////////////////
00008 /*!  
00009 */
00010 //////////////////////////////////////////////////////////////////////////////////////////////////
00011 
00012 #ifndef __SSSL_MESSAGE_MAP_H__
00013 #define __SSSL_MESSAGE_MAP_H__
00014 
00015 #include "Functor.h"
00016 #include <string>
00017 #include <map>
00018 using namespace std;
00019 
00020 /** @brief specifies that a WhorlFunctor is an object functor that returns
00021     * a void, takes a 'const vector<double>&' as a parameter, and points to a 
00022     * Brain object.
00023     */
00024 typedef ObjectFunctor<void, const vector<double>&, Brain> BrainFunctor; 
00025 
00026 /** @brief Message map for binding message strings to Brain functions. */
00027 map<string, BrainFunctor> BrainMessageMap;
00028 
00029 BrainMessageMap["ReceiveFormationState"];
00030 
00031 #endif
00032 
00033 
00034 // Do not change the comments below - they will be added automatically by CVS
00035 /*****************************************************************************
00036 *       $Log: MessageMap.h,v $
00037 *       Revision 1.1.1.1  2003/06/06 18:44:15  simpliciter
00038 *       Initial submission.
00039 *       
00040 *
00041 ******************************************************************************/

Generated on Wed Sep 5 12:54:22 2007 for DSACSS Operational Code by  doxygen 1.3.9.1