|
GridFire v0.7.1_rc2
General Purpose Nuclear Network
|
#include <trigger_logical.h>
Additional Inherited Members | |
Public Member Functions inherited from gridfire::trigger::Trigger< TriggerContextStruct > | |
| virtual | ~Trigger ()=default |
| Virtual destructor for polymorphic use. | |
| virtual bool | check (const TriggerContextStruct &ctx) const =0 |
| Evaluate the trigger condition against the provided context. | |
| virtual void | update (const TriggerContextStruct &ctx)=0 |
| Update any internal state with the given context (e.g., counters, windows). | |
| virtual void | step (const TriggerContextStruct &ctx)=0 |
| similar to update but intended to be run on every step not just those where the trigger triggered | |
| virtual void | reset ()=0 |
| Reset internal state and diagnostics counters. | |
| virtual std::string | name () const =0 |
| Short, stable name for this trigger (suitable for logs/UI). | |
| virtual std::string | describe () const =0 |
| Human-readable description of this trigger's logic. | |
| virtual TriggerResult | why (const TriggerContextStruct &ctx) const =0 |
| Explain why the last evaluation would be true/false in a structured way. | |
| virtual size_t | numTriggers () const =0 |
| Total number of times this trigger evaluated to true since last reset. | |
| virtual size_t | numMisses () const =0 |
| Total number of times this trigger evaluated to false since last reset. | |