#include <Plugin.h>
◆ PluginEntry
typedef Plugin*(* cnoid::Plugin::PluginEntry) () |
◆ Plugin()
Plugin::Plugin |
( |
const std::string & |
name | ) |
|
◆ ~Plugin()
◆ activationPriority()
int Plugin::activationPriority |
( |
| ) |
const |
◆ addOldName()
void Plugin::addOldName |
( |
const std::string & |
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.
◆ description()
const char * Plugin::description |
( |
| ) |
const |
|
virtual |
◆ filePath()
const std::string & Plugin::filePath |
( |
| ) |
const |
◆ finalize()
bool Plugin::finalize |
( |
| ) |
|
|
virtual |
◆ initialize()
bool Plugin::initialize |
( |
| ) |
|
|
virtual |
◆ internalVersion()
unsigned int Plugin::internalVersion |
( |
| ) |
const |
◆ isActive()
bool cnoid::Plugin::isActive |
( |
| ) |
const |
|
inline |
◆ isUnloadable()
bool Plugin::isUnloadable |
( |
| ) |
const |
◆ LGPLtext()
const char * Plugin::LGPLtext |
( |
| ) |
|
|
staticprotected |
◆ MITLicenseText()
const char * Plugin::MITLicenseText |
( |
| ) |
|
|
staticprotected |
◆ name()
const std::string & Plugin::name |
( |
| ) |
const |
◆ numOldNames()
int Plugin::numOldNames |
( |
| ) |
const |
◆ numRequisites()
int Plugin::numRequisites |
( |
| ) |
const |
◆ numSubsequences()
int Plugin::numSubsequences |
( |
| ) |
const |
◆ oldName()
const std::string & Plugin::oldName |
( |
int |
index | ) |
const |
◆ precede()
void Plugin::precede |
( |
const std::string & |
pluginName | ) |
|
|
protected |
◆ require()
void Plugin::require |
( |
const std::string & |
pluginName | ) |
|
|
protected |
When the plugin depends on some other plugins, please specify the plugins to depend with this function in the constructor.
◆ requisite()
const string & Plugin::requisite |
( |
int |
index | ) |
const |
◆ setActivationPriority()
void Plugin::setActivationPriority |
( |
int |
priority | ) |
|
|
protected |
Call this function in the constructor if necessary.
- Parameters
-
priority | 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. |
◆ setInternalVersion()
void Plugin::setInternalVersion |
( |
unsigned int |
version | ) |
|
◆ setPluginScope() [1/3]
void cnoid::Plugin::setPluginScope |
( |
Item * |
item | ) |
|
|
protected |
◆ setPluginScope() [2/3]
void cnoid::Plugin::setPluginScope |
( |
ToolBar * |
toolBar | ) |
|
|
protected |
◆ setPluginScope() [3/3]
void cnoid::Plugin::setPluginScope |
( |
View * |
view | ) |
|
|
protected |
◆ setUnloadable()
void Plugin::setUnloadable |
( |
bool |
on | ) |
|
|
protected |
◆ subsequence()
const std::string & Plugin::subsequence |
( |
int |
index | ) |
const |
◆ PluginManager
The documentation for this class was generated from the following files: