RobWorkProject
23.9.11-
|
The Extension class is used to provide additonal functionality from a Plugin to other extension points of either the system or other plugins. More...
#include <Extension.hpp>
Classes | |
struct | Descriptor |
An extension descriptor. More... | |
Public Types | |
typedef rw::core::Ptr< Extension > | Ptr |
Smart pointer type for Extension. | |
Public Member Functions | |
Extension (Descriptor desc, Plugin *owner) | |
Constructor. More... | |
Extension (const std::string &id, const std::string &point, Plugin *owner) | |
Constructor. More... | |
Extension (const std::string &id, const std::string &point, Plugin *owner, rw::core::AnyPtr obj) | |
Constructor. More... | |
virtual | ~Extension () |
Destructor. | |
const std::string & | getId () |
a unique id that uniquely identifies this extension in its owner Plugin | |
const std::string & | getName () |
a human readable name of this plugin (may contain spaces) | |
const std::string & | getPoint () const |
a unique global identifier of the extension point that this extension is attached to | |
rw::core::PropertyMap & | getProperties () |
the properties/configuration of this extension More... | |
const rw::core::PropertyMap & | getProperties () const |
the properties/configuration of this extension | |
virtual rw::core::AnyPtr | getObject () |
Get the object. More... | |
Plugin * | getOwner () |
get the owner plugin | |
Friends | |
class | Plugin |
The Extension class is used to provide additonal functionality from a Plugin to other extension points of either the system or other plugins.
Extension points in RobWork:
rw.core.DOMParser ( rw::core::DOMParser::Factory): for extensions of type rw::core::DOMParser
rw.loaders.CSGEngine (rw::geometry::CSGEngine::Factory): for extensions of type rw::loaders::CSGEngine
rw.graphics.PlotGenerator ( rw::graphics::PlotGenerator::Factory): for extensions of type rw::graphics::PlotGenerator
rw.loaders.ImageLoader (rw::loaders::ImageLoader::Factory): for extensions of type rw::loaders::ImageLoader
rw.loaders.Model3DLoader (rw::loaders::Model3DLoader::Factory): for extensions of type rw::loaders::Model3DLoader
% rw.loaders.WorkCellLoader (rw::loaders::WorkCellLoader::Factory): for extensions of type rw::loaders::WorkCellLoader
rw::pathplanning::QToTPlanner (rw::pathplanning::QToTPlanner::Factory): for extensions of type rw::pathplanning::QToTPlanner
rw.proximity.CollisionStrategy (rw::proximity::CollisionStrategy::Factory): for extensions of type rw::proximity::CollisionStrategy
rw.proximity.CollisionToleranceStrategy (rw::proximity::CollisionToleranceStrategy::Factory): for extensions of type rw::proximity::CollisionToleranceStrategy
rw.proximity.DistanceMultiStrategy (rw::proximity::DistanceMultiStrategy::Factory): for extensions of type rw::proximity::DistanceMultiStrategy
rw.proximity.DistanceStrategy (rw::proximity::DistanceStrategy::Factory): for extensions of type rw::proximity::DistanceStrategy
rw.proximity.ProximityStrategy (rw::proximity::ProximityStrategy::Factory): for extensions of type rw::proximity::ProximityStrategy
rwlibs.assembly.AssemblyControlStrategy (rwlibs::assembly::AssemblyRegistry): for extensions of type rwlibs::assembly::AssemblyControlStrategy
rwlibs.swig.LuaState.LuaLibrary (rwlibs::swig::LuaState::Factory): for extensions of type rwlibs::swig::LuaState::LuaLibrary
% rwlibs.task.TaskLoader (rwlibs::task::TaskLoader::Factory): for extensions of type rwlibs::task::TaskLoader
% rwlibs.task.TaskSaver (rwlibs::task::TaskSaver::Factory): for extensions of type rwlibs::task::TaskSaver
rws.PlotViewPlugin ( rws::PlotViewPlugin::Factory): for extensions of type rws::PlotViewPlugin
rwsim.log.SimulatorLogEntry (rwsim::log::SimulatorLogEntry::Factory): for extensions of type rwsim::log::SimulatorLogEntry
rwsim.simulator.PhysicsEngine (rwsim::simulator::PhysicsEngine::Factory): for extensions of type rwsim::simulator::PhysicsEngine::Dispatcher
rwsimlibs.gui.SimulatorLogEntryWidget (rwsimlibs::gui::SimulatorLogEntryWidget::Factory): for extensions of type rwsimlibs::gui::SimulatorLogEntryWidget::Dispatcher
rwsimlibs.test.EngineTest (rwsimlibs::test::EngineTest::Factory): for extensions of type rwsimlibs::test::EngineTest
Extension | ( | Descriptor | desc, |
Plugin * | owner | ||
) |
Constructor.
desc | [in] Description and configuration of extension. |
owner | [in] the plugin that owns this extension or NULL. |
Constructor.
id | [in] a unique id of the extension. |
point | [in] the extension point. |
owner | [in] the plugin that owns this extension or NULL. |
Extension | ( | const std::string & | id, |
const std::string & | point, | ||
Plugin * | owner, | ||
rw::core::AnyPtr | obj | ||
) |
Constructor.
id | [in] a unique id of the extension. |
point | [in] the extension point. |
owner | [in] the plugin that owns this extension or NULL. |
obj | [in] a pointer to the object. |
|
inlinevirtual |
Get the object.
|
inline |
the properties/configuration of this extension