API Guides > ConceptRT 3.x
DelegateBackgroundService Class Reference

Background category service executing a delegate. More...

Detailed Description

Background category service executing a delegate.

See also
Delegate
Note
The execution should not block the caller thread.
+ Inheritance diagram for DelegateBackgroundService:

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...
 

Constructor & Destructor Documentation

Contructor.

Parameters
serviceDelegateDelegate called by the service.

Methods Documentation

void CyclicExecute ( )
protectedvirtual

Cyclic execution of the service.

Note
The execution should not block the caller thread.

Implements BaseService.