| Producer {ipc} | R Documentation |
A Class for sending signals to a source
Description
A Class for sending signals to a source
A Class for sending signals to a source
Methods
Public methods
Method new()
Creates a Producer object linked to the source.
Usage
Producer$new(source)
Arguments
sourceA source.
Method setSource()
Setter for source.
Usage
Producer$setSource(source)
Arguments
sourceA source.
Method getSource()
Getter for source.
Usage
Producer$getSource()
Method fire()
Sends a signal to the source with associates object obj.
Usage
Producer$fire(signal, obj = NA)
Arguments
signalA string signal to send.
objThe object to associate with the signal.
Method fireEval()
Signals for execution of the expression obj with values from
the environment (or list) env substituted in.
Usage
Producer$fireEval(expr, env)
Arguments
exprAn expression to evaluate.
envAn environment or list for substitution
Method fireDoCall()
Signals for execution of the function whose string value is name
with the parameters in list param.
Usage
Producer$fireDoCall(name, param)
Arguments
namethe name of the function
paramA list of function parameters.
Method fireCall()
Signals for execution of the function whose string value is name
with the parameters ....
Usage
Producer$fireCall(name, ...)
Arguments
namethe name of the function
...The arguments to the function.
Method clone()
The objects of this class are cloneable with this method.
Usage
Producer$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.