Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

BCHumanFloorState Class Reference

#include <bc_human_floor_state.h>

Inheritance diagram for BCHumanFloorState:

List of all members.

Public Member Functions

 BCHumanFloorState (std::string actor, EventSink *sink)
 BCHumanFloorState ()
Event performingNodCallback (const engagement_msgs::Performance *msg)
Event performingShakeCallback (const engagement_msgs::Performance *msg)
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)
 ~BCHumanFloorState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The BCHumanFloorState class provides the concrete implementation of the human floor state for the BackchannelRecognizer.

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

Definition at line 47 of file bc_human_floor_state.h.


Constructor & Destructor Documentation

BCHumanFloorState::BCHumanFloorState (  ) 

Default constructor for the BCHumanFloorState class.

Definition at line 40 of file bc_human_floor_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 49 of file bc_human_floor_state.cpp.

BCHumanFloorState::~BCHumanFloorState (  ) 

Definition at line 57 of file bc_human_floor_state.cpp.


Member Function Documentation

Event BCHumanFloorState::performingNodCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Performing Nod topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 156 of file bc_human_floor_state.cpp.

Event BCHumanFloorState::performingShakeCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Performing Shake topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 132 of file bc_human_floor_state.cpp.

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

Callback function for Performing Utterance topic.

Parameters:
msg The message received

Definition at line 79 of file bc_human_floor_state.cpp.

Event BCHumanFloorState::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_human_floor_state.cpp.

Event BCHumanFloorState::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_human_floor_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 180 of file bc_human_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