Home | Trees | Indices | Help |
|
---|
|
object --+ | Controller --+ | ExecStringController
Set parameters using potentially complex Python string. You can execute arbitrarily complex Python code with this controller. The return value must be contained within the variable "x". In other words, this string must assign the variable x, so setting the string to "x=1.0" would set the parameter under control to 1.0. To increase speed, the string is compiled to Python's bytecode format. The string can make use of temporal variables, which are made available depending on the controller's temporal_variables attribute. Note that only the absolute temporal variables are available when the go loop is not running. flag(s) present variable description ----------------- -------- ---------------------------------- TIME_SEC_ABSOLUTE t_abs seconds, continuously increasing TIME_SEC_SINCE_GO t seconds, reset to 0.0 each go loop FRAMES_ABSOLUTE f_abs frames, continuously increasing FRAMES_SINCE_GO f frames, reset to 0 each go loop
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Variables | |
Inherited from |
Properties | |
Inherited from |
Method Details |
Create instance of Controller. Arguments: eval_frequency -- Int, bitwise "or" of flags temporal_variables -- Int, bitwise "or" of flags return_type -- Set to type() of the parameter under control
|
Called by Presentation. Overrides method in Controller base class.
|
Called by Presentation. Overrides method in Controller base class.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Sat Jun 7 09:06:46 2008 | http://epydoc.sourceforge.net |