Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

MFGStartState Class Reference

#include <mfg_start_state.h>

Inheritance diagram for MFGStartState:

List of all members.

Public Member Functions

 MFGStartState (std::string actor, EventSink *sink)
 MFGStartState ()
Event received (std::string topic, engagement_msgs::Performance *message)
Event received (std::string topic, engagement_srvs::RobotMutualFacialGaze::Request *message)
Event recogMFGazeCallback (const engagement_srvs::RobotMutualFacialGaze::Request *msg)
Event visionFacialGazeCallback (const engagement_msgs::Performance *msg)
 ~MFGStartState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The MFGStartState class provides the concrete implementation of the start state for the MutualFacialGazeRecognizer.

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

Definition at line 47 of file mfg_start_state.h.


Constructor & Destructor Documentation

MFGStartState::MFGStartState (  ) 

Default constructor for the MFGStartState class.

Definition at line 41 of file mfg_start_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file mfg_start_state.cpp.

MFGStartState::~MFGStartState (  ) 

Definition at line 61 of file mfg_start_state.cpp.


Member Function Documentation

Event MFGStartState::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 74 of file mfg_start_state.cpp.

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

A RobotMutualFacialGaze::Request message was received.

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

Reimplemented from State.

Definition at line 65 of file mfg_start_state.cpp.

Event MFGStartState::recogMFGazeCallback ( const engagement_srvs::RobotMutualFacialGaze::Request *  msg  ) 

Callback function for Recognition Mutual Facial Gaze topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 82 of file mfg_start_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 183 of file mfg_start_state.cpp.

Event MFGStartState::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 133 of file mfg_start_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