Public Member Functions | Private Member Functions | Private Attributes | List of all members
KDLTypekitTestComponent Class Reference
Inheritance diagram for KDLTypekitTestComponent:
Inheritance graph
[legend]

Public Member Functions

 KDLTypekitTestComponent (const string &name)
 
void updateHook ()
 
- Public Member Functions inherited from RTT::TaskContext
bool addAttribute (const std::string &name, T &attr)
 
bool addAttribute (base::AttributeBase &a)
 
bool addAttribute (base::AttributeBase &a)
 
bool addAttribute (const std::string &name, T &attr)
 
bool addConstant (const std::string &name, const T &attr)
 
bool addConstant (const std::string &name, const T &attr)
 
base::InputPortInterfaceaddEventPort (const std::string &name, base::InputPortInterface &port, SlotFunction callback=SlotFunction())
 
base::InputPortInterfaceaddEventPort (base::InputPortInterface &port, SlotFunction callback=SlotFunction())
 
Operation< Signature > & addOperation (Operation< Signature > &op)
 
Operation< Signature > & addOperation (Operation< Signature > &op)
 
Operation< typename internal::GetSignature< Func >::Signature > & addOperation (const std::string name, Func func, Service *serv, ExecutionThread et=ClientThread)
 
Operation< Signature > & addOperation (const std::string name, Signature *func, ExecutionThread et=ClientThread)
 
Operation< typename internal::GetSignature< Func >::Signature > & addOperation (const std::string name, Func func, Service *serv, ExecutionThread et=ClientThread)
 
Operation< Signature > & addOperation (const std::string name, Signature *func, ExecutionThread et=ClientThread)
 
virtual bool addPeer (TaskContext *peer, std::string alias="")
 
virtual bool addPeer (TaskContext *peer, std::string alias="")
 
base::PortInterfaceaddPort (const std::string &name, base::PortInterface &port)
 
base::PortInterfaceaddPort (base::PortInterface &port)
 
Property< T > & addProperty (const std::string &name, T &attr)
 
bool addProperty (base::PropertyBase &pb)
 
Property< T > & addProperty (const std::string &name, T &attr)
 
bool addProperty (base::PropertyBase &pb)
 
ConfigurationInterfaceattributes ()
 
ConfigurationInterfaceattributes ()
 
virtual void clear ()
 
virtual bool connectPeers (TaskContext *peer)
 
virtual bool connectPeers (TaskContext *peer)
 
virtual bool connectPorts (TaskContext *peer)
 
virtual bool connectServices (TaskContext *peer)
 
virtual bool connectServices (TaskContext *peer)
 
virtual void disconnect ()
 
virtual void disconnect ()
 
virtual void disconnectPeers (const std::string &name)
 
virtual void disconnectPeers (const std::string &name)
 
base::ActivityInterfacegetActivity ()
 
T * getActivity ()
 
base::AttributeBasegetAttribute (const std::string &name) const
 
base::AttributeBasegetAttribute (const std::string &name) const
 
virtual const std::string & getName () const
 
OperationInterfacePartgetOperation (std::string name)
 
OperationInterfacePartgetOperation (std::string name)
 
virtual TaskContextgetPeer (const std::string &peer_name) const
 
virtual TaskContextgetPeer (const std::string &peer_name) const
 
virtual PeerList getPeerList () const
 
virtual PeerList getPeerList () const
 
base::PortInterfacegetPort (const std::string &name) const
 
base::PropertyBasegetProperty (const std::string &name) const
 
base::PropertyBasegetProperty (const std::string &name) const
 
boost::shared_ptr< ServiceType > getProvider (const std::string &name)
 
boost::shared_ptr< ServiceType > getProvider (const std::string &name)
 
virtual bool hasPeer (const std::string &peer_name) const
 
virtual bool hasPeer (const std::string &peer_name) const
 
bool loadService (const std::string &service_name)
 
bool loadService (const std::string &service_name)
 
OperationInterfaceoperations ()
 
OperationInterfaceoperations ()
 
DataFlowInterfaceports ()
 
const DataFlowInterfaceports () const
 
PropertyBagproperties ()
 
PropertyBagproperties ()
 
Service::shared_ptr provides (const std::string &service_name)
 
