dmModel Object

Top  Previous  Next

The dmModel object exposes the Device Manager. It has the following properties and functions.

Functions

Return Value

Signature

Description

 

load()

Loads the DM objects

Component

findComponent( quint64 componentId )

Finds the component with id.

Device

findDevice( quint64 deviceId )

Find the device with id.

Control

findControl( quint64 controlId )

Finds the control with id.

Location

findLocation( quint64 locationId )

Finds the location with id.

Device

findDeviceByName( string name )

Finds the first device with name.

 

Properties

Name

Type

Description

base

enumerations. Either Promixis.DeviceManagerModel.COMPONENT_BASED or Promixis.DeviceManagerModel.LOCATION_BASED

Determines how the model is filled

pluginIdFilter

integer

The ID of the plugin to filter for (default = 0, means get all components ).

 

Events

Name

Type

Description

onLoaded

onLoaded()

This is called when the DM tree is fully loaded.