StlFeatureInterface Class Reference

The StlFeatureInterface class is an abstract feature base class that is well suited to plugins, as it does not require Qt, only the C++ STL. More...

#include <stlfeatureinterface.h>

Inheritance diagram for StlFeatureInterface:

BBoxDiagAngleFeature BBoxDiagLengthFeature CosFirstToLastAngleFeature CosInitAngleFeature DurationFeature FirstToLastDistFeature MaxSqrdSpeedFeature SinFirstToLastAngleFeature SinInitAngleFeature StlFeature TotalAbsAngleTraversedFeature TotalAngleTraversedFeature TotalGestureLengthFeature TotalSqrdAngleTraversedFeature List of all members.

Public Member Functions

virtual ~StlFeatureInterface ()
virtual const std::string & key () const=0
virtual const std::string & title () const=0
virtual const std::string & description () const=0
virtual StlFeatureResultT calcValue (const StlStroke &stroke, bool *ok=0) const =0

Detailed Description

The StlFeatureInterface class is an abstract feature base class that is well suited to plugins, as it does not require Qt, only the C++ STL.

Note that this class does not call "using namespace std", as that may not be wanted by the feature implementer. Hence, in the places where STL containers are used, they are prefixed with "std::".


Constructor & Destructor Documentation

virtual StlFeatureInterface::~StlFeatureInterface (  )  [inline, virtual]


Member Function Documentation

virtual const std::string& StlFeatureInterface::key (  )  const [pure virtual]

Implemented in CosInitAngleFeature, SinInitAngleFeature, BBoxDiagLengthFeature, BBoxDiagAngleFeature, FirstToLastDistFeature, CosFirstToLastAngleFeature, SinFirstToLastAngleFeature, TotalGestureLengthFeature, TotalAngleTraversedFeature, TotalAbsAngleTraversedFeature, TotalSqrdAngleTraversedFeature, MaxSqrdSpeedFeature, DurationFeature, and StlFeature.

virtual const std::string& StlFeatureInterface::title (  )  const [pure virtual]

Implemented in CosInitAngleFeature, SinInitAngleFeature, BBoxDiagLengthFeature, BBoxDiagAngleFeature, FirstToLastDistFeature, CosFirstToLastAngleFeature, SinFirstToLastAngleFeature, TotalGestureLengthFeature, TotalAngleTraversedFeature, TotalAbsAngleTraversedFeature, TotalSqrdAngleTraversedFeature, MaxSqrdSpeedFeature, DurationFeature, and StlFeature.

virtual const std::string& StlFeatureInterface::description (  )  const [pure virtual]

Implemented in CosInitAngleFeature, SinInitAngleFeature, BBoxDiagLengthFeature, BBoxDiagAngleFeature, FirstToLastDistFeature, CosFirstToLastAngleFeature, SinFirstToLastAngleFeature, TotalGestureLengthFeature, TotalAngleTraversedFeature, TotalAbsAngleTraversedFeature, TotalSqrdAngleTraversedFeature, MaxSqrdSpeedFeature, DurationFeature, and StlFeature.

virtual StlFeatureResultT StlFeatureInterface::calcValue ( const StlStroke stroke,
bool *  ok = 0 
) const [pure virtual]

Implemented in CosInitAngleFeature, SinInitAngleFeature, BBoxDiagLengthFeature, BBoxDiagAngleFeature, FirstToLastDistFeature, CosFirstToLastAngleFeature, SinFirstToLastAngleFeature, TotalGestureLengthFeature, TotalAngleTraversedFeature, TotalAbsAngleTraversedFeature, TotalSqrdAngleTraversedFeature, MaxSqrdSpeedFeature, DurationFeature, and StlFeature.


The documentation for this class was generated from the following file:
Generated on Mon Jul 30 09:46:53 2007 for Digest by  doxygen 1.5.2