#include <Action.hpp>
Inheritance diagram for vrvis::AnalogAction:
Public Member Functions | |
virtual | ~AnalogAction (void) |
Virtual destructor. | |
virtual void | execute (const float cAnalogDataValue)=0 |
Executes this AnalogAction. | |
Static Public Attributes | |
const float | THRESHOLD = 0.12f |
Threshold value to be exceeded before the Action is carried out. | |
Protected Member Functions | |
AnalogAction (const std::string &crName) | |
Standard constructor. |
|
Virtual destructor. Does nothing. |
|
Constructor. Forwards the given Action name to its parent constructor.
|
|
Pure virtual execution function to be implemented by derived classes.
Implemented in vrvis::RotateAction, vrvis::RotateXAction, and vrvis::RotateYAction.
|
|
Covenience threshold value that can be used by implementing AnalogAction child classes to avoid the jitter of most analog devices' analog data value occuring in their rest position.
|