BluetoothPeersFeature Class Reference

#include <Bluetooth.h>

Inheritance diagram for BluetoothPeersFeature:

AbstractStringListFeature AbstractStringFeature PersistantFeature Feature List of all members.

Public Member Functions

virtual const string getName () const
virtual string toString () const

Protected Member Functions

 BluetoothPeersFeature (stringcode *code, long *maxlen)
 BluetoothPeersFeature (stringcode *code, long *maxlen, const stringvector *strList)

Friends

class BluetoothFeatureProvider

Detailed Description

List of peers in range

This feature returns a list of hardware addresses representing the Bluetooth peers in reachable by the calling device.


Constructor & Destructor Documentation

BluetoothPeersFeature::BluetoothPeersFeature stringcode code,
long *  maxlen
[inline, protected]
 

Feature constructor

This constructor initializes the feature as prototypes value. For creating a specific sample of a feature, the sample constructor should be used.

Parameters:
code A reference to a static variable (it must be same for all created objects of _one_ feature) for persistantly storing the code table.
maxlen A reference to a static variable (it must be same for all created objects of _one_ feature) for persistantly storing the maximum string length.

BluetoothPeersFeature::BluetoothPeersFeature stringcode code,
long *  maxlen,
const stringvector strList
[inline, protected]
 

Sample constructor

This constructor initializes the feature with a specific value and should thus be used for samples.

Parameters:
code A reference to a static variable (it must be same for all created objects of _one_ feature) for persistantly storing the code table.
maxlen A reference to a static variable (it must be same for all created objects of _one_ feature) for persistantly storing the maximum string length.
strList The string representation of the sample value.


Member Function Documentation

virtual const string BluetoothPeersFeature::getName  )  const [inline, virtual]
 

Query a features name

Returns:
Name of the Feature in the format "Featureprovider.Feature"

Reimplemented from AbstractStringListFeature.

string BluetoothPeersFeature::toString  )  const [virtual]
 

Get feature as string

Note:
This is only for testing.
Returns:
Feature as string.

Reimplemented from AbstractStringListFeature.


The documentation for this class was generated from the following files:
Generated on Mon Jun 5 10:20:49 2006 for Intelligence.kdevelop by  doxygen 1.4.6