User Tools

Site Tools


DzDeviceMgr

Manager responsible for hardware devices.

More...

Inherits :

Methods

DAZ Script
DzDevicegetDevice ( Number which )
NumbergetNumDevices ()

Detailed Description

Responsible for the management of hardware devices.

There is only one instance of this manager in an application. This instance is created and owned by DzApp. Request the instance via DzApp::getDeviceMgr().

See Also:

Methods


DzDevice : getDevice( Number which )

Parameter(s):

  • which - The index of the device to get.

Return Value:

  • The device at the given index.

Attention:

  • The Device Manager owns this object - do NOT delete it.

Number : getNumDevices()

Return Value:

  • The number of available devices.