public class ObservableDigitalOut extends Observable implements DigitalOut
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
m_Set
A boolean holding the state of this digital out.
|
| Constructor and Description |
|---|
ObservableDigitalOut() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSet()
Tests if this DigitalOut is set.
|
void |
set(boolean b)
Sets the state of this DigitalOut.
|
addObserver, getObserverCount, notifyObservers, removeObserver, removeObserverspublic boolean isSet()
DigitalOutisSet in interface DigitalOutpublic void set(boolean b)
DigitalOutset in interface DigitalOutb - true if to be set, false otherwise.Copyright © 2017. All rights reserved.