All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.b_Persist_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_Persist_s

public class b_Persist_s
extends NodeBoolean
Persist on a true value of embedded NodeBoolean for the prescribed amount of time.

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

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o b_Persist_s(double, NodeScalar)
Instantiate an b_Persist_s operator.

Method Index

 o Value(long)
Return a boolean representing the persistant value of the output of the embedded schema.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debug printing on or off.

Constructors

 o b_Persist_s
 public b_Persist_s(double t,
                    NodeScalar im1)
Instantiate an b_Persist_s operator.

Parameters:
t - double, how long a true value should persist (seconds).
im1 - NodeScalar, the embedded perceptual schema that generates a value to persist.

Methods

 o Value
 public boolean Value(long timestamp)
Return a boolean representing the persistant value of the output of the embedded schema.

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