The Sparta Modeling Framework
|
A simple interface with 2 methods. More...
#include <PeventTrigger.hpp>
Public Member Functions | |
PeventTrigger (TreeNode *root) | |
virtual void | go () override |
virtual void | stop () override |
The method called when a trigger fires a turn off. | |
virtual void | repeat () override |
The method to call on periodic repeats of the trigger. | |
A simple interface with 2 methods.
Classes should inherit from this interface and override the go() and stop() methods to be compatible with sparta::Triggers
Definition at line 24 of file PeventTrigger.hpp.
|
inline |
Definition at line 28 of file PeventTrigger.hpp.
|
inlinevirtual |
Definition at line 32 of file PeventTrigger.hpp.
|
inlineoverridevirtual |
Definition at line 36 of file PeventTrigger.hpp.
|
inlineoverridevirtual |
The method to call on periodic repeats of the trigger.
Definition at line 43 of file PeventTrigger.hpp.
|
inlineoverridevirtual |
The method called when a trigger fires a turn off.
Definition at line 41 of file PeventTrigger.hpp.