start


Description:

public virtual bool start ()

Starts providering the devices.

This will cause DEVICE_ADDED and DEVICE_REMOVED messages to be posted on the provider's bus when devices are added or removed from the system.

Since the DeviceProvider is a singleton, start may already have been called by another user of the object, stop needs to be called the same number of times.

After this function has been called, get_devices will return the same objects that have been received from the DEVICE_ADDED messages and will no longer probe.

Parameters:

this

A DeviceProvider

Returns:

true if the device providering could be started