Fake Object

Top  Previous  Next

A fake object is used in Cockpit to group all functions manipulating an object type into one Xbase++ class in the form of methods and ivars. In the function implementations the handle of the object to be manipulated is generally passed as first parameter. This parameter can be omitted when the corresponding method of a fake object is used instead because the handle is automatically substituted.