Boost logo

Boost-Commit :

From: stipe_at_[hidden]
Date: 2008-03-14 01:21:39


Author: srajko
Date: 2008-03-14 01:21:38 EDT (Fri, 14 Mar 2008)
New Revision: 43599
URL: http://svn.boost.org/trac/boost/changeset/43599

Log:
renamed example class
Text files modified:
   sandbox/SOC/2007/signals/libs/dataflow/example/signals/tracking_consumer_example.cpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2007/signals/libs/dataflow/example/signals/tracking_consumer_example.cpp
==============================================================================
--- sandbox/SOC/2007/signals/libs/dataflow/example/signals/tracking_consumer_example.cpp (original)
+++ sandbox/SOC/2007/signals/libs/dataflow/example/signals/tracking_consumer_example.cpp 2008-03-14 01:21:38 EDT (Fri, 14 Mar 2008)
@@ -55,11 +55,11 @@
 
 // simple consumer that tracks its connections - when it receives a specified
 // number of signals, it will disconnect itself from all producers
-class trackable_consumer
+class tracking_consumer
     : public df::port<df::signals::tracking_call_consumer>
 {
 public:
- trackable_consumer(unsigned max_count)
+ tracking_consumer(unsigned max_count)
         : m_count(0), m_max_count(max_count)
     {}
     
@@ -92,7 +92,7 @@
 int main(int, char* [])
 {
     signals::storage<void()> producer;
- trackable_consumer c1(1), c3(3), c5(5);
+ tracking_consumer c1(1), c3(3), c5(5);
     
     connect(producer, c1);
     connect(producer, c3);


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