Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

/home/pauldt/projects/IDEA/IDEA-ALL/IDEA-DEV/Core/Simulator/Includes/SimRespFactory.hh

Go to the documentation of this file.
00001 // -*- Mode: c++ -*-
00002 //     File: $Source: /home/cvs/ISG-Repository/IDEA-DEV/Core/Simulator/Includes/SimRespFactory.hh,v $
00003 //      Tag: $Name: DR_01_11_06 $
00004 //      CVS: $Id: SimRespFactory.hh,v 1.2 2005/11/16 16:56:53 rijsman Exp $
00005 //     Info: $CVSROOT/IDEA-DEV/COPYRIGHT
00006 #ifndef SIMULATOR_RESPONSE_MESSAGE_FACTORY_HEADER
00007 #define SIMULATOR_RESPONSE_MESSAGE_FACTORY_HEADER
00008 
00009 #include "SimResponse.hh"
00010 
00011 namespace IDEA
00012 {
00020   class ResponseMessageFactory
00021   {
00022   public:
00023     ResponseMessageFactory( const std::string& identifier );
00024 
00025     virtual ~ResponseMessageFactory();
00028     void getResponseMessages( const Time& received, const MessageData* data, const Message::Type& type , MessageHandleList& messages );
00032     const std::string& getIdentifier() const;
00036     void setDefaultResponse( const ResponseBaseList& response );
00041     void addResponse( int index, const ResponseBaseList& response );
00045     int getNumberOfScheduledResponses() const { return m_ResponseCounter; }
00046   private:
00053     virtual ResponseBaseList* getNextResponseBaseList();
00057     std::string m_Identifier;
00061     int m_ResponseCounter;
00066     ResponseBaseList m_DefaultResponse;
00072     typedef std::map< int, ResponseBaseList > Int2ResponseBaseList;
00073     
00074     Int2ResponseBaseList m_Responses;
00075   };
00076 
00077 
00078 }
00079 
00080 #endif //SIMULATOR_RESPONSE_MESSAGE_FACTORY_HEADER

Contact information
© IDEA
Generated on Fri Feb 3 17:09:41 2006 for IDEA.