AirRAC Logo  0.2.3
C++ Simulated Revenue Accounting (RAC) System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
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

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.

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

Provide the unique instance.

The singleton is instantiated when first used.

Returns:
FacServiceContext&

Definition at line 22 of file FacAirracServiceContext.cpp.

References FacAirracServiceContext().

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: