CAccMonitorInfo Class Reference

class CAccMonitorInfo : public CBase

CAccMonitorInfo is a container for single accessory information.

CAccMonitorInfo holds accessory capabilities and other accessory related information. The data members of this class can be accessed with methods in in this class.

CAccMonitor for examples. AccMonitor
Since
S60 5.0

Inherits from

Constructor & Destructor Documentation

CAccMonitorInfo()

CAccMonitorInfo()[private]

Default Constructor

~CAccMonitorInfo()

~CAccMonitorInfo()[virtual]

Destructor

Member Functions Documentation

AccCapabilityAtIndex(TInt)

TAccMonCapability AccCapabilityAtIndex(TIntaIndex)const [inline]

Gets a capability that is defined in the array for this connected accessory. If the array of this class is empty and this function is used this function will panic.

Parameters

TInt aIndexis the index where some capability needs to be getted.

AccDeviceAddress()

TUint64 AccDeviceAddress()const [inline]

Gets the accessory device address defined for this connected accessory.

AccDeviceType()

TAccMonCapability AccDeviceType()const [inline]

Gets the accessory device type defined for this connected accessory.

AccPhysicalConnection()

TAccMonCapability AccPhysicalConnection()const [inline]

Gets the accessory physical connection defined for this connected accessory.

CompareL(const CAccMonitorInfo *)

IMPORT_C TBoolCompareL(const CAccMonitorInfo *aAccMonInfo)const

Comparison function for this class.

Parameters

const CAccMonitorInfo * aAccMonInfois the instance what needs to be compared.

ConstructL()

voidConstructL()[private]

Symbian OS 2nd phase constructor

ConstructL(const CAccMonitorInfo *)

voidConstructL(const CAccMonitorInfo *aAccMonInfo)[private]

Symbian OS 2nd phase constructor

Parameters

const CAccMonitorInfo * aAccMonInfo

CopyL(const CAccMonitorInfo *)

IMPORT_C voidCopyL(const CAccMonitorInfo *aAccMonInfo)

Copy function for this class.

Parameters

const CAccMonitorInfo * aAccMonInfois the instance from what the copy needs to be made of.

Count()

TInt Count()const [inline]

Gets the count of objects in the array.

Exists(TAccMonCapability)

TBool Exists(TAccMonCapabilityaCapability)const [inline]

Checks if some capability is defined in this connected accessory.

Parameters

TAccMonCapability aCapabilityis the capability definition that needs to be checked if it is defined for this accessory.

Exists(RAccMonCapabilityArray &)

IMPORT_C TBoolExists(RAccMonCapabilityArray &aCapabilityArray)const

Checks if a group of capabilities are defined for this accessory. aCapabilityArray is the array of capabilities that need to be checked.

Parameters

RAccMonCapabilityArray & aCapabilityArrayis the array of capability definitionion that need to be checked if they are defined for this accessory.

NewL()

IMPORT_C CAccMonitorInfo *NewL()[static]

Symbian two phased constructor.

NewL(const CAccMonitorInfo *)

IMPORT_C CAccMonitorInfo *NewL(const CAccMonitorInfo *aAccMonInfo)[static]

Symbian two phased constructor.

Parameters

const CAccMonitorInfo * aAccMonInfo

NewLC()

IMPORT_C CAccMonitorInfo *NewLC()[static]

Symbian two phased constructor.

NewLC(const CAccMonitorInfo *)

IMPORT_C CAccMonitorInfo *NewLC(const CAccMonitorInfo *aAccMonInfo)[static]

Symbian two phased constructor.

Parameters

const CAccMonitorInfo * aAccMonInfo

Reset()

voidReset()[inline]

Reset the instance values.

operator=(CAccMonitorInfo)

voidoperator=(CAccMonitorInfoaAccInfo)[private]

Assignment operator is hidden so that clients cannot use the assignement to this class. Instead the CopyL method should be used.

Parameters

CAccMonitorInfo aAccInfo

Member Data Documentation

RAccMonCapabilityArray iAccCapabilityArray

RAccMonCapabilityArray iAccCapabilityArray[private]

TAccMonCapability iAccessoryDeviceType

TAccMonCapability iAccessoryDeviceType[private]

TInt iAccessoryID

TInt iAccessoryID[private]

TAccMonCapability iAccessoryPhysicalConnection

TAccMonCapability iAccessoryPhysicalConnection[private]

TUint64 iDeviceAddress

TUint64 iDeviceAddress[private]

TInt iReserved1

TInt iReserved1[private]

TInt iReserved2

TInt iReserved2[private]