Project: engagement_generation

License: BSD

Dependencies:

Used by: None

All Packages

edu::wpi::hri::gen::comm::TurnFragmentProvider Class Reference

Inheritance diagram for edu::wpi::hri::gen::comm::TurnFragmentProvider:

List of all members.

Public Member Functions

Response call (Request request)
void shutdown ()
 TurnFragmentProvider (NodeHandle handle, Logger logger, BMLRealizer realizer, XMLInterface xml, GazeKnowledge knowledge, SituationKnowledge world, BMLEmitListener emit, ReferencePolicy ref, TurnPositionPolicy turn) throws RosException

Private Attributes

final BMLEmitListener emit
final GazeKnowledge knowledge
final Logger logger
final BMLRealizer realizer
final ReferencePolicy refPolicy
final TurnPositionPolicy turnPolicy
final ServiceServer
< TurnFragment.Request,
TurnFragment.Response,
TurnFragment
turnSrv
final SituationKnowledge world
final XMLInterface xml

Detailed Description

The TurnFragmentProvider class provides the turn fragment Service for the Generation Node. This service is used as the primary method for another node to execute turn fragments and ensure that the turn fragments have the engagement behaviors added in.

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

Definition at line 72 of file TurnFragmentProvider.java.


Constructor & Destructor Documentation

edu::wpi::hri::gen::comm::TurnFragmentProvider::TurnFragmentProvider ( NodeHandle  handle,
Logger  logger,
BMLRealizer  realizer,
XMLInterface  xml,
GazeKnowledge  knowledge,
SituationKnowledge  world,
BMLEmitListener  emit,
ReferencePolicy  ref,
TurnPositionPolicy  turn 
) throws RosException [inline]

Create a new TurnFragmentProvider which can create the necessary behaviors in order to accomplish the actions as required by the task. The actions will be given in the form of ebml and translated into bml.

Parameters:
handle The handle to the ros node so that this object can listen for the service requests.
logger The logger to log information and events to.
realizer The BML Realizer to send the actual produced BML to.
xml The xml interface to use to parse the ebml and generate bml.
knowledge The knowledge of where the robot is looking.
world The knowledge of where objects are in the world.
emit The emit behavior listener to wait for connection events.
ref The policy to use when applying references.
turn The policy to use when applying turn positions.

Definition at line 110 of file TurnFragmentProvider.java.


Member Function Documentation

Response edu::wpi::hri::gen::comm::TurnFragmentProvider::call ( Request  request  )  [inline]

Definition at line 136 of file TurnFragmentProvider.java.

void edu::wpi::hri::gen::comm::TurnFragmentProvider::shutdown (  )  [inline]

Shutdown the service.

Definition at line 131 of file TurnFragmentProvider.java.


Member Data Documentation

Definition at line 74 of file TurnFragmentProvider.java.

final ServiceServer<TurnFragment.Request, TurnFragment.Response, TurnFragment> edu::wpi::hri::gen::comm::TurnFragmentProvider::turnSrv [private]

Definition at line 83 of file TurnFragmentProvider.java.

Definition at line 76 of file TurnFragmentProvider.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