Previous | Table of Contents | Next |
Some design principles used when creating OPC were:
• Method behavior is sometimes controlled by an input parameter.
• Related data is transferred in multiple parallel vectors.
• A method has one single behavior resulting in some OPC methods being replaced by more than one DAIS method.
• Related data is kept together in structs resulting in reduction of the number of parameters compared to OPC.
• Outputs are returned as method return results resulting in the OPC HRESULT parameter being replaced by exceptions and reduced number of output parameters compared to OPC.
• Outputs are always returned in one or more output parameters.
To simplify and get a more uniform interface these principles have been replaced by the following: