Ability to query the name of a state and the total number of states.
Incidentally, required a minor patch on Menge::BFSM::State::getName(); the return type now returns a const ref to the state's name rather than a copy. This allows me to send back a const char* that persists as long as the simulator does.
This adds some needed features to the C-wrapper
Incidentally, required a minor patch on
Menge::BFSM::State::getName()
; the return type now returns aconst
ref to the state's name rather than a copy. This allows me to send back aconst char*
that persists as long as the simulator does.