Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

APStartState Class Reference

#include <ap_start_state.h>

Inheritance diagram for APStartState:

List of all members.

Public Member Functions

 APStartState (std::string actor, EventSink *sink)
 APStartState ()
Event performingUtteranceCallback (const engagement_msgs::Speech *msg)
Event received (std::string topic, engagement_msgs::Performance *message)
virtual Event received (std::string topic, engagement_msgs::Speech *message)
Event received (std::string topic, engagement_srvs::RobotAdjacencyPair::Request *message)
Event recogAPCallback (const engagement_srvs::RobotAdjacencyPair::Request *msg)
Event visionExtendedActionCallback (const engagement_msgs::Performance *msg)
 ~APStartState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The APStartState class provides the concrete implementation of the start state for the AdjacencyPairRecognizer.

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

Definition at line 47 of file ap_start_state.h.


Constructor & Destructor Documentation

APStartState::APStartState (  ) 

Default constructor for the APStartState class.

Definition at line 41 of file ap_start_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file ap_start_state.cpp.

APStartState::~APStartState (  ) 

Destructor for the APStartState.

Definition at line 61 of file ap_start_state.cpp.


Member Function Documentation

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

Callback function for Performing Utterance topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 91 of file ap_start_state.cpp.

Event APStartState::received ( std::string  topic,
engagement_msgs::Performance *  message 
) [virtual]

A message was received.

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

Reimplemented from State.

Definition at line 83 of file ap_start_state.cpp.

Event APStartState::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 75 of file ap_start_state.cpp.

Event APStartState::received ( std::string  topic,
engagement_srvs::RobotAdjacencyPair::Request *  message 
) [virtual]

A RobotAdjacencyPair::Request message was received.

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

Reimplemented from State.

Definition at line 65 of file ap_start_state.cpp.

Event APStartState::recogAPCallback ( const engagement_srvs::RobotAdjacencyPair::Request *  msg  ) 

Callback function for Recognition Adjacency Pair topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 171 of file ap_start_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 204 of file ap_start_state.cpp.

Event APStartState::visionExtendedActionCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Extended Action topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 130 of file ap_start_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