Public classes
|
SDController Class that runs given commands which then change content on the segment display. Commands added to controller are executed one by one in queue. Methods
Methods public void AddCommand (AbsSDCommand command) Add new command to this controller queue. If queue is empty, execution of this command will start instantly on this or next Update loop. Controller will run this command just once and then moving to next command in queue if any.
public void AddRepeatingCommand (AbsSDCommand command) Add new command to this controller queue. If queue is empty, execution of this command will start instantly on this or next update loop. Controller will repeat this command forever. If there are multiple repeating commands, they are all looping in order they were added.
public void ClearCommands () Clear the controller commmand queue. Command that is currently being executed, if any, will finish normally. After finishing current command, controller will be idle unless new commands are added. public void ClearCommandsAndStop () Clear the controller commmand queue and stop any possible currently executing command. Controller will be idle immediately after this. Display is not cleared so whatever is on display when calling this will remain there. public bool IsIdle () Check whatever controller is idle.
|