SayAction Class Reference

List of all members.

Public Member Functions

void as_cb (const cob_sound::SayGoalConstPtr &goal)
void say (std::string text)
 SayAction (std::string name)
bool service_cb (cob_sound::SayText::Request &req, cob_sound::SayText::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_
ros::NodeHandle nh_
ros::ServiceServer srvServer_
ros::Subscriber sub

Detailed Description

Definition at line 7 of file sound.cpp.


Constructor & Destructor Documentation

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

Definition at line 17 of file sound.cpp.

SayAction::~SayAction ( void   )  [inline]

Definition at line 26 of file sound.cpp.


Member Function Documentation

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

Definition at line 30 of file sound.cpp.

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

Definition at line 49 of file sound.cpp.

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

Definition at line 36 of file sound.cpp.

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

Definition at line 43 of file sound.cpp.


Member Data Documentation

std::string SayAction::action_name_ [protected]

Definition at line 13 of file sound.cpp.

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

Definition at line 10 of file sound.cpp.

ros::NodeHandle SayAction::nh_ [protected]

Definition at line 9 of file sound.cpp.

ros::ServiceServer SayAction::srvServer_ [protected]

Definition at line 11 of file sound.cpp.

ros::Subscriber SayAction::sub [protected]

Definition at line 12 of file sound.cpp.


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


cob_sound
Author(s): Florian Weisshardt
autogenerated on Fri Jan 11 09:37:58 2013