#include <Plugin.h>
| typedef Plugin*(* cnoid::Plugin::PluginEntry) () |
| Plugin::Plugin |
( |
const char * |
name | ) |
|
| int Plugin::activationPriority |
( |
| ) |
const |
| void Plugin::addOldName |
( |
const char * |
name | ) |
|
|
protected |
When the plugin name is changed but the old project files should be loadable, specify old names of the plugin with this function in the constructor.
| const char * Plugin::description |
( |
| ) |
const |
|
virtual |
| bool Plugin::finalize |
( |
| ) |
|
|
virtual |
| bool Plugin::initialize |
( |
| ) |
|
|
virtual |
| bool Plugin::isUnloadable |
( |
| ) |
const |
| const char * Plugin::LGPLtext |
( |
| ) |
|
|
staticprotected |
| const char * Plugin::name |
( |
| ) |
|
| int Plugin::numOldNames |
( |
| ) |
const |
| int Plugin::numRequisites |
( |
| ) |
const |
| int Plugin::numSubsequences |
( |
| ) |
const |
| const char * Plugin::oldName |
( |
int |
index | ) |
const |
| void Plugin::precede |
( |
const char * |
pluginName | ) |
|
|
protected |
| void Plugin::require |
( |
const char * |
pluginName | ) |
|
|
protected |
When the plugin depends on some other plugins, please specify the plugins to depend with this function in the constructor.
| const char * Plugin::requisite |
( |
int |
index | ) |
const |
| void Plugin::setActivationPriority |
( |
int |
priority | ) |
|
|
protected |
Call this function in the constructor if necessary.
- Parameters
-
| prioirty | A smaller value means a higher priority. The default value is the maximum integer value. The value 0 is set for fundamental plugins which should be initialized before extra plugins. |
| void cnoid::Plugin::setPluginScope |
( |
Item * |
item | ) |
|
|
protected |
| void cnoid::Plugin::setPluginScope |
( |
View * |
view | ) |
|
|
protected |
| void cnoid::Plugin::setPluginScope |
( |
ToolBar * |
toolBar | ) |
|
|
protected |
| void Plugin::setUnloadable |
( |
bool |
on | ) |
|
|
protected |
| const char * Plugin::subsequence |
( |
int |
index | ) |
const |
The documentation for this class was generated from the following files: