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

#include <simcrs/factory/FacServiceAbstract.hpp>

+ Inheritance diagram for SIMCRS::FacServiceAbstract:

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

◆ ServicePool_T

Define the list (pool) of Service objects.

Definition at line 20 of file FacServiceAbstract.hpp.

Constructor & Destructor Documentation

◆ ~FacServiceAbstract()

SIMCRS::FacServiceAbstract::~FacServiceAbstract ( )
virtual

Destructor.

Definition at line 13 of file FacServiceAbstract.cpp.

References clean().

◆ FacServiceAbstract()

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

◆ clean()

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

◆ _pool

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: