7 #include <stdair/service/FacSupervisor.hpp> 14 FacTRADEMGENServiceContext* FacTRADEMGENServiceContext::_instance = NULL;
24 if (_instance == NULL) {
26 assert (_instance != NULL);
28 stdair::FacSupervisor::instance().registerServiceFactory (_instance);
35 create (
const stdair::RandomSeed_T& iRandomSeed) {
39 assert (aServiceContext_ptr != NULL);
42 _pool.push_back (aServiceContext_ptr);
44 return *aServiceContext_ptr;
static FacTRADEMGENServiceContext & instance()
Factory for creating the TraDemGen service context instance.
TRADEMGEN_ServiceContext & create(const stdair::RandomSeed_T &)
~FacTRADEMGENServiceContext()
Class holding the context of the Trademgen services.
FacTRADEMGENServiceContext()