Interface InputDispenser
- All Known Implementing Classes:
CoreInputDispenser,CycleLogInputType.Dispenser,FilteringInputDispenser,TargetRateInputType.Dispenser
public interface InputDispenser
An InputDispenser is created for each Activity instance within a scenario.
When a thread is created, the motor and its input and action instances are resolved.
The InputDispenser is responsible for choosing how the input is resolved,
whether that is a shared thread-safe input or an input per slot.
-
Method Summary
-
Method Details
-
getInput
Resolve (find or create) an Input instance for the slot specified. The input is not required to be per-slot (per-thread), but any shared inputs must be thread safe.- Parameters:
slot- The numbered slot within the activity instance for this action.- Returns:
- A new or cached Input for the specified slot.
-