StateTransitor.setStateName

Set/Get state names

  1. void setStateName(State st, string stname)
    struct StateTransitor(StateType, EventType, StateType defaultStateParameter = StateType.init, ProcHandler = void delegate()[], ExceptionHandler = void delegate(Exception)[], EventHandler = void delegate(EventType)[], StateChangedHandler = void delegate(StateType newSts, StateType oldSts)[], ConsumeMode consumeMode = ConsumeMode.combined, EventContainer = SList!EventType)
    void
    setStateName
    @safe @nogc nothrow pure
    (
    ,
    string stname
    )
  2. string getStateName(State st)
  3. void stateNames(in string[stateCount] names)
  4. const(string)[] stateNames()

Meta