All Frameworks  Class Hierarchy  This Framework  Indexes

VPMInterfaces Macro ENOVRegisterGlobalMethod

Macro ENOVRegisterGlobalMethod (cmid,meth,type,stream)
Defines a global method.

Precondition: a package must have been previously declared (with ENOVRegisterPackage.e been previously declared (with macro).
Click here to see a complete example.
Parameters:
cmid
A reserved parameter. When customized, it must be set to NULL value.
meth
The global function name.
type
Defines the global function characteristics (security and/or event). They can be combined with | (pipe) character.
See also:
ENOVSecurityType for security type
Legal value: ENOVSecUNCONDITIONAL is the only valid value.
  • ENOVEvtType for event types
  • ENOVEvtModeType for event type modes

  • Example: ENOVSecUNCONDITIONAL|ENOVEvtPublic|ENOVEvtModeBefore
    means:
    • the function is secured (no condition applies)
    • a public event is fired before the function's execution
    stream
    The event stream name.
    Legal value: if no event is fired by macro, this argument should have Null value.
    Otherwise, the name should have been defined with
    ENOVRegisterEventData macro.

    This object is included in the file: ENOVRegister.h

    Copyright © 2003, Dassault Systèmes. All rights reserved.