Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

APHumanResponseState Class Reference

#include <ap_human_response_state.h>

Inheritance diagram for APHumanResponseState:

List of all members.

Public Member Functions

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

Static Public Member Functions

static std::string type ()

Detailed Description

The APHumanResponseState class provides the concrete implementation of the human response state for the AdjacencyPairRecognizer.

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

Definition at line 47 of file ap_human_response_state.h.


Constructor & Destructor Documentation

APHumanResponseState::APHumanResponseState (  ) 

Default constructor for the APHumanResponseState class.

Definition at line 40 of file ap_human_response_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 49 of file ap_human_response_state.cpp.

APHumanResponseState::~APHumanResponseState (  ) 

Definition at line 57 of file ap_human_response_state.cpp.


Member Function Documentation

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

Callback function for Performing Utterance topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 70 of file ap_human_response_state.cpp.

Event APHumanResponseState::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_human_response_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 104 of file ap_human_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