OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
OPENTREP::FacServiceAbstract Class Reference

#include <opentrep/factory/FacServiceAbstract.hpp>

+ Inheritance diagram for OPENTREP::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()

OPENTREP::FacServiceAbstract::~FacServiceAbstract ( )
virtual

Destructor.

Definition at line 13 of file FacServiceAbstract.cpp.

References clean().

◆ FacServiceAbstract()

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

List of instantiated Business Objects

Definition at line 34 of file FacServiceAbstract.hpp.

Referenced by clean(), OPENTREP::FacOpenTrepServiceContext::create(), and OPENTREP::FacOpenTrepServiceContext::create().


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