#include <rtt/Toolkit.hpp>

A ToolkitPlugin defines additional user data types for a Toolkit.
Definition at line 54 of file Toolkit.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 std::string | getName ()=0 |
| Each plugin must have a unique name. | |
| virtual bool loadTypes | ( | ) | [pure virtual] |
Implement this method to add types to the Orocos type system.
The TypeInfo class for the interface of a 'type'
The TemplateTypeInfo class for easy addition of new user types in scripting, XML,...
The TypeInfoName class for only 'name' addition of a user type
The TemplateIndexTypeInfo for adding container types.
The RealTimeToolkit for an implementation example.
Implemented in RealTimeToolkitPlugin.
Referenced by Toolkit::Import().
| virtual bool loadOperators | ( | ) | [pure virtual] |
Implement this method to load Scripting operators on types, such as '+', '*', .
..
The detail::UnaryOp, detail::BinaryOp and detail::DotOp classes for the interface of an operation.
The newUnaryOperator, newBinaryOperator and newDotOperator functions for creating new operator objects.
The RealTimeToolkit for an implementation example.
Implemented in RealTimeToolkitPlugin.
Referenced by Toolkit::Import().
| virtual bool 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.
The TypeBuilder class for the interface of a constructor.
The newConstructor utility function for creating a new constructor object.
The RealTimeToolkit for an implementation example.
Implemented in RealTimeToolkitPlugin.
Referenced by Toolkit::Import().
1.5.6