ParaView
|
information about plugins tracked by vtkPVPluginTracker. More...
#include <vtkPVPluginsInformation.h>
Public Types | |
typedef vtkPVInformation | Superclass |
![]() | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
const char * | GetPluginStatusMessage (unsigned int) |
Note that unlike other properties, this one is updated as a consequence of calling PluginRequirementsSatisfied(). More... | |
void | SetAutoLoad (unsigned int cc, bool) |
API to change auto-load status. More... | |
void | SetAutoLoadAndForce (unsigned int cc, bool) |
This is a hack. More... | |
virtual void | CopyFromObject (vtkObject *) |
Transfer information about a single object into this object. More... | |
virtual void | AddInformation (vtkPVInformation *) |
Merge another information object. More... | |
void | Update (vtkPVPluginsInformation *other) |
Updates the local information with elements from other without overriding auto-load state. More... | |
unsigned int | GetNumberOfPlugins () |
API to iterate over the information collected for each plugin. More... | |
const char * | GetPluginName (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
const char * | GetPluginFileName (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
const char * | GetPluginVersion (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
bool | GetPluginLoaded (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
const char * | GetRequiredPlugins (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
bool | GetRequiredOnServer (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
bool | GetRequiredOnClient (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
bool | GetAutoLoad (unsigned int) |
API to iterate over the information collected for each plugin. More... | |
virtual void | CopyToStream (vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual void | CopyFromStream (const vtkClientServerStream *) |
Manage a serialized version of the information. More... | |
virtual char * | GetSearchPaths () |
Get the plugin search path. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | CopyParametersToStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
virtual void | CopyParametersFromStream (vtkMultiProcessStream &) |
Serialize/Deserialize the parameters that control how/what information is gathered. More... | |
virtual int | GetRootOnly () |
Set/get whether to gather information only from the root. More... | |
Static Public Member Functions | |
static vtkPVPluginsInformation * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVPluginsInformation * | SafeDownCast (vtkObject *o) |
static bool | PluginRequirementsSatisfied (vtkPVPluginsInformation *client_plugins, vtkPVPluginsInformation *server_plugins) |
Method to validate if the plugin requirements are met across processes. More... | |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVInformation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPVPluginsInformation () | |
~vtkPVPluginsInformation () | |
virtual void | SetSearchPaths (const char *) |
![]() | |
vtkPVInformation () | |
~vtkPVInformation () | |
virtual void | SetRootOnly (int) |
vtkPVInformation (const vtkPVInformation &) VTK_DELETE_FUNCTION | |
void | operator= (const vtkPVInformation &) VTK_DELETE_FUNCTION |
Protected Attributes | |
char * | SearchPaths |
![]() | |
int | RootOnly |
information about plugins tracked by vtkPVPluginTracker.
vtkPVPluginsInformation is used to collect information about plugins tracked by vtkPVPluginTracker.
Definition at line 30 of file vtkPVPluginsInformation.h.
Definition at line 34 of file vtkPVPluginsInformation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
|
static |
|
virtual |
Reimplemented from vtkPVInformation.
|
static |
void vtkPVPluginsInformation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
unsigned int vtkPVPluginsInformation::GetNumberOfPlugins | ( | ) |
API to iterate over the information collected for each plugin.
const char* vtkPVPluginsInformation::GetPluginName | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
const char* vtkPVPluginsInformation::GetPluginFileName | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
const char* vtkPVPluginsInformation::GetPluginVersion | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
bool vtkPVPluginsInformation::GetPluginLoaded | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
const char* vtkPVPluginsInformation::GetRequiredPlugins | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
bool vtkPVPluginsInformation::GetRequiredOnServer | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
bool vtkPVPluginsInformation::GetRequiredOnClient | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
bool vtkPVPluginsInformation::GetAutoLoad | ( | unsigned | int | ) |
API to iterate over the information collected for each plugin.
const char* vtkPVPluginsInformation::GetPluginStatusMessage | ( | unsigned | int | ) |
Note that unlike other properties, this one is updated as a consequence of calling PluginRequirementsSatisfied().
void vtkPVPluginsInformation::SetAutoLoad | ( | unsigned int | cc, |
bool | |||
) |
API to change auto-load status.
void vtkPVPluginsInformation::SetAutoLoadAndForce | ( | unsigned int | cc, |
bool | |||
) |
This is a hack.
When the user sets an auto-load option from the GUI to avoid that choice being overwritten as the information object is updated over time as new plugins are loaded/unloaded, the pqPluginDialog uses this method to set the auto-load flag. This flag is not communicated across processes, but when called, GetAutoLoad() will return the value set using this method.
|
virtual |
Transfer information about a single object into this object.
Reimplemented from vtkPVInformation.
|
virtual |
Merge another information object.
Reimplemented from vtkPVInformation.
void vtkPVPluginsInformation::Update | ( | vtkPVPluginsInformation * | other | ) |
Updates the local information with elements from other without overriding auto-load state.
|
virtual |
Manage a serialized version of the information.
Implements vtkPVInformation.
|
virtual |
Manage a serialized version of the information.
Reimplemented from vtkPVInformation.
|
virtual |
Get the plugin search path.
|
static |
Method to validate if the plugin requirements are met across processes.
This also updated the "StatusMessage" for all the plugins. If StatusMessage is empty for a loaded plugin, it implies that everything is fine. If some requirement is not met, the StatusMessage includes the error message.
|
protectedvirtual |
|
protected |
Definition at line 117 of file vtkPVPluginsInformation.h.