Go to the documentation of this file.
10#include <QtCore/QByteArray>
29 template <
class Interface>
36template <
class Interface>
42 if (info.
IsValid() && (componentPtr !=
nullptr)){
43 return static_cast<Interface*
>(componentPtr->
GetInterface(info, subId));
static Interface * ExtractInterface(IComponent *componentPtr, const QByteArray &subId="")
Extract interface from component.
Main component interface.
virtual void * GetInterface(const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
Get access to specified component interface.
Represents platform independent type info and provide set of static class manipulation functions.
static CClassInfo GetInfo()
Get class name defined as template parameter.
bool IsValid() const
Check if this class info object is valid.
Base implementation for operations on composed ID objects.
Package with interfaces and class used for components concept.
© Witold Gantzke and Kirill Lepskiy