$treeview $search $mathjax
SEvMgr Logo  1.00.2
$projectbrief
$projectbrief
$searchbox

EventQueueKey.hpp

Go to the documentation of this file.
00001 #ifndef __SEVMGR_BOM_EVENTQUEUEKEY_HPP
00002 #define __SEVMGR_BOM_EVENTQUEUEKEY_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/stdair_basic_types.hpp>
00009 #include <stdair/stdair_event_types.hpp>
00010 #include <stdair/bom/KeyAbstract.hpp>
00011 //SEvMgr
00012 #include <sevmgr/SEVMGR_Types.hpp>
00013 
00014 namespace SEVMGR {
00015   
00017   struct EventQueueKey : public stdair::KeyAbstract {
00018     
00019   private:
00020     // /////////// Default constructor //////////
00021     EventQueueKey () { };
00022     
00023   public:
00024     // /////////// Construction ///////////
00026     EventQueueKey (const EventQueueID_T&);
00027     EventQueueKey (const EventQueueKey&);
00029     ~EventQueueKey ();
00030     
00031     // /////////// Getters //////////
00033     const EventQueueID_T& getEventQueueID() const {
00034       return _eventQueueID;
00035     }
00036 
00037     // /////////// Display support methods /////////
00040     void toStream (std::ostream& ioOut) const;
00041     
00044     void fromStream (std::istream& ioIn);
00045       
00051     const std::string toString() const;
00052 
00053     
00054   private:
00055     // //////////// Attributes ////////////////
00057     EventQueueID_T _eventQueueID;
00058   };
00059 
00060 }
00061 #endif // __SEVMGR_BOM_EVENTQUEUEKEY_HPP