AirRAC Logo  1.00.0
C++ Simulated Revenue Accounting (RAC) System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
AIRRAC::FacAirracServiceContext Class Reference

Factory for the service context. More...

#include <airrac/factory/FacAirracServiceContext.hpp>

+ Inheritance diagram for AIRRAC::FacAirracServiceContext:

List of all members.

Public Member Functions

 ~FacAirracServiceContext ()
AIRRAC_ServiceContextcreate ()

Static Public Member Functions

static FacAirracServiceContextinstance ()

Protected Member Functions

 FacAirracServiceContext ()

Detailed Description

Factory for the service context.

Definition at line 21 of file FacAirracServiceContext.hpp.


Constructor & Destructor Documentation

AIRRAC::FacAirracServiceContext::~FacAirracServiceContext ( )

Destructor.

The Destruction put the _instance to NULL in order to be clean for the next FacSimfqtServiceContext::instance().

Definition at line 17 of file FacAirracServiceContext.cpp.

AIRRAC::FacAirracServiceContext::FacAirracServiceContext ( )
inlineprotected

Default Constructor.

This constructor is protected in order to ensure the singleton pattern.

Definition at line 56 of file FacAirracServiceContext.hpp.

Referenced by instance().


Member Function Documentation

FacAirracServiceContext & AIRRAC::FacAirracServiceContext::instance ( )
static

Provide the unique instance.

The singleton is instantiated when first used.

Returns:
FacServiceContext&

Definition at line 22 of file FacAirracServiceContext.cpp.

References FacAirracServiceContext().

AIRRAC_ServiceContext & AIRRAC::FacAirracServiceContext::create ( )

Create a new ServiceContext object.

This new object is added to the list of instantiated objects.

Returns:
ServiceContext& The newly created object.

Definition at line 34 of file FacAirracServiceContext.cpp.


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