API Guides > ConceptRT 3.x
BackgroundService Class Reference

Background category service. More...

Detailed Description

Background category service.

Warning
Concrete inherited class must implements a constructor or a define method where to call RegisterServiceController() and a virtual destructor where to call UnregisterServiceController(). Inheritance of the concrete inherited service class shouldn't be done to avoid unpredictible behaviour. Registration against the service controller must be done once the whole object is created and Unregistration should be done in the fisrt destruction phase.
+ Inheritance diagram for BackgroundService:

Public Member Methods

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

Additional Inherited Members

- Protected Member Functions inherited from BaseService
virtual void InitialExecute ()
 Initial execution of the service. More...
 
virtual void CyclicExecute ()=0
 Cyclic 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.