Project: engagement_generation

License: BSD

Dependencies:

Used by: None

All Packages

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

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

List of all members.

Public Member Functions

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

Private Attributes

final Logger logger
final Subscriber
< HumanMutualFacialGaze
mfgsub

Detailed Description

The Human Initiated Mutual Facial Gaze (HIMFG) Policy determines whether to look back at the participant 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 55 of file HIMFGPolicy.java.


Constructor & Destructor Documentation

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

Create a new HIMFG Policy to look back at the participant 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 73 of file HIMFGPolicy.java.


Member Function Documentation

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

Definition at line 94 of file HIMFGPolicy.java.

void edu::wpi::hri::gen::policy::HIMFGPolicy::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 103 of file HIMFGPolicy.java.

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

Shutdown the subscriber this object uses for human initiated mutual facial gazes.

Definition at line 89 of file HIMFGPolicy.java.


Member Data Documentation

Definition at line 59 of file HIMFGPolicy.java.

Definition at line 58 of file HIMFGPolicy.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