Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

DGStartState Class Reference

#include <dg_start_state.h>

Inheritance diagram for DGStartState:

List of all members.

Public Member Functions

 DGStartState (std::string actor, EventSink *sink)
 DGStartState ()
Event received (std::string topic, engagement_srvs::RobotDirectedGaze::Request *message)
Event received (std::string topic, engagement_msgs::Performance *message)
Event recogDirGazeCallback (const engagement_srvs::RobotDirectedGaze::Request *msg)
Event visionLookCallback (const engagement_msgs::Performance *msg)
Event visionPointCallback (const engagement_msgs::Performance *msg)
 ~DGStartState ()

Static Public Member Functions

static std::string type ()

Detailed Description

The DGStartState class provides the concrete implementation of the start state for the DirectedGazeRecognizer.

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

Definition at line 46 of file dg_start_state.h.


Constructor & Destructor Documentation

DGStartState::DGStartState (  ) 

Default constructor for the DGStartState class.

Definition at line 41 of file dg_start_state.cpp.

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

Constructor for the DGStartState class takes an Actor, an EventSink.

Parameters:
actor The Actor object
sink The EventSink

Definition at line 50 of file dg_start_state.cpp.

DGStartState::~DGStartState (  ) 

Definition at line 61 of file dg_start_state.cpp.


Member Function Documentation

Event DGStartState::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 76 of file dg_start_state.cpp.

Event DGStartState::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 65 of file dg_start_state.cpp.

Event DGStartState::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 86 of file dg_start_state.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 240 of file dg_start_state.cpp.

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

Callback function for Vision Look topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 132 of file dg_start_state.cpp.

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

Callback function for Vision Point topic.

Parameters:
msg The message received
Returns:
The Event created

Definition at line 186 of file dg_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