#include <SystemCommandStringList.h>
Inheritance diagram for SystemCommandStringListFeatureProvider:
Public Member Functions | |
SystemCommandStringListFeatureProvider (string featureProviderName, string featureName, string systemCommand, stringvector *featureList, stringcode *stringCodeList, long *maxlen, featureparams ¶ms) | |
this->start has to be called in the subclass constructor | |
virtual | ~SystemCommandStringListFeatureProvider () throw () |
virtual Feature * | getFeature (string name) const |
virtual Feature * | getSample (string name) const |
virtual void | nextSample (clock_t checkpoint) |
virtual void | run () throw () |
Static Public Member Functions | |
static void | initialize (string name) |
Protected Attributes | |
string | systemCommand |
Warning: change with care and only when necessary ! | |
stringvector | stringList |
bool | stringListValid |
|
this->start has to be called in the subclass constructor
|
|
Destructor |
|
Query feature instance Query the feature provider for a specific feature initialized with random values.
Implements FeatureProvider. |
|
Query sample instance Query the feature provider for a sample value of the specified feature. Prior to this method you have to invoke nextSample().
Implements FeatureProvider. |
|
|
|
Prepare sample Prepare the feature provider to return the next sample from the sensor when getSample() is called.
Implements FeatureProvider. |
|
Thread main worker function Implements Thread. |
|
|