Top Up Prev Next Bottom Contents Index Search

Chapter 9. Parameters and States

Authors: Joseph T. Buck
Other Contributors: Neil Smyth
A State is a data structure associated with a block, used to remember data values from one invocation to the next. For example, the gain of an automatic gain controller is a state. A state need not be dynamic; for instance, the gain of fixed amplifier is a state. A parameter is the initial value of a state. A State actually has two values: the initial value, which is always a character string, and a current value, whose type is different for each derived class of State: integer for IntState, an array of real values for FloatArrayState, etc. In addition, states have attributes, which represent logical properties the state either has or does not have.



Top Up Prev Next Bottom Contents Index Search

Copyright © 1990-1997, University of California. All rights reserved.