AVBlocks for C++  2.1
Audio and Video Software Development Kit
HwDeviceList Class Referenceabstract

An immutable list of devices. More...

Public Member Functions

virtual HwDeviceat (int32_t itemIndex) const =0
 Returns a device by index. More...
 
virtual int32_t count () const =0
 Returns the number of devices in the list. More...
 

Protected Member Functions

virtual ~HwDeviceList ()
 This object can be destroyed only by the library.
 

Detailed Description

An immutable list of devices.

Member Function Documentation

virtual HwDevice* at ( int32_t  itemIndex) const
pure virtual

Returns a device by index.

Parameters
index[in] A zero-based index.
@return A pointer to the Device object specified by <i>index</i>.

The caller is not required to release the returned object.

virtual int32_t count ( ) const
pure virtual

Returns the number of devices in the list.

Returns
number of devices in the list.