Project: engagement_recognition

License: BSD

Dependencies:

Used by: None

All Packages

AdjacencyPairRecognizer Class Reference

#include <adjacency_pair_recognizer.h>

Inheritance diagram for AdjacencyPairRecognizer:

List of all members.

Public Member Functions

 AdjacencyPairRecognizer (std::string actor, EventSink *sink)
 AdjacencyPairRecognizer ()
void initialize (initiator::Initiator initiator)
void transition (Event event)

Static Public Member Functions

static std::string type ()

Private Attributes

ros::Publisher hi_adjacency_pair_pub_
engagement_msgs::APAction initial_action_

Detailed Description

The AdjacencyPairRecognizer provides the concrete implementation for the adjacency pair recognizer. Which is responsible for recognizing when the an adjacency pair between an Actor and the Robot or vice versa.

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

Definition at line 49 of file adjacency_pair_recognizer.h.


Constructor & Destructor Documentation

AdjacencyPairRecognizer::AdjacencyPairRecognizer (  ) 

Default constructor for AdjacencyPairRecognizer.

Definition at line 40 of file adjacency_pair_recognizer.cpp.

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

Constructor for AdjacencyPairRecognizer which takes an Actor, and an EventSink.

Parameters:
actor The Actor for this recognizer
sink The parent EventSink

Definition at line 62 of file adjacency_pair_recognizer.cpp.


Member Function Documentation

void AdjacencyPairRecognizer::initialize ( initiator::Initiator  initiator  ) 

Initialize this Recognizer.

Parameters:
initiator The initiator of the Recognizer

Reimplemented from Recognizer.

Definition at line 87 of file adjacency_pair_recognizer.cpp.

void AdjacencyPairRecognizer::transition ( Event  event  )  [virtual]

Transition into a new State based on an Event.

Parameters:
event The event

Implements Recognizer.

Definition at line 128 of file adjacency_pair_recognizer.cpp.

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

Static method that gives the type of this State.

Returns:
The type of this state

Definition at line 225 of file adjacency_pair_recognizer.cpp.


Member Data Documentation

Publish the human initiated adjacency pair message.

Definition at line 53 of file adjacency_pair_recognizer.h.

engagement_msgs::APAction AdjacencyPairRecognizer::initial_action_ [private]

The action initiated by the human.

Definition at line 56 of file adjacency_pair_recognizer.h.


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