Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

BCRobotFloorState Class Reference

#include <bc_robot_floor_state.h>

Inheritance diagram for BCRobotFloorState:

List of all members.

Public Member Functions

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

Static Public Member Functions

static std::string type ()

Detailed Description

The BCRobotFloorState class provides the concrete implementation of the robot floor state for the BackchannelRecognizer.

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

Definition at line 47 of file bc_robot_floor_state.h.


Constructor & Destructor Documentation

BCRobotFloorState::BCRobotFloorState (  ) 

Default constructor for the BCRobotFloorState class.

Definition at line 40 of file bc_robot_floor_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 49 of file bc_robot_floor_state.cpp.

BCRobotFloorState::~BCRobotFloorState (  ) 

Definition at line 57 of file bc_robot_floor_state.cpp.


Member Function Documentation

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

Callback function for Performing Utterance topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 79 of file bc_robot_floor_state.cpp.

Event BCRobotFloorState::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 71 of file bc_robot_floor_state.cpp.

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

A Performance 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 bc_robot_floor_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this State

Definition at line 204 of file bc_robot_floor_state.cpp.

Event BCRobotFloorState::visionNodCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Nod topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 170 of file bc_robot_floor_state.cpp.

Event BCRobotFloorState::visionShakeCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Shake topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 135 of file bc_robot_floor_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