Orocos Real-Time Toolkit
2.6.0
|
This interface defines how additional typekits are loaded into Orocos. More...
#include <rtt/types/TypekitPlugin.hpp>
Public Member Functions | |
virtual bool | loadTypes ()=0 |
Implement this method to add types to the Orocos type system. | |
virtual bool | loadOperators ()=0 |
Implement this method to load Scripting operators on types, such as '+', '*', ... | |
virtual bool | loadConstructors ()=0 |
Implement this method to load Scripting constructors of types, such as in C++. | |
virtual bool | loadGlobals () |
Implement this function to add global variables to the type system. | |
virtual std::string | getName ()=0 |
Each plugin must have a unique name. |
This interface defines how additional typekits are loaded into Orocos.
A TypekitPlugin defines additional user data types for a Typekit.
Definition at line 51 of file TypekitPlugin.hpp.
virtual std::string RTT::types::TypekitPlugin::getName | ( | ) | [pure virtual] |
Each plugin must have a unique name.
This name is used globally in the process to identify this instance.
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().
virtual bool RTT::types::TypekitPlugin::loadConstructors | ( | ) | [pure virtual] |
Implement this method to load Scripting constructors of types, such as in C++.
Default constructors (which take no arguments) need not to be added.
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().
virtual bool RTT::types::TypekitPlugin::loadGlobals | ( | ) | [inline, virtual] |
Implement this function to add global variables to the type system.
This is necessary to have something like enumeration values, without being force to look these up in a component.
Reimplemented in RTT::types::RealTimeTypekitPlugin.
Definition at line 99 of file TypekitPlugin.hpp.
Referenced by RTT::types::TypekitRepository::Import().
virtual bool RTT::types::TypekitPlugin::loadOperators | ( | ) | [pure virtual] |
Implement this method to load Scripting operators on types, such as '+', '*', ...
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().
virtual bool RTT::types::TypekitPlugin::loadTypes | ( | ) | [pure virtual] |
Implement this method to add types to the Orocos type system.
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().