GridFire v0.7.0_rc2
General Purpose Nuclear Network
Loading...
Searching...
No Matches
trigger_logical.h File Reference

Combinators for composing triggers with boolean logic (AND/OR/NOT/EveryNth). More...

#include "gridfire/trigger/trigger_abstract.h"
#include "gridfire/trigger/trigger_result.h"
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>
Include dependency graph for trigger_logical.h:
This graph shows which files directly or indirectly include this file:

Classes

class  gridfire::trigger::LogicalTrigger< TriggerContextStruct >
 
class  gridfire::trigger::AndTrigger< TriggerContextStruct >
 Logical conjunction of two triggers with short-circuit evaluation. More...
 
class  gridfire::trigger::OrTrigger< TriggerContextStruct >
 Logical disjunction of two triggers with short-circuit evaluation. More...
 
class  gridfire::trigger::NotTrigger< TriggerContextStruct >
 Logical negation of a trigger. More...
 
class  gridfire::trigger::EveryNthTrigger< TriggerContextStruct >
 Pass-through trigger that fires every Nth time its child trigger is true. More...
 

Namespaces

namespace  gridfire
 
namespace  gridfire::trigger
 

Detailed Description

Combinators for composing triggers with boolean logic (AND/OR/NOT/EveryNth).

These templates wrap any Trigger<Context> and provide convenient composition. They also maintain simple hit/miss counters and implement short-circuit logic in check() and why().