Service::shared_ptr provides ()
 
Service::shared_ptr provides ()
 
Service::shared_ptr provides (const std::string &service_name)
 
virtual bool ready ()
 
virtual void removePeer (const std::string &name)
 
virtual void removePeer (TaskContext *peer)
 
virtual void removePeer (TaskContext *peer)
 
virtual void removePeer (const std::string &name)
 
ServiceRequester::shared_ptr requires (const std::string &service_name)
 
ServiceRequester::shared_ptr requires (const std::string &service_name)
 
ServiceRequester::shared_ptr requires ()
 
ServiceRequester::shared_ptr requires ()
 
bool setActivity (base::ActivityInterface *new_act)
 
virtual bool start ()
 
virtual bool stop ()
 
 TaskContext (const std::string &name, TaskState initial_state=Stopped)
 
virtual ~TaskContext ()
 
- Public Member Functions inherited from RTT::base::TaskCore
virtual bool activate ()
 
virtual bool activate ()
 
virtual bool cleanup ()
 
virtual bool cleanup ()
 
virtual bool configure ()
 
virtual bool configure ()
 
const ExecutionEngineengine () const
 
ExecutionEngineengine ()
 
virtual void error ()
 
virtual void error ()
 
virtual unsigned getCpuAffinity () const
 
virtual unsigned getCpuAffinity () const
 
unsigned int getCycleCounter () const
 
unsigned int getIOCounter () const
 
virtual Seconds getPeriod () const
 
virtual Seconds getPeriod () const
 
virtual TaskState getTargetState () const
 
virtual TaskState getTaskState () const
 
unsigned int getTimeOutCounter () const
 
unsigned int getTriggerCounter () const
 
virtual bool inException () const
 
virtual bool inException () const
 
virtual bool inFatalError () const
 
virtual bool inFatalError () const
 
virtual bool inRunTimeError () const
 
virtual bool inRunTimeError () const
 
virtual bool isActive () const
 
virtual bool isActive () const
 
virtual bool isConfigured () const
 
virtual bool isConfigured () const
 
virtual bool isRunning () const
 
virtual bool isRunning () const
 
virtual bool recover ()
 
virtual bool recover ()
 
virtual bool setCpuAffinity (unsigned cpu)
 
virtual bool setCpuAffinity (unsigned cpu)
 
virtual bool setPeriod (Seconds s)
 
virtual bool setPeriod (Seconds s)
 
 TaskCore (TaskState initial_state=Stopped, const std::string &name=std::string())
 
virtual bool trigger ()
 
virtual bool trigger ()
 
virtual bool update ()
 
virtual bool update ()
 
virtual ~TaskCore ()
 

Private Member Functions

Frame frameOperation (const Frame &frame_in)
 
Rotation rotationOperation (const Rotation &rotation_in)
 
Twist twistOperation (const Twist &twist_in)
 
Vector vectorOperation (const Vector &vector_in)
 
Wrench wrenchOperation (const Wrench &wrench_in)
 

Private Attributes

InputPort< Frameport_frame_in
 
OutputPort< Frameport_frame_out
 
InputPort< Rotationport_rotation_in
 
OutputPort< Rotationport_rotation_out
 
InputPort< Twistport_twist_in
 
OutputPort< Twistport_twist_out
 
InputPort< Vectorport_vector_in
 
OutputPort< Vectorport_vector_out
 
InputPort< Wrenchport_wrench_in
 
OutputPort< Wrenchport_wrench_out
 
Frame prop_frame
 
Rotation prop_rotation
 
Twist prop_twist
 
Vector prop_vector
 
Wrench prop_wrench
 

Additional Inherited Members

- Public Types inherited from RTT::TaskContext
typedef std::vector< std::string > PeerList
 
typedef boost::function< void(base::PortInterface *)> SlotFunction
 
- Public Types inherited from RTT::base::TaskCore
enum  TaskState
 
- Public Attributes inherited from RTT::base::TaskCore
 Exception
 
 FatalError
 
 Init
 
 PreOperational
 
 Running
 
 RunTimeError
 
 Stopped
 
- Protected Member Functions inherited from RTT::TaskContext
virtual void dataOnPortCallback (base::PortInterface *port)
 
