A Class for sending signals to a source
A Class for sending signals to a source
new()
Creates a Producer object linked to the source
.
Producer$new(source)
source
A source.
setSource()
Setter for source.
Producer$setSource(source)
source
A source.
getSource()
Getter for source.
Producer$getSource()
fire()
Sends a signal to the source with associates object obj
.
Producer$fire(signal, obj = NA)
signal
A string signal to send.
obj
The object to associate with the signal.
fireEval()
Signals for execution of the expression obj
with values from
the environment (or list) env
substituted in.
Producer$fireEval(expr, env)
expr
An expression to evaluate.
env
An environment or list for substitution
fireDoCall()
Signals for execution of the function whose string value is name
with the parameters in list param
.
Producer$fireDoCall(name, param)
name
the name of the function
param
A list of function parameters.
fireCall()
Signals for execution of the function whose string value is name
with the parameters ...
.
Producer$fireCall(name, ...)
name
the name of the function
...
The arguments to the function.
clone()
The objects of this class are cloneable with this method.
Producer$clone(deep = FALSE)
deep
Whether to make a deep clone.