ceptr
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
SState Struct Reference

#include <semtrex.h>

Collaboration diagram for SState:
[legend]

Data Fields

struct SStateout
 which state to go to next
 
TransitionType transition
 will be: TransitionNextChild=0,TransitionDown=1, or a negative number which means pop up that many levels plus advance to next child.
 
StateType type
 what type of state this is
 
struct SStateout1
 which alternate state to go to next in the case this is a Split state
 
TransitionType transition1
 will be: TransitionNextChild=0,TransitionUp=-1,TransitionDown=1
 
StateType type_
 copy of state type needed for patch to grab (far too tricky)
 
int _did
 used to hold a mark when freeing and printing out FSA to prevent looping.
 
STypeData data
 a union to hold the data for which ever type of SState this is
 

Detailed Description

This struct holds the data for each state of the FSA generated to match a tree NOTE: the transition MUST come right after the out value or it will break the trick in patch() which allows us to get the right popping value

Definition at line 83 of file semtrex.h.


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