Public Member Functions
RTT::types::TypekitPlugin Class Reference

#include <TypekitPlugin.hpp>

Inheritance diagram for RTT::types::TypekitPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual std::string getName ()=0
virtual bool loadConstructors ()=0
virtual bool loadGlobals ()
virtual bool loadOperators ()=0
virtual bool loadTypes ()=0
virtual ~TypekitPlugin ()

Detailed Description

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.


Constructor & Destructor Documentation

virtual RTT::types::TypekitPlugin::~TypekitPlugin ( ) [inline, virtual]

Definition at line 54 of file TypekitPlugin.hpp.


Member Function Documentation

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, TypesPluginTest, and TypesPluginTest.

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.

See also:
The TypeInfo class for adding a constructor to a type
The TypeConstructor class for the interface of a constructor.
The newConstructor utility function for creating a new constructor object.
The RealTimeTypekit for an implementation example.

Implemented in RTT::types::RealTimeTypekitPlugin, TypesPluginTest, and TypesPluginTest.

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, TypesPluginTest, and TypesPluginTest.

Definition at line 99 of file TypekitPlugin.hpp.

virtual bool RTT::types::TypekitPlugin::loadOperators ( ) [pure virtual]

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

See also:
The OperatorRepository for adding the Operators
The UnaryOp, BinaryOp and DotOp classes for the interface of an operation.
The newUnaryOperator, newBinaryOperator and newDotOperator functions for creating new operator objects.
The RealTimeTypekit for an implementation example.

Implemented in RTT::types::RealTimeTypekitPlugin, TypesPluginTest, and TypesPluginTest.

virtual bool RTT::types::TypekitPlugin::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 RealTimeTypekit for an implementation example.

Implemented in RTT::types::RealTimeTypekitPlugin, TypesPluginTest, and TypesPluginTest.


The documentation for this class was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:26