#include <Wlan.h>
Inheritance diagram for WlanActiveModeFeature:
Public Types | |
enum | FeatureKind { Unknown, Master, Managed, AdHoc, Last } |
Public Member Functions | |
virtual double | getPosition () const |
virtual double | getDistance (Feature *f) const |
virtual void | moveTowards (Feature *f, double factor) |
virtual string | serialize () const |
virtual void | unserialize (string value) |
virtual Feature * | clone () const |
void | aggregate (aggregatelist samples) |
virtual FeatureType | getType () const |
virtual const string | getName () const |
const FeatureKind | getVal () const |
virtual string | toString () const |
Protected Member Functions | |
WlanActiveModeFeature () | |
WlanActiveModeFeature (FeatureKind mode) | |
Friends | |
class | WlanFeatureProvider |
|
|
|
This constructor should not be used to construct feature objects. They are only created by the respective feature provider. |
|
This constructor should not be used to construct feature objects. They are only created by the respective feature provider. |
|
Aggregate a sample values from other sources
Implements Feature. |
|
Clone a feature A feature must be able to clone itself. This is typically implemented with a copy constructor, but should return a new object. Implements Feature. |
|
Calculates the distance between two features
Implements Feature. |
|
Query a features name
Implements Feature. |
|
Query a features position
Implements Feature. |
|
Query a features type
Implements Feature. |
|
Move feature Moves the feature towards a given sample value by the specified factor (factor times the distance). If the factor is 0, the old feature value must not change. If the factor is 1, the new feature value should be equivalent to the sample s.
Implements Feature. |
|
Serialize a samples data to a string
Implements Feature. |
|
This is only for testing. Implements Feature. |
|
Unserialize a samples data from a string
Implements Feature. |