Public Member Functions | Public Attributes | Protected Attributes
SayAction Class Reference

List of all members.

Public Member Functions

void as_cb (const cob_sound::SayGoalConstPtr &goal)
bool say (std::string text)
 SayAction (std::string name)
bool service_cb (cob_sound::SayText::Request &req, cob_sound::SayText::Response &res)
bool service_cb_mute (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res)
bool service_cb_unmute (cob_srvs::Trigger::Request &req, cob_srvs::Trigger::Response &res)
void topic_cb (const std_msgs::String::ConstPtr &msg)
 ~SayAction (void)

Public Attributes

diagnostic_msgs::DiagnosticArray diagnostics_
ros::Publisher topicPub_Diagnostic_

Protected Attributes

std::string action_name_
actionlib::SimpleActionServer
< cob_sound::SayAction > 
as_
bool mute_
ros::NodeHandle nh_
ros::ServiceServer srvServer_
ros::ServiceServer srvServer_mute_
ros::ServiceServer srvServer_unmute_
ros::Subscriber sub_

Detailed Description

Definition at line 9 of file sound.cpp.


Constructor & Destructor Documentation

SayAction::SayAction ( std::string  name) [inline]

Definition at line 26 of file sound.cpp.

SayAction::~SayAction ( void  ) [inline]

Definition at line 39 of file sound.cpp.


Member Function Documentation

void SayAction::as_cb ( const cob_sound::SayGoalConstPtr &  goal) [inline]

Definition at line 43 of file sound.cpp.

bool SayAction::say ( std::string  text) [inline]

Definition at line 84 of file sound.cpp.

bool SayAction::service_cb ( cob_sound::SayText::Request &  req,
cob_sound::SayText::Response &  res 
) [inline]

Definition at line 56 of file sound.cpp.

bool SayAction::service_cb_mute ( cob_srvs::Trigger::Request &  req,
cob_srvs::Trigger::Response &  res 
) [inline]

Definition at line 68 of file sound.cpp.

bool SayAction::service_cb_unmute ( cob_srvs::Trigger::Request &  req,
cob_srvs::Trigger::Response &  res 
) [inline]

Definition at line 76 of file sound.cpp.

void SayAction::topic_cb ( const std_msgs::String::ConstPtr &  msg) [inline]

Definition at line 63 of file sound.cpp.


Member Data Documentation

std::string SayAction::action_name_ [protected]

Definition at line 19 of file sound.cpp.

actionlib::SimpleActionServer<cob_sound::SayAction> SayAction::as_ [protected]

Definition at line 14 of file sound.cpp.

diagnostic_msgs::DiagnosticArray SayAction::diagnostics_

Definition at line 23 of file sound.cpp.

bool SayAction::mute_ [protected]

Definition at line 20 of file sound.cpp.

Definition at line 13 of file sound.cpp.

Definition at line 15 of file sound.cpp.

Definition at line 16 of file sound.cpp.

Definition at line 17 of file sound.cpp.

Definition at line 18 of file sound.cpp.

Definition at line 24 of file sound.cpp.


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


cob_sound
Author(s): Florian Weisshardt
autogenerated on Thu Aug 27 2015 12:46:03