OpenDOF Project
boolean DOFInterfaceBuilder_AddMethod ( DOFInterfaceBuilder  self,
DOFItemID  itemID,
uint16  inParameterCount,
DOFType  inParameters[],
uint16  outParameterCount,
DOFType  outParameters[] 
)

Add a method to the interface builder.

Parameters
selfThe DOFInterfaceBuilder to which the method is added. If NULL, no action will be taken.
itemIDThe DOFItemID corresponding to the method to be added. Should not be NULL.
inParameterCountThe count of DOFType elements in inParameters. A 0 value indicates no input parameters are used by the method.
inParametersAn array of DOFTypes representing the input parameters for this method. Must not be NULL if inParameterCount > 0.
outParameterCountThe count of DOFType elements in outParameters. A 0 value indicates no output parameters are used by the event.
outParametersAn array of DOFTypes representing the output parameters for this method. Must not be NULL if outParameterCount > 0.
Returns
boolean TRUE if the method was successfully added.
Exceptions
FALSEis returned if an invalid parameter was detected or insufficient resources were available to add the event.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22