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/Agent/Includes/AcceptorPolicy.hh

Go to the documentation of this file.
00001 // -*- Mode: c++ -*-
00002 //      CVS: $Id: AcceptorPolicy.hh,v 1.4 2005/12/30 22:05:30 rijsman Exp $
00003 //      Tag: $name$
00004 //     Info: $CVSROOT/Copyright.txt
00005 
00006 #ifndef ACCEPTOR_POLICY_HEADER_FILE_
00007 #define ACCEPTOR_POLICY_HEADER_FILE_
00008 
00009 #include "MessageHandle.hh"
00010 
00011 namespace IDEA
00012 {
00021   class AcceptorPolicy
00022   {
00023     friend class MessageObserver;
00024   public:
00038     AcceptorPolicy( long acceptMessageTypes );
00042     virtual ~AcceptorPolicy();
00046     bool isAcceptable( const Message::Type& type ) const;
00047   private:
00053     virtual bool accept( const MessageHandle& message );
00058     bool acceptInternal( const MessageHandle& message );
00059 
00060     long m_AcceptTypes;
00061   };
00062 }
00063 
00064 #endif //ACCEPTOR_POLICY_HEADER_FILE_
00065 

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