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::FacAirinvServiceContext Class Reference

#include <airinv/factory/FacAirinvServiceContext.hpp>

+ Inheritance diagram for AIRINV::FacAirinvServiceContext:

List of all members.

Public Member Functions

 ~FacAirinvServiceContext ()
AIRINV_ServiceContextcreate ()

Static Public Member Functions

static FacAirinvServiceContextinstance ()

Protected Member Functions

 FacAirinvServiceContext ()

Detailed Description

Factory for Bucket.

Definition at line 18 of file FacAirinvServiceContext.hpp.


Constructor & Destructor Documentation

AIRINV::FacAirinvServiceContext::~FacAirinvServiceContext ( )

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

Definition at line 17 of file FacAirinvServiceContext.cpp.

AIRINV::FacAirinvServiceContext::FacAirinvServiceContext ( )
inlineprotected

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

Definition at line 42 of file FacAirinvServiceContext.hpp.

Referenced by instance().


Member Function Documentation

FacAirinvServiceContext & AIRINV::FacAirinvServiceContext::instance ( )
static

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

Returns:
FacAirinvServiceContext&

Definition at line 22 of file FacAirinvServiceContext.cpp.

References FacAirinvServiceContext().

AIRINV_ServiceContext & AIRINV::FacAirinvServiceContext::create ( )

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

Returns:
AIRINV_ServiceContext& The newly created object.

Definition at line 34 of file FacAirinvServiceContext.cpp.


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