
20 Jan
2013
20 Jan
'13
10:58 a.m.
Hello, For debugging purposes, I want to get the current state name as a string. For this purpose I found the class get_state_name in the tools section of the backend. Unfortunately there is no example on how to use this method in the documentation nor anywhere else; and the extensive use of templates makes it very difficult for me to infer this. I am especially confused about the argument boost::msm::wrap<StateType> const& of the call operator. What do I have to provide her? Could anybody please post a short example how to this? Kind regards, Stefan Wiehler