Ticket #3092: statechart.diff

File statechart.diff, 4.4 KB (added by Richard Webb <richard.webb@…>, 13 years ago)
  • fifo_worker.hpp

     
    103103
    104104    void terminate()
    105105    {
    106       work_item item = bind( &fifo_worker::terminate_impl, this );
     106      work_item item = boost::bind( &fifo_worker::terminate_impl, this );
    107107      queue_work_item( item );
    108108    }
    109109
  • processor_container.hpp

     
    114114      impl_fun_ptr pImpl =
    115115        &processor_container::template create_processor_impl0< Processor >;
    116116      return WorkItem(
    117         bind( pImpl, this, pProcessor,
     117        boost::bind( pImpl, this, pProcessor,
    118118          processor_context( scheduler, handle ) ),
    119119        Allocator() );
    120120    }
     
    133133        &processor_container::template create_processor_impl1<
    134134          Processor, arg1_type >;
    135135      return WorkItem(
    136         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     136        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    137137          arg1 ),
    138138        Allocator() );
    139139    }
     
    153153        &processor_container::template create_processor_impl2<
    154154          Processor, arg1_type, arg2_type >;
    155155      return WorkItem(
    156         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     156        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    157157          arg1, arg2 ),
    158158        Allocator() );
    159159    }
     
    175175        &processor_container::template create_processor_impl3<
    176176          Processor, arg1_type, arg2_type, arg3_type >;
    177177      return WorkItem(
    178         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     178        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    179179          arg1, arg2, arg3 ),
    180180        Allocator() );
    181181    }
     
    200200        &processor_container::template create_processor_impl4<
    201201          Processor, arg1_type, arg2_type, arg3_type, arg4_type >;
    202202      return WorkItem(
    203         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     203        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    204204          arg1, arg2, arg3, arg4 ),
    205205        Allocator() );
    206206    }
     
    226226        &processor_container::template create_processor_impl5<
    227227          Processor, arg1_type, arg2_type, arg3_type, arg4_type, arg5_type >;
    228228      return WorkItem(
    229         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     229        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    230230          arg1, arg2, arg3, arg4, arg5 ),
    231231        Allocator() );
    232232    }
     
    254254          Processor,
    255255          arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, arg6_type >;
    256256      return WorkItem(
    257         bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
     257        boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ),
    258258          arg1, arg2, arg3, arg4, arg5, arg6 ),
    259259        Allocator() );
    260260    }
     
    262262    WorkItem destroy_processor( const processor_handle & processor )
    263263    {
    264264      return WorkItem(
    265         bind( &processor_container::destroy_processor_impl, this, processor ),
     265        boost::bind( &processor_container::destroy_processor_impl, this, processor ),
    266266        Allocator() );
    267267    }
    268268
    269269    WorkItem initiate_processor( const processor_handle & processor )
    270270    {
    271271      return WorkItem(
    272         bind( &processor_container::initiate_processor_impl, this,
     272        boost::bind( &processor_container::initiate_processor_impl, this,
    273273          processor ),
    274274        Allocator() );
    275275    }
     
    277277    WorkItem terminate_processor( const processor_handle & processor )
    278278    {
    279279      return WorkItem(
    280         bind( &processor_container::terminate_processor_impl, this,
     280        boost::bind( &processor_container::terminate_processor_impl, this,
    281281          processor ),
    282282        Allocator() );
    283283    }
     
    290290      BOOST_ASSERT( pEvent.get() != 0 );
    291291
    292292      return WorkItem(
    293         bind( &processor_container::queue_event_impl, this, processor,
     293        boost::bind( &processor_container::queue_event_impl, this, processor,
    294294          pEvent ),
    295295        Allocator() );
    296296    }