7 #ifndef _UCOM_SERVICE_CLASS_HEADER_
8 #define _UCOM_SERVICE_CLASS_HEADER_
18 ucom::IService::tServiceState,
19 ucom::IService::tServiceState::Deinitialized >
58 std::vector<IEventSink*> m_oEventSinks;
61 ADTF_OBJECT_INFO_IMPL(m_strOID);
68 tServiceState GetState()
const override;
70 tResult SetState(tServiceState eState)
override;
72 tResult ServiceEvent(
int nEventId,
73 uint32_t ui32Param1 = 0,
74 uint32_t ui32Param2 = 0,
75 void* pvData =
nullptr,
76 int szData = 0)
override;
#define UCOM_RESOLVE(...)
Resolve a path to a base class which is inherited multiple times.
#define ADTF_CLASS_INFO_IMPL(_class)
Common macro to implement correct treatment of adtf::ucom::ant::IClassInfo.
#define ADTF_CLASS_ID(_class, _strcid)
ADTF_CLASS_INFO_IMPL.
A common result class usable as return value throughout.
Base class for every interface type within the uCOM.
The IService interface provides defines methods for system services.
virtual tResult ServiceInit()
Init service.
virtual tResult ServiceShutdown()
Shutdown service.
Generator template to create a Basic Level Machine implmentation.
Use this template if you want to implement an ucom::ant::IObject based Interface and/or subclass an e...
Namespace for entire ADTF SDK.