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

Public Member Functions

void checkState (const std::string &name, TaskContext *, bool test=true)
 
void doState (const std::string &name, const std::string &prog, TaskContext *, bool test=true, int runs=1000)
 
void finishState (std::string const &name, TaskContext *, bool test=true)
 
void log (const std::string &msg)
 
void parseState (const std::string &prog, TaskContext *, bool test=true)
 
void runState (const std::string &name, TaskContext *, bool trace=true, bool test=true, int runs=1000)
 
void setState (RTT::rt_string state)
 
 StateTest ()
 
 ~StateTest ()
 
- Public Member Functions inherited from OperationsFixture
bool assertBool (bool b)
 
bool assertEqual (int a, int b)
 
bool assertMsg (bool b, const std::string &msg)
 
bool comstr (const std::string &cs)
 
void createOperationCallerFactories (TaskContext *target)
 
void createOperationCallerFactories0 (TaskContext *target)
 
void createOperationCallerFactories1 (TaskContext *target)
 
void createOperationCallerFactories2 (TaskContext *target)
 
void createOperationCallerFactories3 (TaskContext *target)
 
void createOperationCallerFactories4 (TaskContext *target)
 
void createOperationCallerFactories5 (TaskContext *target)
 
void createOperationCallerFactories6 (TaskContext *target)
 
void createOperationCallerFactories7 (TaskContext *target)
 
bool fail ()
 
int getI () const
 
bool good ()
 
int increase ()
 
bool isTrue (bool b)
 
double m0 (void)
 
const double & m0cr ()
 
void m0except (void)
 
double & m0r ()
 
double m1 (int i)
 
double m1cr (const double &a)
 
double m1r (double &a)
 
double m2 (int i, double d)
 
double m3 (int i, double d, bool c)
 
double m4 (int i, double d, bool c, std::string s)
 
double m5 (int i, double d, bool c, std::string s, float f)
 
double m6 (int i, double d, bool c, std::string s, float f, char h)
 
double m7 (int i, double d, bool c, std::string s, float f, char h, unsigned int st)
 
 OperationsFixture ()
 
void print (const std::string &what)
 
void printNumber (const std::string &what, int n)
 
void resetI ()
 
void * returnAddressOf (int &i)
 
const void * returnAddressOfConst (const int &i)
 
int sleepAndIncrement (int seconds)
 
void vm0 (void)
 
 ~OperationsFixture ()
 

Public Attributes

InputPort< bool > b_event
 
OutputPort< bool > b_event_source
 
Operation< void(double)> c_event
 
int const_i
 
InputPort< double > d_event
 
OutputPort< double > d_event_source
 
RTT::rt_string mrt_state
 
Operation< void(double)> o_event
 
ScriptingService::shared_ptr sa
 
RTT::Operation< void(RTT::rt_string)> setState_op
 
std::string sline
 
InputPort< int > t_event
 
OutputPort< int > t_event_source
 
SendStatus tss
 
Operation< void(void)> v1_event
 
Operation< void(void)> v2_event
 
Operation< void(void)> v3_event
 
Operation< void(void)> v_event
 
int var_i
 
- Public Attributes inherited from OperationsFixture
TaskContextcaller
 
int i
 
double ret
 
TaskContexttc
 

Detailed Description

Definition at line 47 of file state_test.cpp.

Constructor & Destructor Documentation

StateTest::StateTest ( )
inline

Definition at line 88 of file state_test.cpp.

StateTest::~StateTest ( )
inline

Definition at line 143 of file state_test.cpp.

Member Function Documentation

void StateTest::checkState ( const std::string &  name,
TaskContext tc,
bool  test = true 
)

Definition at line 1999 of file state_test.cpp.

void StateTest::doState ( const std::string &  name,
const std::string &  prog,
TaskContext tc,
bool  test = true,
int  runs = 1000 
)

Definition at line 1948 of file state_test.cpp.

void StateTest::finishState ( std::string const &  name,
TaskContext tc,
bool  test = true 
)

Definition at line 2055 of file state_test.cpp.

void StateTest::log ( const std::string &  msg)
inline

Definition at line 77 of file state_test.cpp.

void StateTest::parseState ( const std::string &  prog,
TaskContext tc,
bool  test = true 
)

Definition at line 1957 of file state_test.cpp.

void StateTest::runState ( const std::string &  name,
TaskContext tc,
bool  trace = true,
bool  test = true,
int  runs = 1000 
)

Definition at line 1981 of file state_test.cpp.

void StateTest::setState ( RTT::rt_string  state)
inline

Definition at line 66 of file state_test.cpp.

Member Data Documentation

InputPort<bool> StateTest::b_event

Definition at line 52 of file state_test.cpp.

OutputPort<bool> StateTest::b_event_source

Definition at line 61 of file state_test.cpp.

Operation<void(double)> StateTest::c_event

Definition at line 59 of file state_test.cpp.

int StateTest::const_i

Definition at line 74 of file state_test.cpp.

InputPort<double> StateTest::d_event

Definition at line 51 of file state_test.cpp.

OutputPort<double> StateTest::d_event_source

Definition at line 60 of file state_test.cpp.

RTT::rt_string StateTest::mrt_state

Definition at line 71 of file state_test.cpp.

Operation<void(double)> StateTest::o_event

Definition at line 55 of file state_test.cpp.

ScriptingService::shared_ptr StateTest::sa

Definition at line 63 of file state_test.cpp.

RTT::Operation<void(RTT::rt_string)> StateTest::setState_op

Definition at line 65 of file state_test.cpp.

std::string StateTest::sline

Definition at line 86 of file state_test.cpp.

InputPort<int> StateTest::t_event

Definition at line 53 of file state_test.cpp.

OutputPort<int> StateTest::t_event_source

Definition at line 62 of file state_test.cpp.

SendStatus StateTest::tss

Definition at line 75 of file state_test.cpp.

Operation<void(void)> StateTest::v1_event

Definition at line 56 of file state_test.cpp.

Operation<void(void)> StateTest::v2_event

Definition at line 57 of file state_test.cpp.

Operation<void(void)> StateTest::v3_event

Definition at line 58 of file state_test.cpp.

Operation<void(void)> StateTest::v_event

Definition at line 54 of file state_test.cpp.

int StateTest::var_i

Definition at line 73 of file state_test.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:46