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