1.01.5
C++ Simulated Travel-Oriented Distribution System Library
FacBomAbstract.hpp
Go to the documentation of this file.
1
#ifndef __SIMCRS_FAC_FACBOMABSTRACT_HPP
2
#define __SIMCRS_FAC_FACBOMABSTRACT_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <string>
9
#include <vector>
10
11
namespace
SIMCRS
{
12
13
// Forward declarations
14
class
BomAbstract;
15
17
class
FacBomAbstract
{
18
friend
class
FacSupervisor
;
19
public
:
20
22
typedef
std::vector<BomAbstract*>
BomPool_T
;
23
25
static
std::size_t
getID
(
const
BomAbstract
*);
26
28
static
std::size_t
getID
(
const
BomAbstract
&);
29
32
static
std::string
getIDString
(
const
BomAbstract
*);
33
36
static
std::string
getIDString
(
const
BomAbstract
&);
37
38
protected
:
41
FacBomAbstract
() {}
42
FacBomAbstract
(
const
FacBomAbstract
&) {}
43
45
virtual
~FacBomAbstract
();
46
47
private
:
49
void
clean();
50
51
protected
:
53
BomPool_T
_pool
;
54
};
55
}
56
#endif // __SIMCRS_FAC_FACBOMABSTRACT_HPP
SIMCRS::FacBomAbstract::FacBomAbstract
FacBomAbstract()
Definition:
FacBomAbstract.hpp:41
SIMCRS
Definition:
BasConst.cpp:7
SIMCRS::BomAbstract
Definition:
BomAbstract.hpp:14
SIMCRS::FacBomAbstract::FacBomAbstract
FacBomAbstract(const FacBomAbstract &)
Definition:
FacBomAbstract.hpp:42
SIMCRS::FacBomAbstract::getID
static std::size_t getID(const BomAbstract *)
Definition:
FacBomAbstract.cpp:35
SIMCRS::FacBomAbstract::~FacBomAbstract
virtual ~FacBomAbstract()
Definition:
FacBomAbstract.cpp:16
SIMCRS::FacBomAbstract::BomPool_T
std::vector< BomAbstract * > BomPool_T
Definition:
FacBomAbstract.hpp:22
SIMCRS::FacBomAbstract::_pool
BomPool_T _pool
Definition:
FacBomAbstract.hpp:53
SIMCRS::FacSupervisor
Definition:
FacSupervisor.hpp:17
SIMCRS::FacBomAbstract::getIDString
static std::string getIDString(const BomAbstract *)
Definition:
FacBomAbstract.cpp:48
SIMCRS::FacBomAbstract
Definition:
FacBomAbstract.hpp:17
Generated on Sat Aug 1 2020 00:00:00 for SimCRS by
1.8.18