TOC PREV NEXT INDEX

OMXobj::OMXobj

Synopsis


OMXobj::OMXobj(OMobj_id parent_id = OMinst_obj,
const char *name = NULL);

Description

OMXobj::OMXobj defines the constructor for all objects in the C++ API. You use this constructor to create a new AVS/Express object using the C++ API. There are additional arguments to the constructor that are used for internal purposes. These arguments have defaulted values which you should not override.

Arguements

parent_id
This argument specifies the id of the AVS/Express object to use as the parent of the newly created object. This argument is defaulted to using the value of the variable OMinst_obj (which refers to the id of the Applications object).
name
This argument specifies a pointer to a NULL terminated character string to use as the new name of the AVS/Express object. This argument is defaulted as NULL which causes AVS/Express to use the name of the template object as the base name for the newly created object. If there is an already an object of this name, a #<n> is appended to the name to make it unique..

Examples

none.

See Also

none.

TOC PREV NEXT INDEX