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 ( )
inline

Definition at line 28 of file service_server_test.cpp.

Member Function Documentation

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.

Member Data Documentation

ros::Timer ServiceServerTest::diag_timer_
private

Definition at line 17 of file service_server_test.cpp.

du::Updater ServiceServerTest::diagnostic_updater_
private

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.

swri::ServiceServer ServiceServerTest::test1_srv_
private

Definition at line 21 of file service_server_test.cpp.

swri::ServiceServer ServiceServerTest::test2_srv_
private

Definition at line 22 of file service_server_test.cpp.

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 Tue Apr 6 2021 02:50:35