RTT::ToolkitPlugin Class Reference

This interface defines how additional toolkits are loaded into Orocos. More...

#include <rtt/ToolkitPlugin.hpp>

Inheritance diagram for RTT::ToolkitPlugin:
RTT::RealTimeToolkitPlugin

List of all members.

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.

Detailed Description

This interface defines how additional toolkits are loaded into Orocos.

A ToolkitPlugin defines additional user data types for a Toolkit.

Definition at line 50 of file ToolkitPlugin.hpp.


Member Function Documentation

virtual bool RTT::ToolkitPlugin::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.

See also:
The TypeInfo class for adding a constructor to a type
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 RTT::RealTimeToolkitPlugin.

virtual bool RTT::ToolkitPlugin::loadOperators (  )  [pure virtual]

Implement this method to load Scripting operators on types, such as '+', '*', .

..

See also:
The OperatorRepository for adding the Operators
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 RTT::RealTimeToolkitPlugin.

virtual bool RTT::ToolkitPlugin::loadTypes (  )  [pure virtual]

Implement this method to add types to the Orocos type system.

See also:
The TypeRepository for adding the types.
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 RTT::RealTimeToolkitPlugin.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:45 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3