AirRAC Logo  1.00.3
C++ Simulated Revenue Accounting (RAC) System Library
AIRRAC::FacAirracServiceContext Class Reference

Factory for the service context. More...

#include <airrac/factory/FacAirracServiceContext.hpp>

+ Inheritance diagram for AIRRAC::FacAirracServiceContext:

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

◆ ~FacAirracServiceContext()

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.

◆ FacAirracServiceContext()

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

◆ instance()

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

◆ create()

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: