Public Types | Public Member Functions | Public Attributes | Private Attributes | List of all members
TestRunner< T, PortType > Struct Template Reference
Inheritance diagram for TestRunner< T, PortType >:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< Reader< T, PortType > > ReaderPtr
 
typedef std::vector< ReaderPtrReaders
 
typedef CopyAndAssignmentCounted< T > SampleType
 
typedef boost::shared_ptr< TestRunnerTypeshared_ptr
 
typedef boost::shared_ptr< ReaderWriterTaskContextBaseTaskPtr
 
typedef std::vector< TaskPtrTasks
 
typedef TestRunner< T, PortType > TestRunnerType
 
typedef boost::shared_ptr< Writer< T, PortType > > WriterPtr
 
typedef std::vector< WriterPtrWriters
 

Public Member Functions

bool breakLoop ()
 
bool connectAll ()
 
void disconnectAll ()
 
void finalize ()
 
const TestOptionsgetOptions () const
 
bool initialize ()
 
void loop ()
 
void printStats ()
 
void reset (bool fail)
 
bool run ()
 
bool startAll ()
 
bool startReaders ()
 
bool startWriters ()
 
void step ()
 
void stopAll ()
 
 TestRunner (bool fail)
 
 TestRunner (const TestOptions &options)
 
void waitAll ()
 
void work (RunnableInterface::WorkReason reason)
 

Public Attributes

bool broke
 
bool fini
 
bool init
 
bool looped
 
Readers readers
 
bool result
 
bool stepped
 
Tasks tasks
 
bool wasactive
 
bool wasrunning
 
bool worked
 
bool wreason
 
Writers writers
 

Private Attributes

TestOptions options_
 

Detailed Description

template<typename T, PortTypes PortType>
struct TestRunner< T, PortType >

Definition at line 946 of file dataflow_performance_test.cpp.

Member Typedef Documentation

template<typename T , PortTypes PortType>
typedef boost::shared_ptr< Reader<T,PortType> > TestRunner< T, PortType >::ReaderPtr

Definition at line 1064 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef std::vector<ReaderPtr> TestRunner< T, PortType >::Readers

Definition at line 1067 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef CopyAndAssignmentCounted<T> TestRunner< T, PortType >::SampleType

Definition at line 1062 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef boost::shared_ptr<TestRunnerType> TestRunner< T, PortType >::shared_ptr

Definition at line 1060 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef boost::shared_ptr<ReaderWriterTaskContextBase> TestRunner< T, PortType >::TaskPtr

Definition at line 1065 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef std::vector<TaskPtr> TestRunner< T, PortType >::Tasks

Definition at line 1068 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef TestRunner<T,PortType> TestRunner< T, PortType >::TestRunnerType

Definition at line 1059 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef boost::shared_ptr< Writer<T,PortType> > TestRunner< T, PortType >::WriterPtr

Definition at line 1063 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
typedef std::vector<WriterPtr> TestRunner< T, PortType >::Writers

Definition at line 1066 of file dataflow_performance_test.cpp.

Constructor & Destructor Documentation

template<typename T , PortTypes PortType>
TestRunner< T, PortType >::TestRunner ( const TestOptions options)
inline

Definition at line 1074 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
TestRunner< T, PortType >::TestRunner ( bool  fail)
inline

Definition at line 104 of file taskthread_test.cpp.

Member Function Documentation

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::breakLoop ( )
inline

Definition at line 133 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::connectAll ( )
inline

Definition at line 1124 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::disconnectAll ( )
inline

Definition at line 1134 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::finalize ( )
inline

Definition at line 138 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
const TestOptions& TestRunner< T, PortType >::getOptions ( ) const
inline

Definition at line 1377 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::initialize ( )
inline

Definition at line 109 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::loop ( )
inline

Definition at line 127 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::printStats ( )
inline

Definition at line 1203 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::reset ( bool  fail)
inline

Definition at line 144 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::run ( )
inline

Definition at line 1181 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::startAll ( )
inline

Definition at line 1165 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::startReaders ( )
inline

Definition at line 1154 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::startWriters ( )
inline

Definition at line 1143 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::step ( )
inline

Definition at line 116 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::stopAll ( )
inline

Definition at line 1169 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::waitAll ( )
inline

Definition at line 1175 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
void TestRunner< T, PortType >::work ( RunnableInterface::WorkReason  reason)
inline

Definition at line 122 of file taskthread_test.cpp.

Member Data Documentation

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::broke

Definition at line 100 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::fini

Definition at line 99 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::init

Definition at line 99 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::looped

Definition at line 100 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
TestOptions TestRunner< T, PortType >::options_
private

Definition at line 1380 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
Readers TestRunner< T, PortType >::readers

Definition at line 1071 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::result

Definition at line 98 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::stepped

Definition at line 99 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
Tasks TestRunner< T, PortType >::tasks

Definition at line 1072 of file dataflow_performance_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::wasactive

Definition at line 101 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::wasrunning

Definition at line 101 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::worked

Definition at line 102 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
bool TestRunner< T, PortType >::wreason

Definition at line 102 of file taskthread_test.cpp.

template<typename T , PortTypes PortType>
Writers TestRunner< T, PortType >::writers

Definition at line 1070 of file dataflow_performance_test.cpp.


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


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