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 ( TInt aIndex ) 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 aIndex is 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 TBool CompareL ( const CAccMonitorInfo * aAccMonInfo ) const

Comparison function for this class.

Parameters

const CAccMonitorInfo * aAccMonInfo is the instance what needs to be compared.

ConstructL()

void ConstructL ( ) [private]

Symbian OS 2nd phase constructor

ConstructL(const CAccMonitorInfo *)

void ConstructL ( const CAccMonitorInfo * aAccMonInfo ) [private]

Symbian OS 2nd phase constructor

Parameters

const CAccMonitorInfo * aAccMonInfo

CopyL(const CAccMonitorInfo *)

IMPORT_C void CopyL ( const CAccMonitorInfo * aAccMonInfo )

Copy function for this class.

Parameters

const CAccMonitorInfo * aAccMonInfo is 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 ( TAccMonCapability aCapability ) const [inline]

Checks if some capability is defined in this connected accessory.

Parameters

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

Exists(RAccMonCapabilityArray &)

IMPORT_C TBool Exists ( 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 & aCapabilityArray is 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()

void Reset ( ) [inline]

Reset the instance values.

operator=(CAccMonitorInfo)

void operator= ( CAccMonitorInfo aAccInfo ) [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]