#include <abstract_service.hpp>
Public Types | |
enum | State { Undefined = 0 , Initializing , Running , Stopped , Failed , Upgrading } |
Public Member Functions | |
bool | initialized () const |
Checks whether service has been successfully initialized. | |
bool | running () const |
Checks whether service is running. | |
ServiceState (int State=Undefined, string description=string()) | |
c++ constructor | |
bool | stopped () const |
Checks whether service is stopped. | |
Public Attributes | |
int | m_state |
Service state value. | |
string | m_stateDescription |
detailed description | |
kanzi::connect::AbstractService::ServiceState::ServiceState | ( | int | State = Undefined, |
string | description = string() ) |
c++ constructor
|
inline |
Checks whether service has been successfully initialized.
|
inline |
Checks whether service is running.
|
inline |
Checks whether service is stopped.
int kanzi::connect::AbstractService::ServiceState::m_state |
Service state value.
string kanzi::connect::AbstractService::ServiceState::m_stateDescription |
detailed description