Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

DGSharedGazeState Class Reference

#include <dg_shared_gaze_state.h>

Inheritance diagram for DGSharedGazeState:

List of all members.

Public Member Functions

 DGSharedGazeState (std::string actor, EventSink *sink)
 DGSharedGazeState ()
Event engageStatusCallback (const engagement_msgs::ActorIDStatus *msg)
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 received (std::string topic, engagement_srvs::RobotMutualFacialGaze::Request *message)
Event recogDirGazeCallback (const engagement_srvs::RobotDirectedGaze::Request *msg)
Event recogMFGazeCallback (const engagement_srvs::RobotMutualFacialGaze::Request *msg)
Event visionFacialGazeCallback (const engagement_msgs::Performance *msg)
Event visionLookCallback (const engagement_msgs::Performance *msg)
 ~DGSharedGazeState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The DGSharedGazeState class provides the concrete implementation of the shared gaze state for the DirectedGazeRecognizer.

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

Definition at line 46 of file dg_shared_gaze_state.h.


Constructor & Destructor Documentation

DGSharedGazeState::DGSharedGazeState (  ) 

Default constructor for the DGSharedGazeState class.

Definition at line 41 of file dg_shared_gaze_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file dg_shared_gaze_state.cpp.

DGSharedGazeState::~DGSharedGazeState (  ) 

Definition at line 61 of file dg_shared_gaze_state.cpp.


Member Function Documentation

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

Callback function for Engagement Status topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 324 of file dg_shared_gaze_state.cpp.

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

Callback function for Performing Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 107 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 98 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 85 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 75 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 189 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 155 of file dg_shared_gaze_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 358 of file dg_shared_gaze_state.cpp.

Event DGSharedGazeState::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 289 of file dg_shared_gaze_state.cpp.

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

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 233 of file dg_shared_gaze_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