All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.b_WatchDog_s
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeScalar
|
+----EDU.gatech.cc.is.clay.NodeBoolean
|
+----EDU.gatech.cc.is.clay.b_WatchDog_s
- public class b_WatchDog_s
- extends NodeBoolean
Monitor a boolean node for true values. If embedded node does not
go true before timeout, this node goes true.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
DEBUG
-
Turn debug printing on or off.
-
b_WatchDog_s(double, double, NodeScalar)
- Instantiate a b_WatchDog_s operator.
-
Value(long)
- Return a boolean WatchDog value.
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
b_WatchDog_s
public b_WatchDog_s(double t,
double p,
NodeScalar im1)
- Instantiate a b_WatchDog_s operator.
- Parameters:
- t - double, how long im1 can be false before a trigger (seconds).
- p - double, how long a true value should persist (seconds) when triggered.
- im1 - NodeScalar, the embedded node that generates a value
to watch.
Value
public boolean Value(long timestamp)
- Return a boolean WatchDog value.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- true or false.
- Overrides:
- Value in class NodeBoolean
All Packages Class Hierarchy This Package Previous Next Index