RealTimeToolkitPlugin Class Reference

#include <rtt/RealTimeToolkit.hpp>

Inheritance diagram for RealTimeToolkitPlugin:

ToolkitPlugin

List of all members.


Detailed Description

This interface defines the types of the realTime package.

Definition at line 50 of file RealTimeToolkit.hpp.


Public Member Functions

virtual std::string getName ()
 Each plugin must have a unique name.
virtual bool loadTypes ()
 Implement this method to add types to the Orocos type system.
virtual bool loadOperators ()
 Implement this method to load Scripting operators on types, such as '+', '*', .
virtual bool loadConstructors ()
 Implement this method to load Scripting constructors of types, such as in C++.

Member Function Documentation

bool loadTypes (  )  [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.

Implements ToolkitPlugin.

Definition at line 123 of file RealTimeToolkit.cpp.

References TypeInfoRepository::Instance().

bool loadOperators (  )  [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.

Implements ToolkitPlugin.

Definition at line 298 of file RealTimeToolkit.cpp.

References OperatorRepository::Instance(), RTT::newBinaryOperator(), RTT::newDotOperator(), and RTT::newUnaryOperator().

bool loadConstructors (  )  [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.

Implements ToolkitPlugin.

Definition at line 285 of file RealTimeToolkit.cpp.

References TypeInfoRepository::Instance(), and RTT::newConstructor().


The documentation for this class was generated from the following files:
Generated on Tue Mar 25 17:41:57 2008 for OrocosReal-TimeToolkit by  doxygen 1.5.3