|
ParaView
|
pqInterfaceTracker is used by ParaView components to locate interface-implementations. More...
#include <pqInterfaceTracker.h>
Signals | |
| void | interfaceRegistered (QObject *iface) |
| fired every time an interface is registered either from a plugin on manually. | |
Public Member Functions | |
| pqInterfaceTracker (QObject *parent=0) | |
| virtual | ~pqInterfaceTracker () |
| QObjectList | interfaces () const |
| Return all interfaces that have been loaded/registered. | |
| template<class T > | |
| QList< T > | interfaces () const |
| Returns all interfaces that have been loaded/registered that are of the requested type. | |
| void | addInterface (QObject *iface) |
| add an extra interface. | |
| void | removeInterface (QObject *iface) |
| remove an extra interface | |
| void | initialize () |
| initializes the tracker using existing plugins. | |
Protected Member Functions | |
| void | onPluginLoaded (vtkObject *, unsigned long, void *calldata) |
| Callback when a plugin is loaded. | |
Protected Attributes | |
| QObjectList | Interfaces |
| QObjectList | RegisteredInterfaces |
| unsigned long | ObserverID |
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 45 of file pqInterfaceTracker.h.
| pqInterfaceTracker::pqInterfaceTracker | ( | QObject * | parent = 0 | ) |
| virtual pqInterfaceTracker::~pqInterfaceTracker | ( | ) | [virtual] |
| QObjectList pqInterfaceTracker::interfaces | ( | ) | const [inline] |
Return all interfaces that have been loaded/registered.
Definition at line 54 of file pqInterfaceTracker.h.
| QList<T> pqInterfaceTracker::interfaces | ( | ) | const [inline] |
Returns all interfaces that have been loaded/registered that are of the requested type.
Definition at line 60 of file pqInterfaceTracker.h.
| void pqInterfaceTracker::addInterface | ( | QObject * | iface | ) |
add an extra interface.
these interfaces are appended to the ones loaded from plugins
| void pqInterfaceTracker::removeInterface | ( | QObject * | iface | ) |
remove an extra interface
| void pqInterfaceTracker::initialize | ( | ) |
initializes the tracker using existing plugins.
| void pqInterfaceTracker::interfaceRegistered | ( | QObject * | iface | ) | [signal] |
fired every time an interface is registered either from a plugin on manually.
| 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.
QObjectList pqInterfaceTracker::Interfaces [protected] |
Definition at line 94 of file pqInterfaceTracker.h.
QObjectList pqInterfaceTracker::RegisteredInterfaces [protected] |
Definition at line 95 of file pqInterfaceTracker.h.
unsigned long pqInterfaceTracker::ObserverID [protected] |
Definition at line 96 of file pqInterfaceTracker.h.
1.7.5.1