| RCOMTypeInterfaceDefinition-class {SWinTypeLibs} | R Documentation |
These classes provide basic structures for representing R code that interfaces to (i) a DCOM interface/class, and (ii) a DCOM event handler interface.
RCOMDispatchInterfaceDefinition is used
to represent code that interfaces to the methods and
property accessors of a DCOM interface. The elements
define the R functions that interface to these DCOM methods.
The RCOMEventInterfaceDefinition class does something
similar but provides code to create an event handler
for the particular DCOM event interface.
It provides a constructor function for this, along with
template functions to implement the event server methods.
Objects can be created by calls of the form
new("RCOMDispatchInterfaceDefinition", ...)
and new("RCOMEventInterfaceDefinition", ...).
However, they are not expected to be used except by
developers. They are exported so that others can
use their contents.
Instead, they are created in calls to
generateClass and generateEventInterface.
className:ClassDefinition-class,
code defining an S4 class representing the interface.methods:"list",
a list of \class{COMMethodDefinition-class} elements
corresponding to the methods (not property accessors)
in the DCOM interface.guid:"character",
a collection of the UUIDs implemented by the interface.
In general, there will be just one of these.
This allows us to map between the human-readable name of the
DCOM interface and its precise, unique identifier.interfaceName:"character",
the name of the DCOM interface/class for which the code is being
generated. This may be different from the R class name
used to interface to the DCOM class.constructor:createEventServerFromTemplate.template:COMEventServerInfo-class
that is used to provide a stub or template for each
method in the DCOM interface along with information
about the parameters and their types, and the return value of the
method.propertyGets:COMPropertyGetDefinition-class objects
corresponding to the property read-accessors methods in the DCOM
interface.propertySets:COMPropertySetDefinition-class objects
corresponding to the property write-accessors, i.e. the methods that set the
value of a property, in the DCOM
interface.
signature(def = "RCOMTypeInterfaceDefinition", file = "character"): ... signature(def = "RCOMTypeInterfaceDefinition", file = "ANY"): ... Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
Non-exported methods in generate.S:
generateClass, generateMethod