Learn R Programming

ipc (version 0.1.4)

Producer: 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

Arguments

Methods


Method new()

Creates a Producer object linked to the source.

Usage

Producer$new(source)

Arguments

source

A source.


Method setSource()

Setter for source.

Usage

Producer$setSource(source)

Arguments

source

A 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

signal

A string signal to send.

obj

The 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

expr

An expression to evaluate.

env

An 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

name

the name of the function

param

A 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

name

the 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

deep

Whether to make a deep clone.