32 #ifndef pqInterfaceTracker_h 33 #define pqInterfaceTracker_h 35 #include "pqCoreModule.h" 48 typedef QObject Superclass;
55 {
return this->Interfaces + this->RegisteredInterfaces; }
63 QObjectList objList = this->interfaces();
64 foreach (QObject*
object, objList)
66 if (
object && qobject_cast<T>(
object))
68 list.push_back(qobject_cast<T>(
object));
76 void addInterface(QObject* iface);
79 void removeInterface(QObject* iface);
86 void interfaceRegistered(QObject* iface);
91 void onPluginLoaded(vtkObject*,
unsigned long,
void* calldata);
QObjectList RegisteredInterfaces
QObjectList interfaces() const
Return all interfaces that have been loaded/registered.
QList< T > interfaces() const
Returns all interfaces that have been loaded/registered that are of the requested type...
pqInterfaceTracker is used by ParaView components to locate interface-implementations.