CBTRegistryResponse Class Reference

#include <btmanclient.h>

Link against: btmanclient.lib

class CBTRegistryResponse : public CActive

Inherits from

  • CBTRegistryResponse

    Detailed Description

    Retrieves a set of results from the Registry.

    This is a helper class that retrieves the set of results from a view set-up in the registry. A view is set-up in the registry using RBTRegistry::CreateView.

    See also: RBTRegistry

    Constructor & Destructor Documentation

    ~CBTRegistryResponse ( )

    IMPORT_C~CBTRegistryResponse()

    Destructor

    Member Function Documentation

    NewL ( RBTRegistry & )

    IMPORT_C CBTRegistryResponse *NewL(RBTRegistry &aView)[static]
    Two-phase constructor to create a helper class to retrieve a set of results (a view) from the Registry
    leave
    OOM
    Pre-condition
    A non-empty view on the Registry task has been created

    See also: CreateView()

    ParameterDescription
    aViewthe Registry subsession that has had a View created on it

    Returns: pointer to allocated object

    Results ( )

    IMPORT_C RBTDeviceArray &Results()

    Get Results previously fetched from the Registry Server.

    Pre-condition
    The method Start needs to have been called, and notification of its completion received.

    Returns: reference to the array of results

    Start ( TRequestStatus & )

    IMPORT_C voidStart(TRequestStatus &aClientStatus)

    Start fetching results from the Registry Server. When the request is complete, the results can be obtained via the Results() method.

    ParameterDescription
    aClientStatusa TRequestStatus passed in by the caller