AirInv Logo  1.00.0
C++ Simulated Airline Inventory Management System library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AIRINV::FacAirinvMasterServiceContext Class Reference

Factory for Bucket. More...

#include <airinv/factory/FacAirinvMasterServiceContext.hpp>

+ Inheritance diagram for AIRINV::FacAirinvMasterServiceContext:

List of all members.

Public Member Functions

 ~FacAirinvMasterServiceContext ()
AIRINV_Master_ServiceContextcreate ()

Static Public Member Functions

static
FacAirinvMasterServiceContext
instance ()

Protected Member Functions

 FacAirinvMasterServiceContext ()

Detailed Description

Factory for Bucket.

Definition at line 20 of file FacAirinvMasterServiceContext.hpp.


Constructor & Destructor Documentation

AIRINV::FacAirinvMasterServiceContext::~FacAirinvMasterServiceContext ( )

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

Definition at line 17 of file FacAirinvMasterServiceContext.cpp.

AIRINV::FacAirinvMasterServiceContext::FacAirinvMasterServiceContext ( )
inlineprotected

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

Definition at line 44 of file FacAirinvMasterServiceContext.hpp.

Referenced by instance().


Member Function Documentation

FacAirinvMasterServiceContext & AIRINV::FacAirinvMasterServiceContext::instance ( )
static

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

Returns:
FacAirinvMasterServiceContext&

Definition at line 22 of file FacAirinvMasterServiceContext.cpp.

References FacAirinvMasterServiceContext().

AIRINV_Master_ServiceContext & AIRINV::FacAirinvMasterServiceContext::create ( )

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

Returns:
AIRINV_Master_ServiceContext& The newly created object.

Definition at line 34 of file FacAirinvMasterServiceContext.cpp.


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