pqInterfaceTracker is used by ParaView components to locate interface-implementations.
More...
#include <pqInterfaceTracker.h>
Inherits QObject.
pqInterfaceTracker is used by ParaView components to locate interface-implementations.
These implementations can be either those loaded from plugins or registered explicitly using addInterface/removeInterface API. In previous versions of ParaView, this role was performed by the pqPluginManager class itself.
Definition at line 19 of file pqInterfaceTracker.h.
◆ pqInterfaceTracker()
| pqInterfaceTracker::pqInterfaceTracker |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~pqInterfaceTracker()
| pqInterfaceTracker::~pqInterfaceTracker |
( |
| ) |
|
|
override |
◆ interfaces() [1/2]
| QObjectList pqInterfaceTracker::interfaces |
( |
| ) |
const |
|
inline |
◆ interfaces() [2/2]
template<class T >
| QList<T> pqInterfaceTracker::interfaces |
( |
| ) |
const |
|
inline |
Returns all interfaces that have been loaded/registered that are of the requested type.
Definition at line 38 of file pqInterfaceTracker.h.
◆ addInterface()
| void pqInterfaceTracker::addInterface |
( |
QObject * |
iface | ) |
|
add an extra interface.
these interfaces are appended to the ones loaded from plugins
◆ removeInterface()
| void pqInterfaceTracker::removeInterface |
( |
QObject * |
iface | ) |
|
remove an extra interface
◆ initialize()
| void pqInterfaceTracker::initialize |
( |
| ) |
|
initializes the tracker using existing plugins.
◆ interfaceRegistered
| void pqInterfaceTracker::interfaceRegistered |
( |
QObject * |
iface | ) |
|
|
signal |
fired every time an interface is registered either from a plugin on manually.
◆ onPluginLoaded()
| void pqInterfaceTracker::onPluginLoaded |
( |
vtkObject * |
, |
|
|
unsigned |
long, |
|
|
void * |
calldata |
|
) |
| |
|
protected |
Callback when a plugin is loaded.
We locate and load any interafaces defined in the plugin.
◆ Interfaces
| QObjectList pqInterfaceTracker::Interfaces |
|
protected |
◆ RegisteredInterfaces
| QObjectList pqInterfaceTracker::RegisteredInterfaces |
|
protected |
◆ ObserverID
| unsigned long pqInterfaceTracker::ObserverID |
|
protected |
The documentation for this class was generated from the following file: