TravelCCM Logo  1.00.1
C++ Travel Customer Choice Model Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
TRAVELCCM::FacTRAVELCCMServiceContext Class Reference

#include <travelccm/factory/FacTRAVELCCMServiceContext.hpp>

+ Inheritance diagram for TRAVELCCM::FacTRAVELCCMServiceContext:

List of all members.

Public Member Functions

 ~FacTRAVELCCMServiceContext ()
TRAVELCCM_ServiceContextcreate ()

Static Public Member Functions

static FacTRAVELCCMServiceContextinstance ()

Protected Member Functions

 FacTRAVELCCMServiceContext ()

Detailed Description

Factory for Bucket.

Definition at line 18 of file FacTRAVELCCMServiceContext.hpp.


Constructor & Destructor Documentation

TRAVELCCM::FacTRAVELCCMServiceContext::~FacTRAVELCCMServiceContext ( )

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

Definition at line 17 of file FacTRAVELCCMServiceContext.cpp.

TRAVELCCM::FacTRAVELCCMServiceContext::FacTRAVELCCMServiceContext ( )
inlineprotected

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

Definition at line 42 of file FacTRAVELCCMServiceContext.hpp.

Referenced by instance().


Member Function Documentation

FacTRAVELCCMServiceContext & TRAVELCCM::FacTRAVELCCMServiceContext::instance ( )
static

Provide the unique instance.
The singleton is instantiated when first used

Returns:
FacTRAVELCCMServiceContext&

Definition at line 22 of file FacTRAVELCCMServiceContext.cpp.

References FacTRAVELCCMServiceContext().

TRAVELCCM_ServiceContext & TRAVELCCM::FacTRAVELCCMServiceContext::create ( )

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

Returns:
TRAVELCCM_ServiceContext& The newly created object.

Definition at line 34 of file FacTRAVELCCMServiceContext.cpp.


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