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

#include <simcrs/factory/FacServiceAbstract.hpp>

+ Inheritance diagram for SIMCRS::FacServiceAbstract:

List of all members.

Public Types

typedef std::vector
< ServiceAbstract * > 
ServicePool_T

Public Member Functions

virtual ~FacServiceAbstract ()
void clean ()

Protected Member Functions

 FacServiceAbstract ()

Protected Attributes

ServicePool_T _pool

Detailed Description

Base class for the (Service) Factory layer.

Definition at line 16 of file FacServiceAbstract.hpp.


Member Typedef Documentation

Define the list (pool) of Service objects.

Definition at line 20 of file FacServiceAbstract.hpp.


Constructor & Destructor Documentation

SIMCRS::FacServiceAbstract::~FacServiceAbstract ( )
virtual

Destructor.

Definition at line 13 of file FacServiceAbstract.cpp.

References clean().

SIMCRS::FacServiceAbstract::FacServiceAbstract ( )
inlineprotected

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

Definition at line 31 of file FacServiceAbstract.hpp.


Member Function Documentation

void SIMCRS::FacServiceAbstract::clean ( )

Destroyed all the object instantiated by this factory.

Definition at line 18 of file FacServiceAbstract.cpp.

References _pool.

Referenced by ~FacServiceAbstract().


Member Data Documentation

ServicePool_T SIMCRS::FacServiceAbstract::_pool
protected

List of instantiated Business Objects

Definition at line 34 of file FacServiceAbstract.hpp.

Referenced by clean(), and SIMCRS::FacSimcrsServiceContext::create().


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