$treeview $search $mathjax
AirTSP Logo  1.01.2
$projectbrief
$projectbrief
$searchbox

AIRTSP::FacAIRTSPServiceContext Class Reference

Factory for the service context. More...

#include <airtsp/factory/FacAIRTSPServiceContext.hpp>

Inheritance diagram for AIRTSP::FacAIRTSPServiceContext:

FacServiceAbstract List of all members.

Public Member Functions

 ~FacAIRTSPServiceContext ()
AIRTSP_ServiceContextcreate ()

Static Public Member Functions

static FacAIRTSPServiceContextinstance ()

Protected Member Functions

 FacAIRTSPServiceContext ()

Detailed Description

Factory for the service context.

Definition at line 19 of file FacAIRTSPServiceContext.hpp.


Constructor & Destructor Documentation

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.

AIRTSP::FacAIRTSPServiceContext::FacAIRTSPServiceContext (  )  [inline, protected]

Default Constructor.

This constructor is protected in order to ensure the singleton pattern.

Definition at line 54 of file FacAIRTSPServiceContext.hpp.

Referenced by instance().


Member Function Documentation

FacAIRTSPServiceContext & AIRTSP::FacAIRTSPServiceContext::instance (  )  [static]

Provide the unique instance.

The singleton is instantiated when first used.

Returns:
FacServiceContext&

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.

Returns:
ServiceContext& The newly created object.

Definition at line 34 of file FacAIRTSPServiceContext.cpp.


The documentation for this class was generated from the following files: