TBTDeviceClass Class Reference

class TBTDeviceClass

Encapsulation of device class definitions.

Contains a single TInt as member data and methods to extract the major, minor and service class information from that TInt.

Constructor & Destructor Documentation

TBTDeviceClass()

IMPORT_CTBTDeviceClass()

TBTDeviceClass(TUint32)

IMPORT_CTBTDeviceClass(TUint32aDeviceClass)

Parameters

TUint32 aDeviceClass

TBTDeviceClass(TUint16, TUint8, TUint8)

IMPORT_CTBTDeviceClass(TUint16aMajorServiceClass,
TUint8aMajorDeviceClass,
TUint8aMinorDeviceClass
)

Parameters

TUint16 aMajorServiceClass
TUint8 aMajorDeviceClass
TUint8 aMinorDeviceClass

Member Functions Documentation

DeviceClass()

IMPORT_C TUint32DeviceClass()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

MajorDeviceClass()

IMPORT_C TUint8MajorDeviceClass()const

MajorServiceClass()

IMPORT_C TUint16MajorServiceClass()const

MinorDeviceClass()

IMPORT_C TUint8MinorDeviceClass()const

operator=(const TBTDeviceClass &)

IMPORT_C TBTDeviceClass &operator=(const TBTDeviceClass &aDeviceClass)

Parameters

const TBTDeviceClass & aDeviceClass

operator==(const TBTDeviceClass &)

IMPORT_C TBooloperator==(const TBTDeviceClass &aDeviceClass)const

Parameters

const TBTDeviceClass & aDeviceClass

Member Data Documentation

const TUint32 KStreamVersion

const TUint32KStreamVersion[private, static]

TUint32 iDeviceClass

TUint32 iDeviceClass[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]