Project: engagement_generation

License: BSD

Dependencies:

Used by: None

All Packages

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

List of all members.

Classes

class  BCSubscriber
class  PerformanceCallback
class  Result

Public Member Functions

 BMLRealizer (NodeHandle handle, MasterSpinner spin, Logger logger) throws RosException
Result sendBML (EBMLList list)
void shutdown ()

Private Attributes

List< BCOccurrencebackchannels
final Subscriber
< HumanBackchannel
bcSub
Behavior currentBehavior
final Logger logger
final Subscriber< BMLPerformanceperformSub
final ServiceClient
< BMLRealization.Request,
BMLRealization.Response,
BMLRealization
realizeSrv
final MasterSpinner spinner

Detailed Description

The BML Realizer class is responsible for sending BML messages to the BML Realizer node. This includes taking the actual objects which know the behaviors to complete and generating the actual BML from them.

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

Definition at line 63 of file BMLRealizer.java.


Constructor & Destructor Documentation

edu::wpi::hri::gen::comm::BMLRealizer::BMLRealizer ( NodeHandle  handle,
MasterSpinner  spin,
Logger  logger 
) throws RosException [inline]

Create a new BML Realizer which knows how to actually send the behaviors which are required in order to complete the current turn fragment.

Parameters:
handle The handle to use to subscribe to the BML services and messages.
spin The MasterSpinner to create a new spinner on, when the services are called.
logger The logger to log information to.
Exceptions:
RosException is thrown if ROS can not connect.

Definition at line 88 of file BMLRealizer.java.


Member Function Documentation

Result edu::wpi::hri::gen::comm::BMLRealizer::sendBML ( EBMLList  list  )  [inline]

Send the given Behaviors to the BML Realizer in order to communicate.

Parameters:
bml The bml document in string form to send to the realizer.
Returns:
The success status of the call to the realizer.

Definition at line 121 of file BMLRealizer.java.

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

Shutdown the service client and the subscribers to what the realizer and human are doing.

Definition at line 108 of file BMLRealizer.java.


Member Data Documentation

Definition at line 67 of file BMLRealizer.java.

Definition at line 68 of file BMLRealizer.java.

Definition at line 66 of file BMLRealizer.java.

final ServiceClient<BMLRealization.Request, BMLRealization.Response, BMLRealization> edu::wpi::hri::gen::comm::BMLRealizer::realizeSrv [private]

Definition at line 65 of file BMLRealizer.java.

final MasterSpinner edu::wpi::hri::gen::comm::BMLRealizer::spinner [private]

Definition at line 69 of file BMLRealizer.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:44 2011