CUpnpAVDeviceList Class Reference

class CUpnpAVDeviceList : public CBase

UPnP AV Device list class

upnpavcontrollerclient.lib
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

CUpnpAVDeviceList()

CUpnpAVDeviceList()[protected]

C++ default constructor.

~CUpnpAVDeviceList()

~CUpnpAVDeviceList()[virtual]

Destructor.

Member Functions Documentation

AppendDeviceL(CUpnpAVDevice &)

IMPORT_C voidAppendDeviceL(CUpnpAVDevice &aDevice)

Appends a new device

Parameters

CUpnpAVDevice & aDevice

ConstructL()

voidConstructL()[protected]

By default Symbian 2nd phase constructor is private.

Count()

IMPORT_C TIntCount()const

Returns the count of devices

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalizes list

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalizes itemlist information from stream.

Parameters

RReadStream & aStream

NewL()

IMPORT_C CUpnpAVDeviceList *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CUpnpAVDeviceList *NewLC()[static]

Two-phased constructor.

Remove(TInt)

IMPORT_C voidRemove(TIntaIndex)

Detaches a device

Parameters

TInt aIndex

RemoveAndDestroy(TInt)

IMPORT_C voidRemoveAndDestroy(TIntaIndex)

Removes a device

Parameters

TInt aIndex

Reset()

IMPORT_C voidReset()

Detaches all devices

ResetAndDestroy()

IMPORT_C voidResetAndDestroy()

Removes all devices

ToDes8L()

IMPORT_C HBufC8 *ToDes8L()const

Serialize the whole list to a heap based descriptor.

operator[](TInt)

IMPORT_C CUpnpAVDevice *operator[](TIntaIndex)const

Operator

Parameters

TInt aIndex

Member Data Documentation

RPointerArray< CUpnpAVDevice > iDevices

RPointerArray< CUpnpAVDevice >iDevices[private]