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