virtual bool dataOnPortHook (base::PortInterface *port)
 
void forceActivity (base::ActivityInterface *new_act)
 
- Protected Member Functions inherited from RTT::base::TaskCore
virtual bool breakUpdateHook ()
 
virtual void cleanupHook ()
 
virtual bool configureHook ()
 
virtual void errorHook ()
 
virtual void exception ()
 
virtual void exceptionHook ()
 
virtual void fatal ()
 
virtual bool startHook ()
 
virtual void stopHook ()
 
- Protected Attributes inherited from RTT::base::TaskCore
ExecutionEngineee
 
unsigned int mCycleCounter
 
unsigned int mIOCounter
 
std::string mName
 
TaskState mTaskState
 
unsigned int mTimeOutCounter
 
unsigned int mTriggerCounter
 
bool mTriggerOnStart
 

Detailed Description

Definition at line 9 of file testcomponent.cpp.

Constructor & Destructor Documentation

KDLTypekitTestComponent::KDLTypekitTestComponent ( const string &  name)
inline

Definition at line 65 of file testcomponent.cpp.

Member Function Documentation

Frame KDLTypekitTestComponent::frameOperation ( const Frame frame_in)
inlineprivate

Definition at line 43 of file testcomponent.cpp.

Rotation KDLTypekitTestComponent::rotationOperation ( const Rotation rotation_in)
inlineprivate

Definition at line 36 of file testcomponent.cpp.

Twist KDLTypekitTestComponent::twistOperation ( const Twist twist_in)
inlineprivate

Definition at line 57 of file testcomponent.cpp.

void KDLTypekitTestComponent::updateHook ( )
inlinevirtual

Reimplemented from RTT::base::TaskCore.

Definition at line 92 of file testcomponent.cpp.

Vector KDLTypekitTestComponent::vectorOperation ( const Vector vector_in)
inlineprivate

Definition at line 29 of file testcomponent.cpp.

Wrench KDLTypekitTestComponent::wrenchOperation ( const Wrench wrench_in)
inlineprivate

Definition at line 50 of file testcomponent.cpp.

Member Data Documentation

InputPort<Frame> KDLTypekitTestComponent::port_frame_in
private

Definition at line 19 of file testcomponent.cpp.

OutputPort<Frame> KDLTypekitTestComponent::port_frame_out
private

Definition at line 13 of file testcomponent.cpp.

InputPort<Rotation> KDLTypekitTestComponent::port_rotation_in
private

Definition at line 18 of file testcomponent.cpp.

OutputPort<Rotation> KDLTypekitTestComponent::port_rotation_out
private

Definition at line 12 of file testcomponent.cpp.

InputPort<Twist> KDLTypekitTestComponent::port_twist_in
private

Definition at line 21 of file testcomponent.cpp.

OutputPort<Twist> KDLTypekitTestComponent::port_twist_out
private

Definition at line 15 of file testcomponent.cpp.

InputPort<Vector> KDLTypekitTestComponent::port_vector_in
private

Definition at line 17 of file testcomponent.cpp.

OutputPort<Vector> KDLTypekitTestComponent::port_vector_out
private

Definition at line 11 of file testcomponent.cpp.

InputPort<Wrench> KDLTypekitTestComponent::port_wrench_in
private

Definition at line 20 of file testcomponent.cpp.

OutputPort<Wrench> KDLTypekitTestComponent::port_wrench_out
private

Definition at line 14 of file testcomponent.cpp.

Frame KDLTypekitTestComponent::prop_frame
private

Definition at line 25 of file testcomponent.cpp.

Rotation KDLTypekitTestComponent::prop_rotation
private

Definition at line 24 of file testcomponent.cpp.

Twist KDLTypekitTestComponent::prop_twist
private

Definition at line 27 of file testcomponent.cpp.

Vector KDLTypekitTestComponent::prop_vector
private

Definition at line 23 of file testcomponent.cpp.

Wrench KDLTypekitTestComponent::prop_wrench
private

Definition at line 26 of file testcomponent.cpp.


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


kdl_typekit
Author(s): Steven Bellens, Ruben Smits
autogenerated on Tue Jan 5 2021 03:41:43