Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

DGHumanDirectingState Class Reference

#include <dg_human_directing_state.h>

Inheritance diagram for DGHumanDirectingState:

List of all members.

Public Member Functions

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

Static Public Member Functions

static std::string type ()

Detailed Description

The DGHumanDirectingState class provides the concrete implementation of the human directing state for the DirectedGazeRecognizer.

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

Definition at line 47 of file dg_human_directing_state.h.


Constructor & Destructor Documentation

DGHumanDirectingState::DGHumanDirectingState (  ) 

Default constructor for the DGHumanDirectingState class.

Definition at line 41 of file dg_human_directing_state.cpp.

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

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

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file dg_human_directing_state.cpp.

DGHumanDirectingState::~DGHumanDirectingState (  ) 

Definition at line 58 of file dg_human_directing_state.cpp.


Member Function Documentation

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

Callback function for Engagement Status topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 96 of file dg_human_directing_state.cpp.

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

Callback function for Performing Look topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 133 of file dg_human_directing_state.cpp.

Event DGHumanDirectingState::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 86 of file dg_human_directing_state.cpp.

Event DGHumanDirectingState::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 73 of file dg_human_directing_state.cpp.

Event DGHumanDirectingState::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 dg_human_directing_state.cpp.

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

Callback function for Recognition Directed Gaze topic.

Parameters:
msg The message recieved
Returns:
The Event created

Definition at line 171 of file dg_human_directing_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 316 of file dg_human_directing_state.cpp.

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

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 203 of file dg_human_directing_state.cpp.

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

Callback function for Vision Point topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 262 of file dg_human_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