#include <service_stopper.h>
Public Member Functions | |
virtual bool | consume (RobotModeData_V1_X &data) |
virtual bool | consume (RobotModeData_V3_0__1 &data) |
virtual bool | consume (RobotModeData_V3_2 &data) |
virtual bool | consume (MasterBoardData_V1_X &data) |
virtual bool | consume (MasterBoardData_V3_0__1 &data) |
virtual bool | consume (MasterBoardData_V3_2 &data) |
ServiceStopper (std::vector< Service * > services) | |
Public Member Functions inherited from URStatePacketConsumer | |
virtual bool | consume (shared_ptr< StatePacket > packet) |
Public Member Functions inherited from IConsumer< StatePacket > | |
virtual void | onTimeout () |
virtual void | setupConsumer () |
virtual void | stopConsumer () |
virtual void | teardownConsumer () |
Private Member Functions | |
bool | enableCallback (std_srvs::EmptyRequest &req, std_srvs::EmptyResponse &resp) |
bool | handle (SharedRobotModeData &data, bool error) |
void | notify_all (RobotState state) |
Private Attributes | |
ActivationMode | activation_mode_ |
ros::ServiceServer | enable_service_ |
RobotState | last_state_ |
ros::NodeHandle | nh_ |
std::vector< Service * > | services_ |
Definition at line 46 of file service_stopper.h.
ServiceStopper::ServiceStopper | ( | std::vector< Service * > | services | ) |
Definition at line 21 of file service_stopper.cpp.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 62 of file service_stopper.h.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 66 of file service_stopper.h.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 70 of file service_stopper.h.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 76 of file service_stopper.h.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 80 of file service_stopper.h.
|
inlinevirtual |
Implements URStatePacketConsumer.
Definition at line 84 of file service_stopper.h.
|
private |
Definition at line 51 of file service_stopper.cpp.
|
private |
Definition at line 73 of file service_stopper.cpp.
|
private |
Definition at line 60 of file service_stopper.cpp.
|
private |
Definition at line 53 of file service_stopper.h.
|
private |
Definition at line 50 of file service_stopper.h.
|
private |
Definition at line 52 of file service_stopper.h.
|
private |
Definition at line 49 of file service_stopper.h.
|
private |
Definition at line 51 of file service_stopper.h.