core
drunc.fsm.core
Classes
FSM(conf)
Source code in drunc/fsm/core.py
Functions
can_execute_transition(source_state, transition)
Check that this transition is allowed given the source_state
Source code in drunc/fsm/core.py
get_all_sequences()
get_all_states()
get_all_transitions()
get_destination_state(source_state, transition)
Tells us where a particular transition will take us, given the source_state
Source code in drunc/fsm/core.py
FSMAction(name)
PreOrPostTransitionSequence(transition, pre_or_post='pre')
Source code in drunc/fsm/core.py
Functions
get_arguments()
Creates a list of arguments This is a bit sloppy, as really, I shouldn't be using protobuf here, and convert them later, but...
Source code in drunc/fsm/core.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | |