8 #ifndef _ADTF_UCOM_ANT_SERVICE_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_SERVICE_INTERFACE_INCLUDES_HEADER_
194 SE_ChangeRunLevel = 5
198 enum class tServiceState: uint32_t
206 virtual tServiceState GetState()
const = 0;
208 virtual tResult SetState(tServiceState eState) = 0;
225 uint32_t ui32Param1 = 0,
226 uint32_t ui32Param2 = 0,
227 void* pvData =
nullptr,
A common result class usable as return value throughout.
The IObjectInfo interface provides methods for getting and setting class information.
The IService interface provides defines methods for system services.
ADTF_IID(IService, "service.ant.ucom.adtf.iid")
Marks the IService to be castable with the ucom_cast<>
tServiceEvent
Service event identifiers called through IService::ServiceEvent.
virtual tResult ServiceEvent(int nEventId, uint32_t ui32Param1=0, uint32_t ui32Param2=0, void *pvData=nullptr, int szData=0)=0
Signal service event.
~IService()=default
Protected destructor --> Use implemented Destroy() instead of delete!
ant::IService IService
Alias always bringing the latest version of ant::IService into scope.
Namespace for entire ADTF SDK.