SCOMEnvironmentClass-class | R Documentation |
This class is used to represent a COM definition that involves a
generator function that is called to create unique instances when a
COM object is needed of this class. The part of the class that
involves an environment
is typically that the generator
function returns a list of functions that share a common environment
and the variables within that environment. This gives the mutable
state and this is a very natural way to think of COM objects in R.
This class should not be used directly at present. Instead,
use SCOMIDispatch-class
which is almost exactly
the same but uses a more complete dispatch mechanism that is
implemented in S (COMSIDispatchObject
).
Using this class directly is stronly discouraged at present.
Instead, use the SCOMIDispatch-class
and its constructor function SCOMIDispatch
.
generator
:Object of class "function"
.
This is the generator function that is invoked each time
a new COM object is requested for this class.
It is expected to return a list of functions which are used
as the methods. The names of the elements in the list are used
as the names of the methods that are visible to clients.
Any properties that are to be exported are identified
by having an element named .properties
in the list which contains a character vector giving
the names of the accessible properties.
Inherited from SCOMClass-class
Inherited from SCOMClass-class
Inherited from SCOMClass-class
Inherited from SCOMClass-class
Inherited from SCOMClass-class
Inherited from SCOMClass-class
Class "SCOMClass"
, directly.
signature(def = "SCOMEnvironmentClass")
: ...
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://www.omegahat.org/RDCOMServer
SCOMIDispatch
# Don't use this class directly. #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.