Public Types | Static Public Member Functions | List of all members
Adaptor< T, PortTypes > Struct Template Reference

Public Types

typedef RTT::InputPort< T > InputPort
 
typedef RTT::OutputPort< T > OutputPort
 
typedef RTT::base::PortInterface Port
 

Static Public Member Functions

static void addEventPort (TaskContext *tc, InputPort &port)
 
static void addPort (TaskContext *tc, Port &port)
 
static bool connect (OutputPort &output_port, InputPort &input_port, const ConnPolicy &cp)
 
static FlowStatus read (InputPort &port, T &sample, bool copy_old_data=true)
 
static void setDataSample (OutputPort &port, const T &sample)
 
static WriteStatus write (OutputPort &port, const T &sample)
 

Detailed Description

template<typename T, PortTypes>
struct Adaptor< T, PortTypes >

Definition at line 31 of file dataflow_performance_test.cpp.

Member Typedef Documentation

template<typename T , PortTypes >
typedef RTT::InputPort<T> Adaptor< T, PortTypes >::InputPort

Definition at line 364 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
typedef RTT::OutputPort<T> Adaptor< T, PortTypes >::OutputPort

Definition at line 363 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
typedef RTT::base::PortInterface Adaptor< T, PortTypes >::Port

Definition at line 362 of file dataflow_performance_test.cpp.

Member Function Documentation

template<typename T , PortTypes >
static void Adaptor< T, PortTypes >::addEventPort ( TaskContext tc,
InputPort port 
)
inlinestatic

Definition at line 370 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
static void Adaptor< T, PortTypes >::addPort ( TaskContext tc,
Port port 
)
inlinestatic

Definition at line 366 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
static bool Adaptor< T, PortTypes >::connect ( OutputPort output_port,
InputPort input_port,
const ConnPolicy cp 
)
inlinestatic

Definition at line 393 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
static FlowStatus Adaptor< T, PortTypes >::read ( InputPort port,
T &  sample,
bool  copy_old_data = true 
)
inlinestatic

Definition at line 389 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
static void Adaptor< T, PortTypes >::setDataSample ( OutputPort port,
const T &  sample 
)
inlinestatic

Definition at line 374 of file dataflow_performance_test.cpp.

template<typename T , PortTypes >
static WriteStatus Adaptor< T, PortTypes >::write ( OutputPort port,
const T &  sample 
)
inlinestatic

Definition at line 383 of file dataflow_performance_test.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:40