$search

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)

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 8 of file sound.cpp.


Constructor & Destructor Documentation

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

Definition at line 23 of file sound.cpp.

SayAction::~SayAction ( void   )  [inline]

Definition at line 35 of file sound.cpp.


Member Function Documentation

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

Definition at line 39 of file sound.cpp.

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

Definition at line 81 of file sound.cpp.

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

Definition at line 53 of file sound.cpp.

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

Definition at line 65 of file sound.cpp.

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

Definition at line 73 of file sound.cpp.

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

Definition at line 60 of file sound.cpp.


Member Data Documentation

std::string SayAction::action_name_ [protected]

Definition at line 18 of file sound.cpp.

Definition at line 13 of file sound.cpp.

bool SayAction::mute_ [protected]

Definition at line 19 of file sound.cpp.

Definition at line 12 of file sound.cpp.

Definition at line 14 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cob_sound
Author(s): Florian Weisshardt
autogenerated on Fri Mar 1 14:48:12 2013