Project: bml_realizer

License: BSD

Dependencies:

Used by: None

All Packages

edu::wpi::hri::bml::exec::SchedulerException Class Reference

List of all members.

Public Member Functions

 SchedulerException (String reason, SyncRef base, SyncRef listening, boolean warn)

Public Attributes

final SyncRef base
final SyncRef listening
final boolean warning

Detailed Description

The scheduler exception is used when a behavior attempts to sync to another behavior, but fails to do so. If the schedule can be reversed, the exception is simply a warning, but otherwise the exception shows that the schedule failed.

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

Definition at line 47 of file SchedulerException.java.


Constructor & Destructor Documentation

edu::wpi::hri::bml::exec::SchedulerException::SchedulerException ( String  reason,
SyncRef  base,
SyncRef  listening,
boolean  warn 
) [inline]

Throw a new Scheduler Exception which signifies that a constraint could not be satisfied.

Parameters:
reason The human readable reason for failure.
base The base behavior that was trying to be synchronized to.
listening The behavior trying to listen to base.
warn True if this is just a warning, false if this is impossible to fix.

Definition at line 73 of file SchedulerException.java.


Member Data Documentation

The base sync reference which the listening was trying to sync to

Definition at line 50 of file SchedulerException.java.

The listening behavior which could not listen to base

Definition at line 52 of file SchedulerException.java.

True if this is just a warning and the schedule will continue, false if this could not be fixed.

Definition at line 57 of file SchedulerException.java.


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

bml_realizer
Author(s): Aaron Holroyd (aholroyd (at) wpi (dot) edu)
autogenerated on Fri Sep 9 10:44:15 2011