Public Member Functions | Private Attributes | List of all members
ServiceServerTest Class Reference

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_
 

Detailed Description

Definition at line 13 of file service_server_test.cpp.

Constructor & Destructor Documentation

◆ ServiceServerTest()

ServiceServerTest::ServiceServerTest ( )
inline

Definition at line 28 of file service_server_test.cpp.

Member Function Documentation

◆ handleDiagnosticsTimer()

void ServiceServerTest::handleDiagnosticsTimer ( const ros::TimerEvent ignored)
inline

Definition at line 102 of file service_server_test.cpp.

◆ handleService1()

bool ServiceServerTest::handleService1 ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
inline

Definition at line 78 of file service_server_test.cpp.

◆ handleService2()

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.

◆ handleService3()

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.

◆ initialize()

void ServiceServerTest::initialize ( const ros::WallTimerEvent ignored)
inline

Definition at line 41 of file service_server_test.cpp.

◆ service1Diagnostics()

void ServiceServerTest::service1Diagnostics ( du::DiagnosticStatusWrapper status)
inline

Definition at line 107 of file service_server_test.cpp.

◆ service2Diagnostics()

void ServiceServerTest::service2Diagnostics ( du::DiagnosticStatusWrapper status)
inline

Definition at line 114 of file service_server_test.cpp.

◆ service3Diagnostics()

void ServiceServerTest::service3Diagnostics ( du::DiagnosticStatusWrapper status)
inline

Definition at line 121 of file service_server_test.cpp.

Member Data Documentation

◆ diag_timer_

ros::Timer ServiceServerTest::diag_timer_
private

Definition at line 17 of file service_server_test.cpp.

◆ diagnostic_updater_

du::Updater ServiceServerTest::diagnostic_updater_
private

Definition at line 19 of file service_server_test.cpp.

◆ init_timer_

ros::WallTimer ServiceServerTest::init_timer_
private

Definition at line 16 of file service_server_test.cpp.

◆ nh_

ros::NodeHandle ServiceServerTest::nh_
private

Definition at line 15 of file service_server_test.cpp.

◆ test1_result_

bool ServiceServerTest::test1_result_
private

Definition at line 25 of file service_server_test.cpp.

◆ test1_srv_

swri::ServiceServer ServiceServerTest::test1_srv_
private

Definition at line 21 of file service_server_test.cpp.

◆ test2_srv_

swri::ServiceServer ServiceServerTest::test2_srv_
private

Definition at line 22 of file service_server_test.cpp.

◆ test3_srv_

swri::ServiceServer ServiceServerTest::test3_srv_
private

Definition at line 23 of file service_server_test.cpp.


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


swri_roscpp
Author(s):
autogenerated on Sat Jan 21 2023 03:13:16