SimFQT Logo  1.00.0
C++ Simulated Fare Quote System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
SIMFQT::FacSimfqtServiceContext Class Reference

Factory for the service context. More...

#include <simfqt/factory/FacSimfqtServiceContext.hpp>

+ Inheritance diagram for SIMFQT::FacSimfqtServiceContext:

List of all members.

Public Member Functions

 ~FacSimfqtServiceContext ()
SIMFQT_ServiceContextcreate ()

Static Public Member Functions

static FacSimfqtServiceContextinstance ()

Protected Member Functions

 FacSimfqtServiceContext ()

Detailed Description

Factory for the service context.

Definition at line 22 of file FacSimfqtServiceContext.hpp.

Constructor & Destructor Documentation

SIMFQT::FacSimfqtServiceContext::~FacSimfqtServiceContext ( )


The Destruction put the _instance to NULL in order to be clean for the next FacSimfqtServiceContext::instance().

Definition at line 17 of file FacSimfqtServiceContext.cpp.

SIMFQT::FacSimfqtServiceContext::FacSimfqtServiceContext ( )

Default Constructor.

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

Definition at line 57 of file FacSimfqtServiceContext.hpp.

Referenced by instance().

Member Function Documentation

FacSimfqtServiceContext & SIMFQT::FacSimfqtServiceContext::instance ( )

Provide the unique instance.

The singleton is instantiated when first used.


Definition at line 22 of file FacSimfqtServiceContext.cpp.

References FacSimfqtServiceContext().

SIMFQT_ServiceContext & SIMFQT::FacSimfqtServiceContext::create ( )

Create a new ServiceContext object.

This new object is added to the list of instantiated objects.

ServiceContext& The newly created object.

Definition at line 34 of file FacSimfqtServiceContext.cpp.

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