#include <reactionrecord.hpp>
Collaboration diagram for ReactionRecord:
Public Member Functions | |
ReactionRecord (TimeInterval *rtimestamp, vector< bool > *rbuttonStates) | |
Constructor. | |
~ReactionRecord () | |
Destructor. | |
const TimeInterval & | getTimestamp () const |
Get the ime interval in which the reaction has happened . | |
const vector< bool > & | getButtonStates () const |
Get the button states of the reaction. | |
Protected Attributes | |
TimeInterval * | timestamp |
time interval in which the reaction has happened | |
vector< bool > * | buttonStates |
button states of reaction |
A reaction is a action the user makes. For example a press of a button on the mouse or keyboard. These reaction records are stored in a queue in PtfCore for further processing.
Definition at line 32 of file reactionrecord.hpp.
|
Constructor.
References buttonStates, and timestamp. |
|
Destructor. Definition at line 33 of file reactionrecord.cpp. References buttonStates, and timestamp. |
|
Get the button states of the reaction.
References buttonStates. Referenced by SimpleReactionHandler::handle(). |
|
Get the ime interval in which the reaction has happened .
References timestamp. Referenced by SimpleReactionHandler::handle(). |
|
button states of reaction Definition at line 40 of file reactionrecord.hpp. Referenced by getButtonStates(), ReactionRecord(), and ~ReactionRecord(). |
|
time interval in which the reaction has happened Definition at line 39 of file reactionrecord.hpp. Referenced by getTimestamp(), ReactionRecord(), and ~ReactionRecord(). |