Factory for the service context. More...
#include <airrac/factory/FacAirracServiceContext.hpp>
Public Member Functions | |
~FacAirracServiceContext () | |
AIRRAC_ServiceContext & | create () |
Static Public Member Functions | |
static FacAirracServiceContext & | instance () |
Protected Member Functions | |
FacAirracServiceContext () |
Factory for the service context.
Definition at line 21 of file FacAirracServiceContext.hpp.
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.
|
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().
|
static |
Provide the unique instance.
The singleton is instantiated when first used.
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.
Definition at line 34 of file FacAirracServiceContext.cpp.