SimCRS Logo  1.01.8
C++ Simulated Travel-Oriented Distribution System Library
Loading...
Searching...
No Matches
SIMCRS::FacBomAbstract Class Reference

#include <simcrs/factory/FacBomAbstract.hpp>

Public Types

typedef std::vector< BomAbstract * > BomPool_T
 

Static Public Member Functions

static std::size_t getID (const BomAbstract *)
 
static std::size_t getID (const BomAbstract &)
 
static std::string getIDString (const BomAbstract *)
 
static std::string getIDString (const BomAbstract &)
 

Protected Member Functions

 FacBomAbstract ()
 
 FacBomAbstract (const FacBomAbstract &)
 
virtual ~FacBomAbstract ()
 

Protected Attributes

BomPool_T _pool
 

Friends

class FacSupervisor
 

Detailed Description

Base class for Factory layer.

Definition at line 17 of file FacBomAbstract.hpp.

Member Typedef Documentation

◆ BomPool_T

Define the list (pool) of Bom objects.

Definition at line 22 of file FacBomAbstract.hpp.

Constructor & Destructor Documentation

◆ FacBomAbstract() [1/2]

SIMCRS::FacBomAbstract::FacBomAbstract ( )
inlineprotected

Default Constructor.
This constructor is protected to ensure the class is abstract.

Definition at line 41 of file FacBomAbstract.hpp.

◆ FacBomAbstract() [2/2]

SIMCRS::FacBomAbstract::FacBomAbstract ( const FacBomAbstract )
inlineprotected

Definition at line 42 of file FacBomAbstract.hpp.

◆ ~FacBomAbstract()

SIMCRS::FacBomAbstract::~FacBomAbstract ( )
protectedvirtual

Destructor.

Definition at line 16 of file FacBomAbstract.cpp.

Member Function Documentation

◆ getID() [1/2]

std::size_t SIMCRS::FacBomAbstract::getID ( const BomAbstract iBomAbstract_ptr)
static

Return the ID corresponding to the given object pointer.

Definition at line 35 of file FacBomAbstract.cpp.

Referenced by getID(), and getIDString().

◆ getID() [2/2]

std::size_t SIMCRS::FacBomAbstract::getID ( const BomAbstract iBomAbstract)
static

Return the ID corresponding to the given object reference.

Definition at line 43 of file FacBomAbstract.cpp.

References getID().

◆ getIDString() [1/2]

std::string SIMCRS::FacBomAbstract::getIDString ( const BomAbstract iBomAbstract_ptr)
static

Return the ID, as a string, corresponding to the given object pointer.

Definition at line 48 of file FacBomAbstract.cpp.

References getID().

Referenced by getIDString().

◆ getIDString() [2/2]

std::string SIMCRS::FacBomAbstract::getIDString ( const BomAbstract iBomAbstract)
static

Return the ID, as a string, corresponding to the given object reference.

Definition at line 56 of file FacBomAbstract.cpp.

References getIDString().

Friends And Related Symbol Documentation

◆ FacSupervisor

friend class FacSupervisor
friend

Definition at line 18 of file FacBomAbstract.hpp.

Member Data Documentation

◆ _pool

BomPool_T SIMCRS::FacBomAbstract::_pool
protected

List of instantiated Business Objects

Definition at line 53 of file FacBomAbstract.hpp.


The documentation for this class was generated from the following files: