Public Member Functions | |
void | handleDiagnosticsTimer (const ros::TimerEvent &ignored) |
bool | handleService1 (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res) |
bool | handleService2 (ros::ServiceEvent< std_srvs::Empty::Request, std_srvs::Empty::Response > &event) |
bool | handleService3 (const std::string &name, const std_srvs::Empty::Request &request, std_srvs::Empty::Response &response) |
void | initialize (const ros::WallTimerEvent &ignored) |
void | service1Diagnostics (du::DiagnosticStatusWrapper &status) |
void | service2Diagnostics (du::DiagnosticStatusWrapper &status) |
void | service3Diagnostics (du::DiagnosticStatusWrapper &status) |
ServiceServerTest () | |
Private Attributes | |
ros::Timer | diag_timer_ |
du::Updater | diagnostic_updater_ |
ros::WallTimer | init_timer_ |
ros::NodeHandle | nh_ |
bool | test1_result_ |
swri::ServiceServer | test1_srv_ |
swri::ServiceServer | test2_srv_ |
swri::ServiceServer | test3_srv_ |
Definition at line 13 of file service_server_test.cpp.
ServiceServerTest::ServiceServerTest | ( | ) | [inline] |
Definition at line 28 of file service_server_test.cpp.
void ServiceServerTest::handleDiagnosticsTimer | ( | const ros::TimerEvent & | ignored | ) | [inline] |
Definition at line 102 of file service_server_test.cpp.
bool ServiceServerTest::handleService1 | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) | [inline] |
Definition at line 78 of file service_server_test.cpp.
bool ServiceServerTest::handleService2 | ( | ros::ServiceEvent< std_srvs::Empty::Request, std_srvs::Empty::Response > & | event | ) | [inline] |
Definition at line 86 of file service_server_test.cpp.
bool ServiceServerTest::handleService3 | ( | const std::string & | name, |
const std_srvs::Empty::Request & | request, | ||
std_srvs::Empty::Response & | response | ||
) | [inline] |
Definition at line 94 of file service_server_test.cpp.
void ServiceServerTest::initialize | ( | const ros::WallTimerEvent & | ignored | ) | [inline] |
Definition at line 41 of file service_server_test.cpp.
void ServiceServerTest::service1Diagnostics | ( | du::DiagnosticStatusWrapper & | status | ) | [inline] |
Definition at line 107 of file service_server_test.cpp.
void ServiceServerTest::service2Diagnostics | ( | du::DiagnosticStatusWrapper & | status | ) | [inline] |
Definition at line 114 of file service_server_test.cpp.
void ServiceServerTest::service3Diagnostics | ( | du::DiagnosticStatusWrapper & | status | ) | [inline] |
Definition at line 121 of file service_server_test.cpp.
ros::Timer ServiceServerTest::diag_timer_ [private] |
Definition at line 17 of file service_server_test.cpp.
Definition at line 19 of file service_server_test.cpp.
ros::WallTimer ServiceServerTest::init_timer_ [private] |
Definition at line 16 of file service_server_test.cpp.
ros::NodeHandle ServiceServerTest::nh_ [private] |
Definition at line 15 of file service_server_test.cpp.
bool ServiceServerTest::test1_result_ [private] |
Definition at line 25 of file service_server_test.cpp.
Definition at line 21 of file service_server_test.cpp.
Definition at line 22 of file service_server_test.cpp.
Definition at line 23 of file service_server_test.cpp.