ADTF  3.18.2
plugin_info_intf.h
Go to the documentation of this file.
1 
8 #ifndef _ADTF_UCOM_ANT_PLUGIN_INFO_INTERFACE_INCLUDES_HEADER_
9 #define _ADTF_UCOM_ANT_PLUGIN_INFO_INTERFACE_INCLUDES_HEADER_
10 
11 namespace adtf
12 {
13 namespace ucom
14 {
15 namespace ant
16 {
17 
23 class DOEXPORT IPluginInfo : public IObject
24 {
25 public:
30  ADTF_IID(IPluginInfo, "plugininfo.ant.ucom.adtf.iid");
31 
32 
33 public:
38  virtual IPlugin& GetPlugin() const = 0;
39  virtual bool IsValid() const = 0;
40 
41 
42 protected:
44  ~IPluginInfo() = default;
45 };
46 
47 }//namespace ant
48 
49 namespace hollow
50 {
51  class DOEXPORT IPluginInfo : public ant::IPluginInfo
52  {
53  public:
58  ADTF_IID(IPluginInfo, "plugininfo.hollow.ucom.adtf.iid");
59  public:
64  virtual const char * GetUrl() const = 0;
65  };
66 }//namespace hollow
67 
70 
71 }//namespace ucom
72 }//namespace adtf
73 
74 #endif //_ADTF_UCOM_ANT_PLUGIN_INTERFACE_INCLUDES_HEADER_
Base class for every interface type within the uCOM.
Definition: object_intf.h:31
Plugin interface.
Definition: plugin_intf.h:27
~IPluginInfo()=default
Protected destructor --> Use implemented Destroy() instead of delete!
ADTF_IID(IPluginInfo, "plugininfo.ant.ucom.adtf.iid")
Marks the IPlugin to be castable with the ucom_cast<>
ADTF_IID(IPluginInfo, "plugininfo.hollow.ucom.adtf.iid")
Marks the IPlugin to be castable with the adtf::ucom::ant::ucom_cast.
ant::IPluginInfo IPluginInfo
Alias always bringing the latest version of ant::IPlugin into scope.
Namespace for entire ADTF SDK.