MultiCam Boards Documentation > MultiCam Documentation > MultiCam User Guide > MultiCam Basics > Classes > Class Instantiation > Object Creation and Deletion

Object Creation and Deletion

Creating an object is equivalent to instantiating a class.

This is done with the MultiCam API function McCreate or McCreateNm.

Creating an object of a specified class has the following effects:

User applications can create channel and surface objects as many times as needed. This means that several objects of this class usually exist.

The configuration class exists in a single instance. The board class exists in a single instance for each Euresys board. The board and configuration objects cannot be created by a user application. The configuration object or board objects natively exist when the application connects itself to the MultiCam driver.

When an object is no more needed by the application, it is advisable to release the resources assigned to it. This is done with the MultiCam API function McDelete.