Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

APRobotWaitingState Class Reference

#include <ap_robot_waiting_state.h>

Inheritance diagram for APRobotWaitingState:

List of all members.

Public Member Functions

 APRobotWaitingState (std::string actor, EventSink *sink)
 APRobotWaitingState ()
Event engageStatusCallback (const engagement_msgs::ActorIDStatus *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)
Event visionExtendedActionCallback (const engagement_msgs::Performance *msg)
Event visionLookCallback (const engagement_msgs::Performance *msg)
Event visionNodCallback (const engagement_msgs::Performance *msg)
Event visionPointCallback (const engagement_msgs::Performance *msg)
Event visionShakeCallback (const engagement_msgs::Performance *msg)
 ~APRobotWaitingState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The APRobotWaitingState class provides the concrete implementation of the robot waiting state for the AdjacencyPairRecognizer.

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

Definition at line 47 of file ap_robot_waiting_state.h.


Constructor & Destructor Documentation

APRobotWaitingState::APRobotWaitingState (  ) 

Default constructor for the APRobotWaitingState class.

Definition at line 41 of file ap_robot_waiting_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 51 of file ap_robot_waiting_state.cpp.

APRobotWaitingState::~APRobotWaitingState (  ) 

The Deconstrutor.

Definition at line 59 of file ap_robot_waiting_state.cpp.


Member Function Documentation

Event APRobotWaitingState::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_robot_waiting_state.cpp.

Event APRobotWaitingState::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_robot_waiting_state.cpp.

Event APRobotWaitingState::received ( std::string  topic,
engagement_msgs::Speech *  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 89 of file ap_robot_waiting_state.cpp.

Event APRobotWaitingState::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 73 of file ap_robot_waiting_state.cpp.

Event APRobotWaitingState::received ( std::string  topic,
engagement_msgs::ActorIDStatus *  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 63 of file ap_robot_waiting_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 386 of file ap_robot_waiting_state.cpp.

Event APRobotWaitingState::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 266 of file ap_robot_waiting_state.cpp.

Event APRobotWaitingState::visionLookCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 346 of file ap_robot_waiting_state.cpp.

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

Callback function for Vision Nod topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 229 of file ap_robot_waiting_state.cpp.

Event APRobotWaitingState::visionPointCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Point topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 306 of file ap_robot_waiting_state.cpp.

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

Callback function for Vision Shake topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 191 of file ap_robot_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