API Guides > ConceptRT 3.x
ServiceControllers Class Reference

Singleton ServiceControllers More...

Detailed Description

Singleton ServiceControllers

Manage globally all the services mechanisms.

+ Inheritance diagram for ServiceControllers:

Public Member Methods

void RequestTerminate ()
 Ask the termination of all the service controllers. More...
 
bool WaitTerminated (TimeSpan timeout=TimeInfinite)
 Wait for the service controllers to terminate. More...
 

Public Attributes

CriticalSection ServiceGlobalLock
 Global services lock. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< ServiceControllers >
static ServiceControllersGetInstancePointer ()
 Gets the instance pointer. More...
 
static ServiceControllersGetInstance ()
 Gets the instance. More...
 
static void DeleteInstance (bool allowNewCreation=false)
 Deletes the instance. More...
 
static bool IsCreated ()
 Query if the singleton instance has already been created. More...
 

Methods Documentation

void RequestTerminate ( )

Ask the termination of all the service controllers.

bool WaitTerminated ( TimeSpan  timeout = TimeInfinite)

Wait for the service controllers to terminate.

Parameters
timeout(optional) the time out. Default = TimeInfinite
Returns
true if it succeeds, false if a timeout occurs.

Fields Documentation

CriticalSection ServiceGlobalLock

Global services lock.