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

EventQueueKey.cpp

Go to the documentation of this file.
00001 // //////////////////////////////////////////////////////////////////////
00002 // Import section
00003 // //////////////////////////////////////////////////////////////////////
00004 // STL
00005 #include <sstream>
00006 // SEvMgr
00007 #include <sevmgr/bom/EventQueueKey.hpp>
00008 
00009 namespace SEVMGR {
00010 
00011   // ////////////////////////////////////////////////////////////////////
00012   EventQueueKey::EventQueueKey (const EventQueueID_T& iEventQueueID)
00013     : _eventQueueID (iEventQueueID) {
00014   }
00015   // ////////////////////////////////////////////////////////////////////
00016   EventQueueKey::EventQueueKey (const EventQueueKey& iKey)
00017     : _eventQueueID (iKey._eventQueueID) {
00018   }
00019 
00020   // ////////////////////////////////////////////////////////////////////
00021   EventQueueKey::~EventQueueKey () {
00022   }
00023 
00024   // ////////////////////////////////////////////////////////////////////
00025   void EventQueueKey::toStream (std::ostream& ioOut) const {
00026     ioOut << "EventQueueKey: " << toString() << std::endl;
00027   }
00028 
00029   // ////////////////////////////////////////////////////////////////////
00030   void EventQueueKey::fromStream (std::istream& ioIn) {
00031   }
00032 
00033   // ////////////////////////////////////////////////////////////////////
00034   const std::string EventQueueKey::toString() const {
00035     std::ostringstream oStr;
00036     oStr << _eventQueueID;
00037     return oStr.str();
00038   }
00039 
00040 }