Singleton ServiceControllers More...
Manage globally all the services mechanisms.
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 ServiceControllers * | GetInstancePointer () |
Gets the instance pointer. More... | |
static ServiceControllers & | GetInstance () |
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... | |
void RequestTerminate | ( | ) |
Ask the termination of all the service controllers.
bool WaitTerminated | ( | TimeSpan | timeout = TimeInfinite | ) |
Wait for the service controllers to terminate.
timeout | (optional) the time out. Default = TimeInfinite |
CriticalSection ServiceGlobalLock |
Global services lock.