Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

DGRobotDirectingState Class Reference

#include <dg_robot_directing_state.h>

Inheritance diagram for DGRobotDirectingState:

List of all members.

Public Member Functions

 DGRobotDirectingState (std::string actor, EventSink *sink)
 DGRobotDirectingState ()
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 visionLookCallback (const engagement_msgs::Performance *msg)
Event visionPointCallback (const engagement_msgs::Performance *msg)
 ~DGRobotDirectingState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The DGRobotDirectingState class provides the concrete implementation of the robot directing state for the DirectedGazeRecognizer.

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

Definition at line 47 of file dg_robot_directing_state.h.


Constructor & Destructor Documentation

DGRobotDirectingState::DGRobotDirectingState (  ) 

Default constructor for the DGRobotDirectingState class.

Definition at line 41 of file dg_robot_directing_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file dg_robot_directing_state.cpp.

DGRobotDirectingState::~DGRobotDirectingState (  ) 

Definition at line 58 of file dg_robot_directing_state.cpp.


Member Function Documentation

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

Callback function for Engagement Status topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 113 of file dg_robot_directing_state.cpp.

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

Callback function for Performing Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 150 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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

A message was received.

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

Reimplemented from State.

Definition at line 103 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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 83 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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 72 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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 62 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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 188 of file dg_robot_directing_state.cpp.

Event DGRobotDirectingState::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 223 of file dg_robot_directing_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this State

Definition at line 354 of file dg_robot_directing_state.cpp.

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

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 262 of file dg_robot_directing_state.cpp.

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

Callback function for Vision Point topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 312 of file dg_robot_directing_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