SimCRS Logo  1.00.0
C++ Simulated Travel-Oriented Distribution System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
SIMCRS::FacBomAbstract Class Reference

#include <simcrs/factory/FacBomAbstract.hpp>

List of all members.

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

Define the list (pool) of Bom objects.

Definition at line 22 of file FacBomAbstract.hpp.


Constructor & Destructor Documentation

SIMCRS::FacBomAbstract::FacBomAbstract ( )
inlineprotected

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

Definition at line 41 of file FacBomAbstract.hpp.

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

Definition at line 42 of file FacBomAbstract.hpp.

SIMCRS::FacBomAbstract::~FacBomAbstract ( )
protectedvirtual

Destructor.

Definition at line 16 of file FacBomAbstract.cpp.


Member Function Documentation

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().

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().

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().

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 Function Documentation

friend class FacSupervisor
friend

Definition at line 18 of file FacBomAbstract.hpp.


Member Data Documentation

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: