Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

MFGRobotWaitingState Class Reference

#include <mfg_robot_waiting_state.h>

Inheritance diagram for MFGRobotWaitingState:

List of all members.

Public Member Functions

Event engageStatusCallback (const engagement_msgs::ActorIDStatus *msg)
 MFGRobotWaitingState (std::string actor, EventSink *sink)
 MFGRobotWaitingState ()
Event performingLookCallback (const engagement_msgs::Performance *msg)
Event received (std::string topic, engagement_srvs::RobotDirectedGaze::Request *message)
Event received (std::string topic, engagement_msgs::Performance *message)
Event received (std::string topic, engagement_msgs::ActorIDStatus *message)
Event recogDirGazeCallback (const engagement_srvs::RobotDirectedGaze::Request *msg)
Event visionFacialGazeCallback (const engagement_msgs::Performance *msg)
Event visionLookCallback (const engagement_msgs::Performance *msg)
 ~MFGRobotWaitingState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The MFGRobotWaitingState class provides the concrete implementation of the robot waiting state for the MutualFacialGazeRecognizer.

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

Definition at line 47 of file mfg_robot_waiting_state.h.


Constructor & Destructor Documentation

MFGRobotWaitingState::MFGRobotWaitingState (  ) 

Default constructor for the MFGRobotWaitingState class.

Definition at line 41 of file mfg_robot_waiting_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file mfg_robot_waiting_state.cpp.

MFGRobotWaitingState::~MFGRobotWaitingState (  ) 

Definition at line 58 of file mfg_robot_waiting_state.cpp.


Member Function Documentation

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

Callback function for Engagement Status topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 95 of file mfg_robot_waiting_state.cpp.

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

Callback function for Performing Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 132 of file mfg_robot_waiting_state.cpp.

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

A RobotDirectedGaze::Request message was received.

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

Reimplemented from State.

Definition at line 85 of file mfg_robot_waiting_state.cpp.

Event MFGRobotWaitingState::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 72 of file mfg_robot_waiting_state.cpp.

Event MFGRobotWaitingState::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 mfg_robot_waiting_state.cpp.

Event MFGRobotWaitingState::recogDirGazeCallback ( const engagement_srvs::RobotDirectedGaze::Request *  msg  ) 

Callback function for Recognition Directed Gaze topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 170 of file mfg_robot_waiting_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 270 of file mfg_robot_waiting_state.cpp.

Event MFGRobotWaitingState::visionFacialGazeCallback ( const engagement_msgs::Performance *  msg  ) 

Callback function for Vision Facial Gaze topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 235 of file mfg_robot_waiting_state.cpp.

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

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 197 of file mfg_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