|
wavelength 1.0.0
|
One trigger of a trigger file, the conditions that must hold and the actions that follow. More...
#include <triggerhandler.h>
Public Member Functions | |
| TriggerHandler (DataArray *pTrigger) | |
| Build the trigger from its entry. | |
| ~TriggerHandler () | |
| Delete every condition and every action. | |
| void | Fire () |
| Test the groups of conditions and start the actions when one group holds. | |
One trigger of a trigger file, the conditions that must hold and the actions that follow.
The RTTI includes the name through the list of handlers TriggerEvent keeps. The object is 0x10 bytes. Each conditions entry of the trigger adds one group of conditions. The actions start when every condition of any one group holds, or at once when the trigger has no group.
|
explicit |
Build the trigger from its entry.
Every conditions node adds a group. The actions node is required.
| pTrigger | The entry. |
| TriggerHandler::~TriggerHandler | ( | ) |
Delete every condition and every action.
| void TriggerHandler::Fire | ( | ) |
Test the groups of conditions and start the actions when one group holds.