Orocos Real-Time Toolkit
2.8.3
|
This interface defines how additional typekits are loaded into Orocos. More...
#include <rtt/types/TypekitPlugin.hpp>
Public Member Functions | |
virtual | ~TypekitPlugin () |
virtual bool | loadTypes ()=0 |
Implement this method to add types to the Orocos type system. More... | |
virtual bool | loadOperators ()=0 |
Implement this method to load Scripting operators on types, such as '+', '*', ... More... | |
virtual bool | loadConstructors ()=0 |
Implement this method to load Scripting constructors of types, such as in C++. More... | |
virtual bool | loadGlobals () |
Implement this function to add global variables to the type system. More... | |
virtual std::string | getName ()=0 |
Each plugin must have a unique name. More... | |
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.
|
inlinevirtual |
Definition at line 54 of file TypekitPlugin.hpp.
|
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().
|
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().
|
inlinevirtual |
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().
|
pure virtual |
Implement this method to load Scripting operators on types, such as '+', '*', ...
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().
|
pure virtual |
Implement this method to add types to the Orocos type system.
Implemented in RTT::types::RealTimeTypekitPlugin.
Referenced by RTT::types::TypekitRepository::Import().