Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

APHumanWaitingState Class Reference

#include <ap_human_waiting_state.h>

Inheritance diagram for APHumanWaitingState:

List of all members.

Public Member Functions

 APHumanWaitingState (std::string actor, EventSink *sink)
 APHumanWaitingState ()
Event engageStatusCallback (const engagement_msgs::ActorIDStatus *msg)
Event performingLookCallback (const engagement_msgs::Performance *msg)
Event performingNodCallback (const engagement_msgs::Performance *msg)
Event performingPointCallback (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)
Event received (std::string topic, engagement_msgs::ActorIDStatus *message)
 ~APHumanWaitingState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The APHumanWaitingState class provides the concrete implementation of the human waiting state for the AdjacencyPairRecognizer.

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

Definition at line 47 of file ap_human_waiting_state.h.


Constructor & Destructor Documentation

APHumanWaitingState::APHumanWaitingState (  ) 

Default constructor for the APHumanWaitingState class.

Definition at line 41 of file ap_human_waiting_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file ap_human_waiting_state.cpp.

APHumanWaitingState::~APHumanWaitingState (  ) 

Definition at line 58 of file ap_human_waiting_state.cpp.


Member Function Documentation

Event APHumanWaitingState::engageStatusCallback ( const engagement_msgs::ActorIDStatus *  msg  ) 

Callback function for Engagement Status topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 97 of file ap_human_waiting_state.cpp.

Event APHumanWaitingState::performingLookCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Performing Look topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 240 of file ap_human_waiting_state.cpp.

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

Callback function for Performing Nod topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 216 of file ap_human_waiting_state.cpp.

Event APHumanWaitingState::performingPointCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Performing Point topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 275 of file ap_human_waiting_state.cpp.

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

Callback function for Performing Shake topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 192 of file ap_human_waiting_state.cpp.

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

Callback function for Performing Utterance topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 134 of file ap_human_waiting_state.cpp.

Event APHumanWaitingState::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 88 of file ap_human_waiting_state.cpp.

Event APHumanWaitingState::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 73 of file ap_human_waiting_state.cpp.

Event APHumanWaitingState::received ( std::string  topic,
engagement_msgs::ActorIDStatus *  message 
) [virtual]

An ActorIDStatus message was received.

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

Reimplemented from State.

Definition at line 62 of file ap_human_waiting_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 310 of file ap_human_waiting_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