SEvMgr Logo  1.00.8
C++ Simulation-Oriented Discrete Event Management Library
Loading...
Searching...
No Matches
SEVMGR::FacSEVMGRServiceContext Class Reference

#include <sevmgr/factory/FacSEVMGRServiceContext.hpp>

+ Inheritance diagram for SEVMGR::FacSEVMGRServiceContext:

Public Member Functions

 ~FacSEVMGRServiceContext ()
 
SEVMGR_ServiceContextcreate ()
 

Static Public Member Functions

static FacSEVMGRServiceContextinstance ()
 

Protected Member Functions

 FacSEVMGRServiceContext ()
 

Detailed Description

Factory for Bucket.

Definition at line 18 of file FacSEVMGRServiceContext.hpp.

Constructor & Destructor Documentation

◆ ~FacSEVMGRServiceContext()

SEVMGR::FacSEVMGRServiceContext::~FacSEVMGRServiceContext ( )

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

Definition at line 17 of file FacSEVMGRServiceContext.cpp.

◆ FacSEVMGRServiceContext()

SEVMGR::FacSEVMGRServiceContext::FacSEVMGRServiceContext ( )
inlineprotected

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

Definition at line 42 of file FacSEVMGRServiceContext.hpp.

Referenced by instance().

Member Function Documentation

◆ instance()

FacSEVMGRServiceContext & SEVMGR::FacSEVMGRServiceContext::instance ( )
static

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

Returns
FacSEVMGRServiceContext&

Definition at line 22 of file FacSEVMGRServiceContext.cpp.

References FacSEVMGRServiceContext().

◆ create()

SEVMGR_ServiceContext & SEVMGR::FacSEVMGRServiceContext::create ( )

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

Returns
SEVMGR_ServiceContext& The newly created object.

Definition at line 34 of file FacSEVMGRServiceContext.cpp.


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