Factory for the service context. More...
#include <airsched/factory/FacAIRSCHEDServiceContext.hpp>
Public Member Functions | |
~FacAIRSCHEDServiceContext () | |
AIRSCHED_ServiceContext & | create () |
Static Public Member Functions | |
static FacAIRSCHEDServiceContext & | instance () |
Protected Member Functions | |
FacAIRSCHEDServiceContext () |
Factory for the service context.
Definition at line 19 of file FacAIRSCHEDServiceContext.hpp.
Destructor.
The Destruction put the _instance to NULL in order to be clean for the next FacAIRSCHEDServiceContext::instance().
Definition at line 17 of file FacAIRSCHEDServiceContext.cpp.
AIRSCHED::FacAIRSCHEDServiceContext::FacAIRSCHEDServiceContext | ( | ) | [inline, protected] |
Default Constructor.
This constructor is protected in order to ensure the singleton pattern.
Definition at line 54 of file FacAIRSCHEDServiceContext.hpp.
Referenced by instance().
Provide the unique instance.
The singleton is instantiated when first used.
Definition at line 22 of file FacAIRSCHEDServiceContext.cpp.
References FacAIRSCHEDServiceContext().
Create a new ServiceContext object.
This new object is added to the list of instantiated objects.
Definition at line 34 of file FacAIRSCHEDServiceContext.cpp.