The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::trigger::PeventTrigger Class Reference

A simple interface with 2 methods. More...

#include <PeventTrigger.hpp>

Inheritance diagram for sparta::trigger::PeventTrigger:
Collaboration diagram for sparta::trigger::PeventTrigger:

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ PeventTrigger()

sparta::trigger::PeventTrigger::PeventTrigger ( TreeNode root)
inline

Definition at line 28 of file PeventTrigger.hpp.

◆ ~PeventTrigger()

virtual sparta::trigger::PeventTrigger::~PeventTrigger ( )
inlinevirtual

Definition at line 32 of file PeventTrigger.hpp.

Member Function Documentation

◆ go()

virtual void sparta::trigger::PeventTrigger::go ( )
inlineoverridevirtual

Definition at line 36 of file PeventTrigger.hpp.

◆ repeat()

virtual void sparta::trigger::PeventTrigger::repeat ( )
inlineoverridevirtual

The method to call on periodic repeats of the trigger.

Definition at line 43 of file PeventTrigger.hpp.

◆ stop()

virtual void sparta::trigger::PeventTrigger::stop ( )
inlineoverridevirtual

The method called when a trigger fires a turn off.

Definition at line 41 of file PeventTrigger.hpp.


The documentation for this class was generated from the following file: