|
Boost Users : |
Subject: [Boost-users] [MSM] Get state name as string
From: Stefan Wiehler (sephalon_at_[hidden])
Date: 2013-01-20 05:58:40
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net