CAccMonitorInfo Class Reference

Link against: accmonitor.lib


#include <
AccMonitorInfo.h>

Detailed Description

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.

See also:
CAccMonitor for examples.
Dll AccMonitor
Since:
S60 5.0

Public Member Functions

void Reset ()
 Reset the instance values.
TAccMonCapability AccDeviceType () const
 Gets the accessory device type defined for this connected accessory.
TAccMonCapability AccPhysicalConnection () const
 Gets the accessory physical connection defined for this connected accessory.
TUint64 AccDeviceAddress () const
 Gets the accessory device address defined for this connected accessory.
TAccMonCapability AccCapabilityAtIndex (TInt aIndex) const
 Gets a capability that is defined in the array for this connected accessory.
TInt Count () const
 Gets the count of objects in the array.
TBool Exists (TAccMonCapability aCapability) const
 Checks if some capability is defined in this connected accessory.
IMPORT_C TBool Exists (RAccMonCapabilityArray &aCapabilityArray) const
 Checks if a group of capabilities are defined for this accessory.
IMPORT_C void CopyL (const CAccMonitorInfo *aAccMonInfo)
 Copy function for this class.
IMPORT_C TBool CompareL (const CAccMonitorInfo *aAccMonInfo) const
 Comparison function for this class.
virtual ~CAccMonitorInfo ()
 Destructor.

Static Public Member Functions

static IMPORT_C CAccMonitorInfoNewL ()
 Symbian two phased constructor.
static IMPORT_C CAccMonitorInfoNewLC ()
 Symbian two phased constructor.
static IMPORT_C CAccMonitorInfoNewL (const CAccMonitorInfo *aAccMonInfo)
 Symbian two phased constructor.
static IMPORT_C CAccMonitorInfoNewLC (const CAccMonitorInfo *aAccMonInfo)
 Symbian two phased constructor.

Friends

class CAccMonitorContainer

Constructor & Destructor Documentation

virtual CAccMonitorInfo::~CAccMonitorInfo  )  [virtual]
 

Destructor.


Member Function Documentation

TAccMonCapability CAccMonitorInfo::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:
aIndex is the index where some capability needs to be getted.
Returns:
TAccMonCapability the capability in that index.
TUint64 CAccMonitorInfo::AccDeviceAddress  )  const [inline]
 

Gets the accessory device address defined for this connected accessory.

Returns:
This accessory's device address.
TAccMonCapability CAccMonitorInfo::AccDeviceType  )  const [inline]
 

Gets the accessory device type defined for this connected accessory.

Returns:
The accessory device type.
TAccMonCapability CAccMonitorInfo::AccPhysicalConnection  )  const [inline]
 

Gets the accessory physical connection defined for this connected accessory.

Returns:
The accessory physical connection.
IMPORT_C TBool CAccMonitorInfo::CompareL const CAccMonitorInfo aAccMonInfo  )  const
 

Comparison function for this class.

Parameters:
aAccMonInfo is the instance what needs to be compared.
Returns:
ETrue if comparison matches.
IMPORT_C void CAccMonitorInfo::CopyL const CAccMonitorInfo aAccMonInfo  ) 
 

Copy function for this class.

Parameters:
aAccMonInfo is the instance from what the copy needs to be made of.
Returns:
CAccMonitorInfo the copy of this class.
TInt CAccMonitorInfo::Count  )  const [inline]
 

Gets the count of objects in the array.

Returns:
TInt the size of array.
IMPORT_C TBool CAccMonitorInfo::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:
aCapabilityArray is the array of capability definitionion that need to be checked if they are defined for this accessory.
Returns:
ETrue if these capabilities is defined.
TBool CAccMonitorInfo::Exists TAccMonCapability  aCapability  )  const [inline]
 

Checks if some capability is defined in this connected accessory.

Parameters:
aCapability is the capability definition that needs to be checked if it is defined for this accessory.
Returns:
ETrue if this capability is defined.
static IMPORT_C CAccMonitorInfo* CAccMonitorInfo::NewL const CAccMonitorInfo aAccMonInfo  )  [static]
 

Symbian two phased constructor.

static IMPORT_C CAccMonitorInfo* CAccMonitorInfo::NewL  )  [static]
 

Symbian two phased constructor.

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

Symbian two phased constructor.

static IMPORT_C CAccMonitorInfo* CAccMonitorInfo::NewLC  )  [static]
 

Symbian two phased constructor.

void CAccMonitorInfo::Reset  )  [inline]
 

Reset the instance values.


Friends And Related Function Documentation

friend class CAccMonitorContainer [friend]
 

The documentation for this class was generated from the following files:

Copyright © Nokia Corporation 2001-2007
Back to top