#include <PlugIn.h>

Public Member Functions | |
| virtual std::string | getVersion () const =0 |
| virtual bool | isProduction () const =0 |
| virtual std::string | getCreator () const =0 |
| virtual std::string | getCopyright () const =0 |
| virtual std::map< std::string, std::string > | getDependencyCopyright () const =0 |
| virtual std::string | getDescription () const =0 |
| virtual std::string | getShortDescription () const =0 |
| virtual std::string | getDescriptorId () const =0 |
| virtual std::string | getType () const =0 |
| virtual std::string | getSubtype () const =0 |
| virtual bool | areMultipleInstancesAllowed () const =0 |
| virtual bool | setId (const SessionItemId &id)=0 |
Protected Member Functions | |
| virtual | ~PlugIn () |
Defines the descriptive abstract interface to all plug-ins. This interface is used to query all plug-ins for textual descriptive information.
Definition at line 29 of file PlugIn.h.
| virtual PlugIn::~PlugIn | ( | ) | [protected, virtual] |
This should be destroyed by calling PlugInManagerServices::destroyPlugIn.
| virtual std::string PlugIn::getVersion | ( | ) | const [pure virtual] |
Returns the plug-in version.
This method returns the plug-in version as a string. For example, "1.1.1" is a valid version string.
Implemented in PlugInShell.
| virtual bool PlugIn::isProduction | ( | ) | const [pure virtual] |
Returns the plug-in production status.
This method returns the plug-in production status as a bool.
Implemented in PlugInShell.
| virtual std::string PlugIn::getCreator | ( | ) | const [pure virtual] |
Returns the name of the organization that created the plug-in.
This method returns the string name of the organization responsible for creating the plug-in. For example, "Ball Aerospace & Technologies Corp." is a valid creator string.
Implemented in PlugInShell.
| virtual std::string PlugIn::getCopyright | ( | ) | const [pure virtual] |
Returns the full copyright information for the plug-in.
Implemented in PlugInShell.
| virtual std::map<std::string, std::string> PlugIn::getDependencyCopyright | ( | ) | const [pure virtual] |
Returns copyright information for plug-in dependencies.
This information will appear in the About box. If information for a given dependency name already exists, it will not be replaced. The copyright message may be formatted with HTML markup.
Implemented in PlugInShell.
| virtual std::string PlugIn::getDescription | ( | ) | const [pure virtual] |
Returns a text description for the plug-in.
This method returns the full textual description for a plug-in. The description string is of arbitrary length.
Implemented in PlugInShell.
| virtual std::string PlugIn::getShortDescription | ( | ) | const [pure virtual] |
Returns a short description for the plug-in.
This method returns a short 50-charater or less description about the plug-in. This short description is used for brief descriptive table entries in the GUI.
Implemented in PlugInShell, and Nitf::TreParserShell.
| virtual std::string PlugIn::getDescriptorId | ( | ) | const [pure virtual] |
Returns a unique id for the type of plug-in.
This method returns a unique id for the plug-in class. This string should be formatted as a UUID. This value must be the same between instances of the application.
Implemented in PlugInShell.
| virtual std::string PlugIn::getType | ( | ) | const [pure virtual] |
Returns the plug-in type.
Default plug-in types include the following:
Implemented in PlugInShell.
| virtual std::string PlugIn::getSubtype | ( | ) | const [pure virtual] |
Returns the plug-in subtype.
Plug-ins can optionally define a subtype to further distinguish between multiple kinds of plug-ins with the same type, typically importers and exporters. The subtype is used internally to populate file selection dialogs so that they contain only a subset of plug-ins of a given type. Default plug-in subtypes include the following:
Implemented in PlugInShell.
| virtual bool PlugIn::areMultipleInstancesAllowed | ( | ) | const [pure virtual] |
Queries whether multiple instances of the plug-in can be instantiated simultaneously.
If multiple instances of a plug-in are allowed, the plug-in should have no static variables and can have instance-independent input and output files.
Implemented in PlugInShell.
| virtual bool PlugIn::setId | ( | const SessionItemId & | id | ) | [pure virtual] |
Sets the id of the session item.
This method will set the id of the item. It will only work if getId has not yet been called.
| id | The new id for the SessionItem. |
true if the id was successfully set, or false otherwise. Implemented in PlugInShell.