8 #ifndef _ADTF_UCOM_ANT_OBJECT_INFO_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_OBJECT_INFO_INTERFACE_INCLUDES_HEADER_
41 virtual void SetOID(
const char* strName) = 0;
50 virtual const char*
GetOID()
const = 0;
64 #define ADTF_OBJECT_INFO_IMPL(_variable_) \
65 adtf::util::cString _variable_; \
66 void SetOID(const char* strOID) override \
68 _variable_ = strOID; \
70 const char* GetOID() const override \
72 return _variable_.GetPtr(); \
@ brief The IClassInfo interface provides a standardized way to access type information.
The IObjectInfo interface provides methods for getting and setting class information.
ADTF_IID(IObjectInfo, "object_info.ant.ucom.adtf.iid")
Marks the IObjectInfo to be castable with the ucom_cast<>
~IObjectInfo()=default
Protected destructor --> Use implemented Destroy() instead of delete!
virtual const char * GetOID() const =0
Returns the object instance name.
virtual void SetOID(const char *strName)=0
Sets the object instance name.
ant::IObjectInfo IObjectInfo
Alias always bringing the latest version of ant::IObjectInfo into scope.
Namespace for entire ADTF SDK.