BakeoutController-Basic  0.1
A Controller for the Omicron vacuum chamber
VariableProvider.java
1 package kernel.views.variables;
2 
4 
5 import java.time.Duration;
6 import java.util.List;
7 
12 public interface VariableProvider<T extends Variable> {
13 
17  List<T> getValues();
18 
23  Duration getLengthOfHistory();
24 
28  Integer getNumberOfDataPoints();
29 
34  Boolean isProvidingVariables();
35 
40  void setNumberOfDataPoints(Integer numberOfDataPoints);
41 
45  void clearHistory();
46 
50  Duration getPollingInterval();
51 
56  void setPollingInterval(Duration pollingInterval) throws
58 
63 
68 }
void setPollingInterval(Duration pollingInterval)
void setNumberOfDataPoints(Integer numberOfDataPoints)
void addOnChangeListener(VariableChangeEventListener< T > listener)
void removeOnChangeListener(VariableChangeEventListener< T > listener)
Git Repo