CConnMonWlanProbeRawBuffer Class Reference

#include <mw/rconnmon.h>

class CConnMonWlanProbeRawBuffer : public CBase

Inherits from

  • CConnMonWlanProbeRawBuffer

    Detailed Description

    Class to represent a WLAN beacon frame. Used when reporting WLAN scan results back to a client.

    Constructor & Destructor Documentation

    ~CConnMonWlanProbeRawBuffer ( )

    IMPORT_C~CConnMonWlanProbeRawBuffer()[virtual]

    Destructor.

    Member Function Documentation

    FromPtrC ( const TPtrC8 &, CConnMonWlanProbeRawBuffer * )

    TInt FromPtrC(const TPtrC8 &aPtrC,
    CConnMonWlanProbeRawBuffer *aConnMonWlanProbeRawBuffer
    )[static]

    Reads object of class CConnMonWlanProbeRawBuffer from memory.

    ParameterDescription
    aPtrCPointer to the beginning of the CConnMonWlanProbeRawBuffer object in buffer.
    aConnMonWlanProbeRawBufferPointer to CConnMonWlanProbeRawBuffer object where unpacked contents are written.

    Returns: A Symbian OS error code.

    NewL ( const HBufC8 * )

    IMPORT_C CConnMonWlanProbeRawBuffer *NewL(const HBufC8 *aRawBuffer)[static]

    Constructor.

    ParameterDescription
    aRawBufferBeacon frame buffer to be copied to this object.

    Returns: Pointer to the created CConnMonWlanProbeRawBuffer object.

    NewL ( )

    IMPORT_C CConnMonWlanProbeRawBuffer *NewL()[static]

    Constructor.

    Returns: Pointer to the created empty CConnMonWlanProbeRawBuffer object.

    NewL ( CConnMonWlanProbeRawBuffer & )

    IMPORT_C CConnMonWlanProbeRawBuffer *NewL(CConnMonWlanProbeRawBuffer &aConnMonWlanProbeRawBuffer)[static]

    Copy constructor.

    ParameterDescription
    aConnMonWlanProbeRawBufferThe object which is copied.

    Returns: Pointer to the created CConnMonWlanProbeRawBuffer object.

    RawBuffer ( )

    IMPORT_C HBufC8 *RawBuffer()const

    Obtains a pointer to the beacon frame buffer.

    Returns: Pointer to the beacon frame buffer.

    ToBuf ( )

    const HBufC8 *ToBuf()const

    Writes object of class CConnMonWlanProbeRawBuffer to memory. Ownership of newly created buffer is transferred to caller.

    Returns: Pointer to heap descriptor, NULL if memory allocation failed.

    operator= ( CConnMonWlanProbeRawBuffer & )

    IMPORT_C CConnMonWlanProbeRawBuffer &operator=(CConnMonWlanProbeRawBuffer &aConnMonWlanProbeRawBuffer)

    Assignment operator.

    ParameterDescription
    aConnMonWlanProbeRawBufferThe object which is assigned.