Toast Engine
Loading...
Searching...
No Matches
input::ITrigger::Result Struct Reference

Outcome of evaluating a trigger for one frame. More...

#include <trigger.hpp>

Collaboration diagram for input::ITrigger::Result:

Public Member Functions

void emit (ActionEvent event) noexcept

Public Attributes

bool active = false
 whether the trigger contributes its value this frame
Value value
 value contributed while active
SignalList signals
 discrete events fired this frame

Detailed Description

Outcome of evaluating a trigger for one frame.

A trigger may fire several discrete events in a single frame (for example a start and an immediate hold), so signals are collected in a small fixed buffer


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