8 #ifndef _ADTF_UCOM_ANT_PLUGIN_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_PLUGIN_INTERFACE_INCLUDES_HEADER_
tVoid * tHandle
type definition for a handle value (platform and compiler dependent type).
A common result class usable as return value throughout.
Base class for every interface type within the uCOM.
virtual tHandle GetHandle() const =0
Get native handle.
virtual tPluginState GetState() const =0
Get plugin state.
virtual const char * GetLabel() const =0
Returns a label for the plugin.
virtual tResult SetState(tPluginState eState)=0
Changes the state of the plugin.
virtual void SetHandle(tHandle hModule)=0
Sets the native handle (during loading of the plugin)
virtual tResult GetClassFactory(iobject_ptr< const IClassFactory > &pClassFactory) const =0
Retrieve the class factory of the plugin.
~IPlugin()=default
Protected destructor --> Use implemented Destroy() instead of delete!
tPluginBuildType
lists the several types of plugin states
virtual uint32_t GetBuildType() const =0
Returns the versions of the plugin.
virtual iterator_adapter< const tNamedVersion, pointer_iterator > GetVersions() const =0
Returns the versions of the plugin.
ADTF_IID(IPlugin, "plugin.ant.ucom.adtf.iid")
Marks the IPlugin to be castable with the ucom_cast<>
tPluginState
lists the several types of plugin states
Base object pointer to realize binary compatible reference counting in interface methods.
ant::IClassFactory IClassFactory
Alias always bringing the latest version of ant::IClassFactory into scope.
ant::tNamedVersion tNamedVersion
Alias alwas bringing the latest version of ant::tNamedVersion into scope.
Namespace for entire ADTF SDK.
Adapter for begin and end iterators - usable as return and parameter value in interfaces.
Empty struct template to specialize implementations of iterator interfaces.