Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67381 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-12-21 02:31:40


Author: chenry
Date: 2010-12-21 02:31:29 EST (Tue, 21 Dec 2010)
New Revision: 67381
URL: http://svn.boost.org/trac/boost/changeset/67381

Log:
added get_history. Returns the history object.
Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp (original)
+++ trunk/boost/msm/back/state_machine.hpp 2010-12-21 02:31:29 EST (Tue, 21 Dec 2010)
@@ -1247,6 +1247,15 @@
     {
         return m_is_included;
     }
+ // get the history policy class
+ concrete_history& get_history()
+ {
+ return m_history;
+ }
+ concrete_history const& get_history() const
+ {
+ return m_history;
+ }
     // get a state
     // as a pointer
     template <class State>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk