TravelCCM Logo  0.5.3
C++ Travel Customer Choice Model Library
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

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.

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

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

Returns:
FacTRAVELCCMServiceContext&

Definition at line 22 of file FacTRAVELCCMServiceContext.cpp.

References FacTRAVELCCMServiceContext().

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:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines