RCOMTypeInterfaceDefinition-classpackage:SWinTypeLibsR Documentation

_C_l_a_s_s_e_s _f_o_r _r_e_p_r_e_s_e_n_t_i_n_g _R _c_o_d_e _t_o _i_n_t_e_r_f_a_c_e _t_o _D_C_O_M _c_l_a_s_s_e_s.

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

     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.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

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

_S_l_o_t_s:


     '_c_l_a_s_s_N_a_m_e': Object of class 'ClassDefinition-class', code
          defining an S4 class representing the interface.

     '_m_e_t_h_o_d_s': Object of class '"list"', a list of
          '\class{COMMethodDefinition-class}' elements corresponding to
          the methods (not property accessors) in the DCOM interface.

     '_g_u_i_d': Object of class '"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.

     '_i_n_t_e_r_f_a_c_e_N_a_m_e': Object of class '"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.

     '_c_o_n_s_t_r_u_c_t_o_r:' a character string giving the  code for an R
          function that creates an R event handler for this type of
          DCOM interface. See 'createEventServerFromTemplate'.

     '_t_e_m_p_l_a_t_e:' an object of class '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.

     '_p_r_o_p_e_r_t_y_G_e_t_s:' a list of  'COMPropertyGetDefinition-class'
          objects corresponding to the property read-accessors methods
          in the DCOM interface.

     '_p_r_o_p_e_r_t_y_S_e_t_s:' a list of  'COMPropertySetDefinition-class'
          objects corresponding to the property write-accessors, i.e.
          the methods that set the  value of a property, in the DCOM
          interface.


_M_e_t_h_o_d_s:


     _w_r_i_t_e_C_o_d_e 'signature(def = "RCOMTypeInterfaceDefinition", file =
          "character")': ... 

     _w_r_i_t_e_C_o_d_e 'signature(def = "RCOMTypeInterfaceDefinition", file =
          "ANY")': ... 

_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' 'writeCode'

     Non-exported methods in 'generate.S': 'generateClass',
     'generateMethod'

