Background category service executing a delegate. More...
Background category service executing a delegate.
Public Member Methods | |
DelegateBackgroundService (Delegate< ParameterEmpty > &serviceDelegate) | |
Contructor. More... | |
Public Member Methods inherited from BackgroundService | |
BackgroundService () | |
Contructor. More... | |
Public Member Methods inherited from Service< BackgroundService, PriorityLowest > | |
Service () | |
Constuctor. More... | |
virtual | ~Service () |
Destructor. More... | |
Public Member Methods inherited from BaseService | |
BaseService (BaseServiceController &serviceController) | |
Constuctor. More... | |
void | SetPeriod (TimeSpan period) |
Set the period of the service. More... | |
TimeSpan | GetPeriod () const |
Gets the service period. More... | |
Protected Member Functions | |
void | CyclicExecute () |
Cyclic execution of the service. More... | |
Protected Member Functions inherited from BaseService | |
virtual void | InitialExecute () |
Initial execution of the service. More... | |
virtual void | FinalExecute () |
Final execution of the service. More... | |
void | UnregisterServiceController () |
Method used by inherited class to unregister the service controller. More... | |
void | RegisterServiceController () |
Method used by inherited class to register the service controller once completely created. More... | |
DelegateBackgroundService | ( | Delegate< ParameterEmpty > & | serviceDelegate | ) |
Contructor.
serviceDelegate | Delegate called by the service. |
|
protectedvirtual |
Cyclic execution of the service.
Implements BaseService.