hmi.elckerlyc
Class AbstractPlanner
java.lang.Object
hmi.elckerlyc.AbstractPlanner
- All Implemented Interfaces:
- Planner
- Direct Known Subclasses:
- AnimationPlanner, AudioPlanner, FacePlanner, InterruptPlanner, TextPlanner, TTSPlanner, WaitPlanner
public abstract class AbstractPlanner
- extends Object
- implements Planner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hmi.elckerlyc.Planner |
addBehaviour, addExceptionListener, clearAll, getInvalidBehaviours, getPlayer, getSupportedBehaviours, getSupportedDescriptionExtensions, interruptBehaviour, removeAllExceptionListeners, removeBehaviour, reset, resolveSynchs, setParameterValue, setParameterValue |
feedbackListeners
private final List<BMLFeedbackListener> feedbackListeners
AbstractPlanner
public AbstractPlanner()
getFeedbackListeners
public List<BMLFeedbackListener> getFeedbackListeners()
- Specified by:
getFeedbackListeners in interface Planner
- Returns:
- an unmodifiable view of the registered feedback listeners
addFeedbackListener
public void addFeedbackListener(BMLFeedbackListener fb)
- Specified by:
addFeedbackListener in interface Planner
removeFeedbackListener
public void removeFeedbackListener(BMLFeedbackListener fb)
- Specified by:
removeFeedbackListener in interface Planner
removeAllFeedbackListeners
public void removeAllFeedbackListeners()
- Specified by:
removeAllFeedbackListeners in interface Planner
setBMLBlockState
public void setBMLBlockState(String bmlId,
PlanUnitState state)
- Specified by:
setBMLBlockState in interface Planner
getBehaviours
public Set<String> getBehaviours(String bmlId)
- Specified by:
getBehaviours in interface Planner
getEndTime
public double getEndTime(String behId,
String bmlId)
- Specified by:
getEndTime in interface Planner
interruptBehaviourBlock
public void interruptBehaviourBlock(String bmlId,
double time)
- Description copied from interface:
Planner
- Interrupt all behaviors in a bml block
This stops the behavior an removes it from the plan
- Specified by:
interruptBehaviourBlock in interface Planner
shutdown
public void shutdown()
- Description copied from interface:
Planner
- Clean up resources constructed with the planner (e.g. for native stuff, spawned threads, ...). A planner should not be (re)used after shutting it down.
- Specified by:
shutdown in interface Planner