1.00.4
C++ Simulation-Oriented Discrete Event Management Library
EventQueueKey.hpp
Go to the documentation of this file.
1
#ifndef __SEVMGR_BOM_EVENTQUEUEKEY_HPP
2
#define __SEVMGR_BOM_EVENTQUEUEKEY_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// StdAir
8
#include <stdair/stdair_basic_types.hpp>
9
#include <stdair/stdair_event_types.hpp>
10
#include <stdair/bom/KeyAbstract.hpp>
11
//SEvMgr
12
#include <
sevmgr/SEVMGR_Types.hpp
>
13
14
namespace
SEVMGR
{
15
17
struct
EventQueueKey
:
public
stdair::KeyAbstract {
18
19
private
:
20
// /////////// Default constructor //////////
21
EventQueueKey
() { };
22
23
public
:
24
// /////////// Construction ///////////
26
EventQueueKey
(
const
EventQueueID_T
&);
27
EventQueueKey
(
const
EventQueueKey
&);
29
~EventQueueKey
();
30
31
// /////////// Getters //////////
33
const
EventQueueID_T
&
getEventQueueID
()
const
{
34
return
_eventQueueID;
35
}
36
37
// /////////// Display support methods /////////
40
void
toStream
(std::ostream& ioOut)
const
;
41
44
void
fromStream
(std::istream& ioIn);
45
51
const
std::string
toString
()
const
;
52
53
54
private
:
55
// //////////// Attributes ////////////////
57
EventQueueID_T
_eventQueueID;
58
};
59
60
}
61
#endif // __SEVMGR_BOM_EVENTQUEUEKEY_HPP
SEVMGR_Types.hpp
SEVMGR::EventQueueKey::fromStream
void fromStream(std::istream &ioIn)
Definition:
EventQueueKey.cpp:30
SEVMGR::EventQueueID_T
std::string EventQueueID_T
Definition:
SEVMGR_Types.hpp:27
SEVMGR::EventQueueKey::toString
const std::string toString() const
Definition:
EventQueueKey.cpp:34
SEVMGR::EventQueueKey::getEventQueueID
const EventQueueID_T & getEventQueueID() const
Definition:
EventQueueKey.hpp:33
SEVMGR
Definition:
BasConst.cpp:10
SEVMGR::EventQueueKey::~EventQueueKey
~EventQueueKey()
Definition:
EventQueueKey.cpp:21
SEVMGR::EventQueueKey
Definition:
EventQueueKey.hpp:17
SEVMGR::EventQueueKey::toStream
void toStream(std::ostream &ioOut) const
Definition:
EventQueueKey.cpp:25
Generated on Tue Nov 5 2019 00:00:00 for SEvMgr by
1.8.16