GridFire v0.7.6rc4.0 General Purpose Nuclear Network

Loading...
Searching...
No Matches
List of all members
gridfire::trigger::LogicalTrigger< TriggerContextStruct > Class Template Reference

`#include <trigger_logical.h>`

Inheritance diagram for gridfire::trigger::LogicalTrigger< TriggerContextStruct >:
[legend]
Collaboration diagram for gridfire::trigger::LogicalTrigger< TriggerContextStruct >:
[legend]

## 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.

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

- src/include/gridfire/trigger/trigger_logical.h