Orocos Real-Time Toolkit
2.9.0
|
This interface defines the types of the realTime package. More...
#include <rtt/typekit/RealTimeTypekit.hpp>
Public Member Functions | |
virtual std::string | getName () |
Each plugin must have a unique name. More... | |
virtual bool | loadTypes () |
Implement this method to add types to the Orocos type system. More... | |
virtual bool | loadOperators () |
Implement this method to load Scripting operators on types, such as '+', '*', ... More... | |
virtual bool | loadConstructors () |
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... | |
This interface defines the types of the realTime package.
Definition at line 52 of file RealTimeTypekit.hpp.
|
virtual |
Each plugin must have a unique name.
This name is used globally in the process to identify this instance.
Implements RTT::types::TypekitPlugin.
Definition at line 49 of file RealTimeTypekit.cpp.
References ORO_TYPEKIT_PLUGIN.
|
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.
Implements RTT::types::TypekitPlugin.
Definition at line 217 of file RealTimeTypekitConstructors.cpp.
References RTT::types::TypeInfoRepository::Instance(), and RTT::types::newConstructor().
|
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 from RTT::types::TypekitPlugin.
Definition at line 53 of file RealTimeTypekitGlobals.cpp.
References RTT::ConnPolicy::BUFFER, RTT::ConnPolicy::CIRCULAR_BUFFER, RTT::ConnPolicy::DATA, RTT::ConnPolicy::Default(), RTT::types::GlobalsRepository::Instance(), RTT::ConnPolicy::LOCK_FREE, RTT::ConnPolicy::LOCKED, RTT::NewData, RTT::NoData, RTT::NotConnected, RTT::OldData, ORO_SCHED_OTHER, ORO_SCHED_RT, ORO_WAIT_ABS, ORO_WAIT_REL, RTT::PerConnection, RTT::PerInputPort, RTT::PerOutputPort, RTT::SendFailure, RTT::SendNotReady, RTT::SendSuccess, RTT::Shared, RTT::UnspecifiedBufferPolicy, RTT::ConnPolicy::UNSYNC, RTT::WriteFailure, and RTT::WriteSuccess.
|
virtual |
Implement this method to load Scripting operators on types, such as '+', '*', ...
Implements RTT::types::TypekitPlugin.
Definition at line 107 of file RealTimeTypekitOperators.cpp.
References RTT::types::OperatorRepository::Instance(), RTT::types::newBinaryOperator(), and RTT::types::newUnaryOperator().
|
virtual |
Implement this method to add types to the Orocos type system.
Implements RTT::types::TypekitPlugin.
Definition at line 60 of file RealTimeTypekitTypes.cpp.
References RTT::types::TypeInfoRepository::Instance(), RTT::types::loadOrocosTypes(), and RTT::types::loadStdTypes().