generateEventInterface | R Documentation |
This function creates R code to provide an interface
to a DCOM class or type that defines an event handler,
i.e. a DCOM interface that is used to respond to events from
an event source and so is a fixed server interface implemented
by a client to handle these types of events.
This function (generateEventInterface
)
creates the R code for a constructor function that
can be used to create an instance of the event handler,
along with knowledge of the methods, their identifiers,
their parameter types and return types, etc.
This is used when processing the event interface elements of a
type library in generateInterface
.
generateEventInterface(info, id, lib, defaultClassName = "CompiledCOMServer",
verbose = FALSE)
info |
the |
id |
a string (character vector of length 1) giving
the human-readable name of the interface, e.g
|
lib |
the |
defaultClassName |
the name of the class to use as the base class when defining new R classes. |
verbose |
a logical value, with |
An object of class RCOMEventInterfaceDefinition-class
.
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://msdn.microsoft.com/library http://www.omegahat.org/RWinTypeLibs
generateInterface
generateClass
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.