TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::StateTransition Struct Reference

A transition of a state machine: from one state to another, or to itself. More...

#include <gui_controls/gui_node_view_types.h>

Public Member Functions

bool operator== (const StateTransition &) const =default

Public Attributes

tachyon::ID stableID = tachyon::ID::Invalid()
 assigned once on creation, as a node's
tachyon::ID from = tachyon::ID::Invalid()
 the state it leaves, by stableID
tachyon::ID to = tachyon::ID::Invalid()
 the state it enters (from for a loop)
std::string label
 shown on its arrow: an event or a condition

Detailed Description

A transition of a state machine: from one state to another, or to itself.

Member Function Documentation

◆ operator==()

bool tachyon::StateTransition::operator== ( const StateTransition & ) const
default

Member Data Documentation

◆ stableID

tachyon::ID tachyon::StateTransition::stableID = tachyon::ID::Invalid()

assigned once on creation, as a node's

◆ from

tachyon::ID tachyon::StateTransition::from = tachyon::ID::Invalid()

the state it leaves, by stableID

◆ to

tachyon::ID tachyon::StateTransition::to = tachyon::ID::Invalid()

the state it enters (from for a loop)

◆ label

std::string tachyon::StateTransition::label

shown on its arrow: an event or a condition


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