Project: engagement_generation

License: BSD

Dependencies:

Used by: None

All Packages

edu::wpi::hri::gen::policy::HIDGPolicy Class Reference

Inheritance diagram for edu::wpi::hri::gen::policy::HIDGPolicy:

List of all members.

Public Member Functions

synchronized void call (final HumanDirectedGaze request)
void gazeChanged (String target, boolean face, boolean lock)
 HIDGPolicy (NodeHandle handle, Logger logger, GazeKnowledge gaze, GazeListener next) throws RosException
void shutdown ()

Private Attributes

final Subscriber
< HumanDirectedGaze
dgsub
final Logger logger

Detailed Description

The Human Initiated Directed Gaze (HIDG) Policy determines whether to look at the objects the participant is referencing, or not. The reason for not looking would be if another node has locked the gaze onto a specific object.

Author:
Aaron Holroyd (aholroyd (at) wpi (dot) edu)

Definition at line 56 of file HIDGPolicy.java.


Constructor & Destructor Documentation

edu::wpi::hri::gen::policy::HIDGPolicy::HIDGPolicy ( NodeHandle  handle,
Logger  logger,
GazeKnowledge  gaze,
GazeListener  next 
) throws RosException [inline]

Create a new HIDG Policy to look at the objects that the participant is referencing, if possible

Parameters:
handle The node handle to subscribe with.
logger The logger to write to
gaze The knowledge of the gaze state.
next The next gaze listener which can override this one.

Definition at line 75 of file HIDGPolicy.java.


Member Function Documentation

synchronized void edu::wpi::hri::gen::policy::HIDGPolicy::call ( final HumanDirectedGaze  request  )  [inline]

Definition at line 95 of file HIDGPolicy.java.

void edu::wpi::hri::gen::policy::HIDGPolicy::gazeChanged ( String  target,
boolean  face,
boolean  lock 
) [inline, virtual]

The gazeChanged method is called when any change of status of the gaze occurs. The GazeKnowledge object will call each listener in the order in which they were added.

Parameters:
target The new target of the gaze.
face True if the new target is a face.
lock True if the new gaze must be locked.

Implements edu::wpi::hri::gen::comm::GazeListener.

Definition at line 109 of file HIDGPolicy.java.

void edu::wpi::hri::gen::policy::HIDGPolicy::shutdown (  )  [inline]

Shutdown the subscriber this object uses for human initiated directed gazes.

Definition at line 90 of file HIDGPolicy.java.


Member Data Documentation

Definition at line 60 of file HIDGPolicy.java.

Definition at line 59 of file HIDGPolicy.java.


The documentation for this class was generated from the following file:

engagement_generation
Author(s): Aaron Holroyd (aholroyd (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:35:45 2011