CConnMonWlanProbeRawBuffersPckg Class Reference

class CConnMonWlanProbeRawBuffersPckg : public CBase

Class to contain a package of a pointer array of CConnMonWlanProbeRawBuffer objects.

Inherits from

  • CConnMonWlanProbeRawBuffersPckg

Constructor & Destructor Documentation

CConnMonWlanProbeRawBuffersPckg(const RConnMonWlanProbeRawBuffersPtrArray &, TUint)

CConnMonWlanProbeRawBuffersPckg ( const RConnMonWlanProbeRawBuffersPtrArray & aRef,
TUint aBufSize
)

Constructor. Constructs the package of an array of pointers to CConnMonWlanProbeRawBuffer objects on the heap.

Parameters

const RConnMonWlanProbeRawBuffersPtrArray & aRef Array of pointers to CConnMonWlanProbeRawBuffer objects.
TUint aBufSize Size of the buffer, intended to contain the package.

CConnMonWlanProbeRawBuffersPckg(TUint)

IMPORT_C CConnMonWlanProbeRawBuffersPckg ( TUint aBufSize )

Constructor. Constructs an empty package on the heap.

Parameters

TUint aBufSize Size of the buffer, intended to contain the package.

~CConnMonWlanProbeRawBuffersPckg()

IMPORT_C ~CConnMonWlanProbeRawBuffersPckg ( ) [virtual]

Destructor.

Member Functions Documentation

Buf()

IMPORT_C HBufC8 * Buf ( ) const

Obtains a pointer to the package buffer.

Count()

IMPORT_C TUint Count ( ) const

Obtains the number of trasferred WLANs. This will be less than total count if there was not enough memory in buffer to include all found WLANs.

Total()

IMPORT_C TUint Total ( ) const

Obtains the total number of found WLANs.

UnpackToL(RConnMonWlanProbeRawBuffersPtrArray &)

IMPORT_C void UnpackToL ( RConnMonWlanProbeRawBuffersPtrArray & aRef ) const

Unpacks the package to a pointer array of CConnMonWlanProbeRawBuffer objects.

Parameters

RConnMonWlanProbeRawBuffersPtrArray & aRef Array that will contain the pointers to unpacked objects.

Member Data Documentation

HBufC8 * iBuf

HBufC8 * iBuf [private]

Pointer to the package buffer on the heap.