HwDeviceList

primo::codecs::HwDeviceList

class HwDeviceList

An immutable list of devices.

Public Functions

virtual int32_t count() const = 0

Returns the number of devices in the list.

Returns:

number of devices in the list.

virtual HwDevice *at(int32_t index) const = 0

Returns a device by index.

The caller is not required to release the returned object.

Parameters:

index – [in] A zero-based index.

Returns:

A pointer to the Device object specified by index.