ADTF  3.18.2
cServiceLevelmachine
Inheritance diagram for cServiceLevelmachine:
[legend]

Protected Member Functions

 cServiceLevelmachine (const cServiceLevelmachine &)=delete
 
 cServiceLevelmachine (cServiceLevelmachine &&)=delete
 
cServiceLevelmachineoperator= (const cServiceLevelmachine &)=delete
 
cServiceLevelmachineoperator= (cServiceLevelmachine &&)=delete
 
virtual tResult ServiceInit ()
 Init service. More...
 
virtual tResult ServiceShutdown ()
 Shutdown service. More...
 
- Protected Member Functions inherited from level_machine< cServiceLevelmachine, ucom::IService::tServiceState, ucom::IService::tServiceState::Deinitialized >
virtual ~level_machine ()=default
 DTOR.
 
ucom::IService::tServiceState GetLevel () const
 Returns the current Level of the levelMachine. More...
 

Additional Inherited Members

- Public Member Functions inherited from level_machine< cServiceLevelmachine, ucom::IService::tServiceState, ucom::IService::tServiceState::Deinitialized >
tResult ChangeLevel (ucom::IService::tServiceState eLevel)
 Change Level raise or decrease the Level level by level and call the given hendler methods. More...
 
- Protected Types inherited from level_machine< cServiceLevelmachine, ucom::IService::tServiceState, ucom::IService::tServiceState::Deinitialized >
enum  tDirection
 Direction of entering a new Level.
 
typedef tResult(Subclass::* tChangeMethod) ()
 Defintion of function type called within the handler implementation.
 

Detailed Description

Definition at line 17 of file service.h.

Member Function Documentation

◆ ServiceInit()

virtual tResult ServiceInit ( )
protectedvirtual

Init service.

The ServiceInit method is called when the service is initialized.

Returns
Returns a standard result code.

◆ ServiceShutdown()

virtual tResult ServiceShutdown ( )
protectedvirtual

Shutdown service.

The ServiceShutdown method is called when the service is deinitialized.

Returns
Returns a standard result code.