Choreonoid  1.8
Public Member Functions | Static Public Member Functions | List of all members
cnoid::PythonPlugin Class Reference

#include <PythonPlugin.h>

Inheritance diagram for cnoid::PythonPlugin:
cnoid::Plugin cnoid::ExtensionManager

Public Member Functions

 PythonPlugin ()
 
python::module mainModule ()
 
python::object globalNamespace ()
 
python::module sysModule ()
 
python::object exitException ()
 
python::module rollbackImporterModule ()
 
virtual bool initialize () override
 
virtual bool finalize () override
 
- Public Member Functions inherited from cnoid::Plugin
 Plugin (const std::string &name)
 
virtual ~Plugin ()
 
const std::string & name () const
 
const std::string & filePath () const
 
bool isActive () const
 
bool isUnloadable () const
 
const std::string & requisite (int index) const
 
int numRequisites () const
 
const std::string & subsequence (int index) const
 
int numSubsequences () const
 
const std::string & oldName (int index) const
 
int numOldNames () const
 
virtual const char * description () const
 
int activationPriority () const
 
unsigned int internalVersion () const
 
void setInternalVersion (unsigned int version)
 
- Public Member Functions inherited from cnoid::ExtensionManager
 ExtensionManager (const std::string &moduleName, bool isPlugin)
 
 ExtensionManager (const std::string &moduleName, const std::string &version, bool isPlugin)
 
virtual ~ExtensionManager ()
 
const std::string & name () const
 
const std::string & textDomain () const
 
ItemManageritemManager ()
 
ViewManagerviewManager ()
 
MenuManagermenuManager ()
 
OptionManageroptionManager ()
 
void addToolBar (ToolBar *toolBar)
 
void mountToolBar (ToolBar *toolBar)
 
template<class PointerType >
PointerType manage (PointerType pointer)
 
SignalProxy< void()> sigSystemUpdated ()
 
SignalProxy< void()> sigReleaseRequest ()
 
void setProjectArchiver (const std::string &name, std::function< bool(Archive &)> storeFunction, std::function< void(const Archive &)> restoreFunction)
 
void setProjectArchiver (std::function< bool(Archive &)> storeFunction, std::function< void(const Archive &)> restoreFunction)
 

Static Public Member Functions

static PythonPlugininstance ()
 
- Static Public Member Functions inherited from cnoid::ExtensionManager
static void notifySystemUpdate ()
 

Additional Inherited Members

- Public Types inherited from cnoid::Plugin
typedef Plugin *(* PluginEntry) ()
 
- Protected Member Functions inherited from cnoid::Plugin
void setPluginScope (Item *item)
 
void setPluginScope (View *view)
 
void setPluginScope (ToolBar *toolBar)
 
void setUnloadable (bool on)
 
void require (const std::string &pluginName)
 
void precede (const std::string &pluginName)
 
void setActivationPriority (int priority)
 
void addOldName (const std::string &name)
 
- Static Protected Member Functions inherited from cnoid::Plugin
static const char * MITLicenseText ()
 
static const char * LGPLtext ()
 

Constructor & Destructor Documentation

◆ PythonPlugin()

PythonPlugin::PythonPlugin ( )

Member Function Documentation

◆ exitException()

python::object PythonPlugin::exitException ( )

◆ finalize()

bool PythonPlugin::finalize ( )
overridevirtual

Reimplemented from cnoid::Plugin.

◆ globalNamespace()

python::object PythonPlugin::globalNamespace ( )

◆ initialize()

bool PythonPlugin::initialize ( )
overridevirtual

Reimplemented from cnoid::Plugin.

◆ instance()

PythonPlugin * PythonPlugin::instance ( )
static

◆ mainModule()

python::module PythonPlugin::mainModule ( )

◆ rollbackImporterModule()

python::module PythonPlugin::rollbackImporterModule ( )

◆ sysModule()

python::module PythonPlugin::sysModule ( )

The documentation for this class was generated from the following files: