AirInv Logo  1.00.2
C++ Simulated Airline Inventory Management System library
AIRINV::FacServiceAbstract Class Reference

#include <airinv/factory/FacServiceAbstract.hpp>

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

AIRINV::FacServiceAbstract::~FacServiceAbstract ( )
virtual

Destructor.

Definition at line 13 of file FacServiceAbstract.cpp.

References clean().

◆ FacServiceAbstract()

AIRINV::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 AIRINV::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 AIRINV::FacServiceAbstract::_pool
protected

List of instantiated Business Objects

Definition at line 34 of file FacServiceAbstract.hpp.

Referenced by clean().


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