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

#include <example_event_client.h>

Public Member Functions

 ExampleEventClient (ros::NodeHandle nh, ros::NodeHandle pnh)
 Construct a new Example Event Client:: Example Event Client object. More...
 
 ~ExampleEventClient ()
 

Private Member Functions

boost::optional< rostate_machine::Event > checkMotor ()
 example Callback function, callback function must be boost::optional<rostate_machine::Event>(void) type More...
 
boost::optional< rostate_machine::Event > checkRecovery ()
 
boost::optional< rostate_machine::Event > stopMotor ()
 example Callback function, callback function must be boost::optional<rostate_machine::Event>(void) type More...
 

Private Attributes

rostate_machine::EventClient client_
 
ros::NodeHandle nh_
 
ros::NodeHandle pnh_
 

Detailed Description

Definition at line 25 of file example_event_client.h.

Constructor & Destructor Documentation

ExampleEventClient::ExampleEventClient ( ros::NodeHandle  nh,
ros::NodeHandle  pnh 
)

Construct a new Example Event Client:: Example Event Client object.

Parameters
nhNode Handler
pnhPrivate Node Handle

register callback for the tag in StateMachine .xml file

start client

Definition at line 21 of file example_event_client.cpp.

ExampleEventClient::~ExampleEventClient ( )

Definition at line 39 of file example_event_client.cpp.

Member Function Documentation

boost::optional< rostate_machine::Event > ExampleEventClient::checkMotor ( )
private

example Callback function, callback function must be boost::optional<rostate_machine::Event>(void) type

Returns
boost::optional<rostate_machine::Event>

Definition at line 49 of file example_event_client.cpp.

boost::optional< rostate_machine::Event > ExampleEventClient::checkRecovery ( )
private

Definition at line 61 of file example_event_client.cpp.

boost::optional< rostate_machine::Event > ExampleEventClient::stopMotor ( )
private

example Callback function, callback function must be boost::optional<rostate_machine::Event>(void) type

Returns
boost::optional<rostate_machine::Event>

Definition at line 78 of file example_event_client.cpp.

Member Data Documentation

rostate_machine::EventClient ExampleEventClient::client_
private

Definition at line 36 of file example_event_client.h.

ros::NodeHandle ExampleEventClient::nh_
private

Definition at line 34 of file example_event_client.h.

ros::NodeHandle ExampleEventClient::pnh_
private

Definition at line 35 of file example_event_client.h.


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


rostate_machine
Author(s):
autogenerated on Wed Sep 4 2019 05:19:52