generateEventInterface     package:SWinTypeLibs     R Documentation

_C_r_e_a_t_e _R _i_n_t_e_r_f_a_c_e _t_o _D_C_O_M _e_v_e_n_t _c_l_a_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     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'.

_U_s_a_g_e:

     generateEventInterface(info, id, lib, defaultClassName = "CompiledCOMServer",
                             verbose = FALSE)

_A_r_g_u_m_e_n_t_s:

    info: the 'ITypeInfo-class' object (typically of class
          'ITypeInfoDispatch-class') that describes the event
          interface. It is from this that  we get its methods.

      id: a string (character vector of length 1) giving  the
          human-readable name of the interface, e.g '"WorkbookEvents"'

     lib: the 'ITypeLib-class' object used to resolve references to
          other DCOM interfaces/types

defaultClassName: the name of the class to use as the base class when
          defining new R classes.

 verbose: a logical value, with 'TRUE' indicating that output reporting
          progress and the current activity should be displayed on the
          console.

_V_a_l_u_e:

     An object of class 'RCOMEventInterfaceDefinition-class'.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang <duncan@wald.ucdavis.edu>

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://msdn.microsoft.com/library> <URL:
     http://www.omegahat.org/RWinTypeLibs>

_S_e_e _A_l_s_o:

     'generateInterface' 'generateClass'

