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() [1/5]

MyNode::MyNode ( )
inline

Definition at line 53 of file selftest_example.cpp.

◆ MyNode() [2/5]

MyNode::MyNode ( )
inline

Definition at line 53 of file error_selftest.cpp.

◆ MyNode() [3/5]

MyNode::MyNode ( )
inline

Definition at line 57 of file exception_selftest.cpp.

◆ MyNode() [4/5]

MyNode::MyNode ( )
inline

Definition at line 55 of file no_id_selftest.cpp.

◆ MyNode() [5/5]

MyNode::MyNode ( )
inline

Definition at line 53 of file nominal_selftest.cpp.

Member Function Documentation

◆ posttest() [1/5]

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

Definition at line 99 of file no_id_selftest.cpp.

◆ posttest() [2/5]

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

Definition at line 114 of file error_selftest.cpp.

◆ posttest() [3/5]

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

Definition at line 119 of file nominal_selftest.cpp.

◆ posttest() [4/5]

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

Definition at line 125 of file exception_selftest.cpp.

◆ posttest() [5/5]

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

Definition at line 161 of file selftest_example.cpp.

◆ pretest() [1/5]

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

Definition at line 65 of file error_selftest.cpp.

◆ pretest() [2/5]

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

Definition at line 65 of file nominal_selftest.cpp.

◆ pretest() [3/5]

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

Definition at line 66 of file no_id_selftest.cpp.

◆ pretest() [4/5]

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

Definition at line 69 of file exception_selftest.cpp.

◆ pretest() [5/5]

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

Definition at line 85 of file selftest_example.cpp.

◆ spin() [1/5]

bool MyNode::spin ( )
inline

Definition at line 105 of file no_id_selftest.cpp.

◆ spin() [2/5]

bool MyNode::spin ( )
inline

Definition at line 120 of file error_selftest.cpp.

◆ spin() [3/5]

bool MyNode::spin ( )
inline

Definition at line 125 of file nominal_selftest.cpp.

◆ spin() [4/5]

bool MyNode::spin ( )
inline

Definition at line 131 of file exception_selftest.cpp.

◆ spin() [5/5]

bool MyNode::spin ( )
inline

Definition at line 167 of file selftest_example.cpp.

◆ test1() [1/5]

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

Definition at line 73 of file error_selftest.cpp.

◆ test1() [2/5]

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

Definition at line 73 of file nominal_selftest.cpp.

◆ test1() [3/5]

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

Definition at line 74 of file no_id_selftest.cpp.

◆ test1() [4/5]

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

Definition at line 77 of file exception_selftest.cpp.

◆ test1() [5/5]

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

Definition at line 98 of file selftest_example.cpp.

◆ test2() [1/4]

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

Definition at line 88 of file error_selftest.cpp.

◆ test2() [2/4]

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

Definition at line 91 of file nominal_selftest.cpp.

◆ test2() [3/4]

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

Definition at line 95 of file exception_selftest.cpp.

◆ test2() [4/4]

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

Definition at line 122 of file selftest_example.cpp.

◆ test3() [1/5]

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

Definition at line 79 of file no_id_selftest.cpp.

◆ test3() [2/5]

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

Definition at line 94 of file error_selftest.cpp.

◆ test3() [3/5]

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

Definition at line 99 of file nominal_selftest.cpp.

◆ test3() [4/5]

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

Definition at line 105 of file exception_selftest.cpp.

◆ test3() [5/5]

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

Definition at line 140 of file selftest_example.cpp.

◆ test4() [1/5]

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

Definition at line 87 of file no_id_selftest.cpp.

◆ test4() [2/5]

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

Definition at line 102 of file error_selftest.cpp.

◆ test4() [3/5]

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

Definition at line 107 of file nominal_selftest.cpp.

◆ test4() [4/5]

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

Definition at line 113 of file exception_selftest.cpp.

◆ test4() [5/5]

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

Definition at line 149 of file selftest_example.cpp.

Member Data Documentation

◆ nh_

ros::NodeHandle MyNode::nh_

Definition at line 51 of file selftest_example.cpp.

◆ self_test_

self_test::TestRunner MyNode::self_test_

Definition at line 46 of file selftest_example.cpp.

◆ some_val

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 Tue Nov 15 2022 03:17:24