TvlSim Logo  1.00.0
C++ Simulated Travel-Oriented Distribution System Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TVLSIM::FacDsimServiceContext Class Reference

#include <tvlsim/factory/FacDsimServiceContext.hpp>

+ Inheritance diagram for TVLSIM::FacDsimServiceContext:

List of all members.

Public Member Functions

 ~FacDsimServiceContext ()
TVLSIM_ServiceContextcreate ()

Static Public Member Functions

static FacDsimServiceContextinstance ()

Protected Member Functions

 FacDsimServiceContext ()

Detailed Description

Factory for Bucket.

Definition at line 19 of file FacDsimServiceContext.hpp.

Constructor & Destructor Documentation

TVLSIM::FacDsimServiceContext::~FacDsimServiceContext ( )

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

Definition at line 17 of file FacDsimServiceContext.cpp.

TVLSIM::FacDsimServiceContext::FacDsimServiceContext ( )

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

Definition at line 43 of file FacDsimServiceContext.hpp.

Referenced by instance().

Member Function Documentation

FacDsimServiceContext & TVLSIM::FacDsimServiceContext::instance ( )

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


Definition at line 22 of file FacDsimServiceContext.cpp.

References FacDsimServiceContext().

TVLSIM_ServiceContext & TVLSIM::FacDsimServiceContext::create ( )

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

TVLSIM_ServiceContext& The newly created object.

Definition at line 35 of file FacDsimServiceContext.cpp.

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