Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

BaseListener.h

Go to the documentation of this file.
00001 #ifndef HEADER_BASELISTENER_H
00002 #define HEADER_BASELISTENER_H
00003 
00004 class BaseMsg;
00005 class SimpleMsg;
00006 class IntMsg;
00007 class StringMsg;
00008 
00009 #include "INamed.h"
00010 
00011 #include <string>
00012 
00013 /**
00014  * Listen messages.
00015  *
00016  * Listener must register oneself to MessagerAgent to be
00017  * able to receive messages.
00018  */
00019 class BaseListener : public INamed {
00020     protected:
00021         void registerWatcher(const std::string &param);
00022         void removeWatchers();
00023     public:
00024         virtual ~BaseListener() {}
00025         virtual void receiveSimple(const SimpleMsg *msg);
00026         virtual void receiveInt(const IntMsg *msg);
00027         virtual void receiveString(const StringMsg *msg);
00028 };
00029 
00030 #endif

Generated on Wed Jun 1 09:54:30 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2