Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

APRobotResponseState Class Reference

#include <ap_robot_response_state.h>

Inheritance diagram for APRobotResponseState:

List of all members.

Public Member Functions

 APRobotResponseState (std::string actor, EventSink *sink)
 APRobotResponseState ()
Event performingUtteranceCallback (const engagement_msgs::Speech *msg)
Event received (std::string topic, engagement_msgs::Speech *message)
 ~APRobotResponseState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The APRobotResponseState class provides the concrete implementation of the robot response state for the AdjacencyPairRecognizer.

Author:
Brett Ponsler (bponsler (at) wpi (dot) edu)

Definition at line 47 of file ap_robot_response_state.h.


Constructor & Destructor Documentation

APRobotResponseState::APRobotResponseState (  ) 

Default constructor for the APRobotResponseState class.

Definition at line 40 of file ap_robot_response_state.cpp.

APRobotResponseState::APRobotResponseState ( std::string  actor,
EventSink sink 
)

Constructor for the APRobotResponseState class takes an Actor, and an EventSink.

Parameters:
actor The Actor object
sink The EventSink

Definition at line 49 of file ap_robot_response_state.cpp.

APRobotResponseState::~APRobotResponseState (  ) 

The Deconstructor.

Definition at line 57 of file ap_robot_response_state.cpp.


Member Function Documentation

Event APRobotResponseState::performingUtteranceCallback ( const engagement_msgs::Speech *  msg  ) 

Callback function for Performing Utterance topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 70 of file ap_robot_response_state.cpp.

Event APRobotResponseState::received ( std::string  topic,
engagement_msgs::Speech *  message 
) [virtual]

A Speech message was received.

Parameters:
topic The topic
message The message was received
Returns:
The Event created

Reimplemented from State.

Definition at line 61 of file ap_robot_response_state.cpp.

std::string APRobotResponseState::type (  )  [static]

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 97 of file ap_robot_response_state.cpp.


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

engagement_recognition
Author(s): Brett Ponsler (bponsler (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:35:49 2011