Public Member Functions | Public Attributes | List of all members
MyNode Class Reference

Simple node with a self test that reports an error. More...

Public Member Functions

 MyNode ()
 
 MyNode ()
 
 MyNode ()
 
 MyNode ()
 
 MyNode ()
 
void posttest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void posttest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void posttest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void posttest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void posttest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void pretest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void pretest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void pretest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void pretest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void pretest (diagnostic_updater::DiagnosticStatusWrapper &status)
 
bool spin ()
 
bool spin ()
 
bool spin ()
 
bool spin ()
 
bool spin ()
 
void test1 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test1 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test1 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test1 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test1 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test2 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test2 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test2 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test2 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test3 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test3 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test3 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test3 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test3 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test4 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test4 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test4 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test4 (diagnostic_updater::DiagnosticStatusWrapper &status)
 
void test4 (diagnostic_updater::DiagnosticStatusWrapper &status)
 

Public Attributes

ros::NodeHandle nh_
 
self_test::TestRunner self_test_
 
double some_val
 

Detailed Description

Simple node with a self test that reports an error.

Simple self test that does not set a node ID on return.

Simple self test that throws an exception.

Author
Kevin Watts

Definition at line 41 of file selftest_example.cpp.

Constructor & Destructor Documentation

MyNode::MyNode ( )
inline

Definition at line 53 of file selftest_example.cpp.

MyNode::MyNode ( )
inline

Definition at line 53 of file error_selftest.cpp.

MyNode::MyNode ( )
inline

Definition at line 57 of file exception_selftest.cpp.

MyNode::MyNode ( )
inline

Definition at line 55 of file no_id_selftest.cpp.

MyNode::MyNode ( )
inline

Definition at line 53 of file nominal_selftest.cpp.

Member Function Documentation

void MyNode::posttest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 99 of file no_id_selftest.cpp.

void MyNode::posttest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 114 of file error_selftest.cpp.

void MyNode::posttest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 119 of file nominal_selftest.cpp.

void MyNode::posttest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 125 of file exception_selftest.cpp.

void MyNode::posttest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 161 of file selftest_example.cpp.

void MyNode::pretest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 65 of file error_selftest.cpp.

void MyNode::pretest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 65 of file nominal_selftest.cpp.

void MyNode::pretest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 66 of file no_id_selftest.cpp.

void MyNode::pretest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 69 of file exception_selftest.cpp.

void MyNode::pretest ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 85 of file selftest_example.cpp.

bool MyNode::spin ( )
inline

Definition at line 105 of file no_id_selftest.cpp.

bool MyNode::spin ( )
inline

Definition at line 120 of file error_selftest.cpp.

bool MyNode::spin ( )
inline

Definition at line 125 of file nominal_selftest.cpp.

bool MyNode::spin ( )
inline

Definition at line 131 of file exception_selftest.cpp.

bool MyNode::spin ( )
inline

Definition at line 167 of file selftest_example.cpp.

void MyNode::test1 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 73 of file error_selftest.cpp.

void MyNode::test1 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 73 of file nominal_selftest.cpp.

void MyNode::test1 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 74 of file no_id_selftest.cpp.

void MyNode::test1 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 77 of file exception_selftest.cpp.

void MyNode::test1 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 98 of file selftest_example.cpp.

void MyNode::test2 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 88 of file error_selftest.cpp.

void MyNode::test2 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 91 of file nominal_selftest.cpp.

void MyNode::test2 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 95 of file exception_selftest.cpp.

void MyNode::test2 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 122 of file selftest_example.cpp.

void MyNode::test3 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 79 of file no_id_selftest.cpp.

void MyNode::test3 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 94 of file error_selftest.cpp.

void MyNode::test3 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 99 of file nominal_selftest.cpp.

void MyNode::test3 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 105 of file exception_selftest.cpp.

void MyNode::test3 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 140 of file selftest_example.cpp.

void MyNode::test4 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 87 of file no_id_selftest.cpp.

void MyNode::test4 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 102 of file error_selftest.cpp.

void MyNode::test4 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 107 of file nominal_selftest.cpp.

void MyNode::test4 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 113 of file exception_selftest.cpp.

void MyNode::test4 ( diagnostic_updater::DiagnosticStatusWrapper status)
inline

Definition at line 149 of file selftest_example.cpp.

Member Data Documentation

ros::NodeHandle MyNode::nh_

Definition at line 51 of file selftest_example.cpp.

self_test::TestRunner MyNode::self_test_

Definition at line 46 of file selftest_example.cpp.

double MyNode::some_val

Definition at line 49 of file selftest_example.cpp.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Wed Mar 27 2019 03:04:24