A predicate for determining event completion from SRAM state. More...
#include <story_event_graph.h>
Public Attributes | |
| std::string | reg |
| std::string | op |
| int | value = 0 |
| int | bit = -1 |
| uint32_t | mask = 0 |
A predicate for determining event completion from SRAM state.
This is intentionally minimal and "data-driven": it allows the story graph to evolve without hardcoding each event ID in C++.
Supported op values:
valuebit in register valuemask against register value Definition at line 47 of file story_event_graph.h.
| std::string yaze::core::StoryPredicate::reg |
Definition at line 48 of file story_event_graph.h.
Referenced by yaze::core::anonymous_namespace{story_event_graph.cc}::EvaluatePredicate().
| std::string yaze::core::StoryPredicate::op |
Definition at line 49 of file story_event_graph.h.
Referenced by yaze::core::anonymous_namespace{story_event_graph.cc}::EvaluatePredicate().
| int yaze::core::StoryPredicate::value = 0 |
Definition at line 50 of file story_event_graph.h.
Referenced by yaze::core::anonymous_namespace{story_event_graph.cc}::EvaluatePredicate().
| int yaze::core::StoryPredicate::bit = -1 |
Definition at line 51 of file story_event_graph.h.
Referenced by yaze::core::anonymous_namespace{story_event_graph.cc}::EvaluatePredicate().
| uint32_t yaze::core::StoryPredicate::mask = 0 |
Definition at line 52 of file story_event_graph.h.
Referenced by yaze::core::anonymous_namespace{story_event_graph.cc}::EvaluatePredicate().