| Home | Trees | Indices | Help |
|
|---|
|
|
scenario.actor.Actor --+
|
scenario.actor.CustomActor --+
|
DejaVuActor --+
|
DejaVuSperesRadiiActor
|
|||
|
__init__(self,
name,
object,
initialValue=None,
datatype=<class scenario.datatypes.FloatVarType at 0xb6dc3e6c>,
interp=<class scenario.interpolators.FloatVarScalarInterpolator at 0xb6dc3b6c>) Constructor of the Actor object, arguments: object: Python object on which to operate name: Name of this Actor, This name has to be unique among the list of ActorDescriptor in an Director setFunction: function to called at each time step. |
||
| setValue(self, value) | ||
| getValue(self) | ||
|
Inherited from Inherited from |
|||
|
|||
Constructor of the Actor object,
arguments:
object: Python object on which to operate
name: Name of this Actor, This name has to be unique
among the list of ActorDescriptor in an Director
setFunction: function to called at each time step.
The function will be called using func(*(actor,value))
getFunction=None: [optional] function that can be called to get the
current value of the attribute managed by this actor
The function and its arguments have to be specified as a
3-tuple (func, *args, **kw). It will be called using
func(*(object,)+args), **kw) if it is a function
or func(*args, **kw) if it is a method
interp interpreter class
initialValue initial value of the attribute
dataType type of the attribute value
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Fri Nov 2 14:07:22 2007 | http://epydoc.sourceforge.net |