Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66576 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-11-14 14:21:20


Author: chenry
Date: 2010-11-14 14:21:18 EST (Sun, 14 Nov 2010)
New Revision: 66576
URL: http://svn.boost.org/trac/boost/changeset/66576

Log:
added method get_message_queue_size
Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 5 +++++
   1 files changed, 5 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-11-14 14:21:18 EST (Sun, 14 Nov 2010)
@@ -1058,6 +1058,11 @@
         execute_queued_events_helper(typename is_no_message_queue<library_sm>::type());
     }
 
+ typename events_queue_t::size_type get_message_queue_size() const
+ {
+ return m_events_queue.m_events_queue.size();
+ }
+
     // Getter that returns the current state of the FSM
     const int* current_state() const
     {


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