Ticket #3092: statechart.diff
File statechart.diff, 4.4 KB (added by , 13 years ago) |
---|
-
fifo_worker.hpp
103 103 104 104 void terminate() 105 105 { 106 work_item item = b ind( &fifo_worker::terminate_impl, this );106 work_item item = boost::bind( &fifo_worker::terminate_impl, this ); 107 107 queue_work_item( item ); 108 108 } 109 109 -
processor_container.hpp
114 114 impl_fun_ptr pImpl = 115 115 &processor_container::template create_processor_impl0< Processor >; 116 116 return WorkItem( 117 b ind( pImpl, this, pProcessor,117 boost::bind( pImpl, this, pProcessor, 118 118 processor_context( scheduler, handle ) ), 119 119 Allocator() ); 120 120 } … … 133 133 &processor_container::template create_processor_impl1< 134 134 Processor, arg1_type >; 135 135 return WorkItem( 136 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),136 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 137 137 arg1 ), 138 138 Allocator() ); 139 139 } … … 153 153 &processor_container::template create_processor_impl2< 154 154 Processor, arg1_type, arg2_type >; 155 155 return WorkItem( 156 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),156 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 157 157 arg1, arg2 ), 158 158 Allocator() ); 159 159 } … … 175 175 &processor_container::template create_processor_impl3< 176 176 Processor, arg1_type, arg2_type, arg3_type >; 177 177 return WorkItem( 178 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),178 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 179 179 arg1, arg2, arg3 ), 180 180 Allocator() ); 181 181 } … … 200 200 &processor_container::template create_processor_impl4< 201 201 Processor, arg1_type, arg2_type, arg3_type, arg4_type >; 202 202 return WorkItem( 203 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),203 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 204 204 arg1, arg2, arg3, arg4 ), 205 205 Allocator() ); 206 206 } … … 226 226 &processor_container::template create_processor_impl5< 227 227 Processor, arg1_type, arg2_type, arg3_type, arg4_type, arg5_type >; 228 228 return WorkItem( 229 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),229 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 230 230 arg1, arg2, arg3, arg4, arg5 ), 231 231 Allocator() ); 232 232 } … … 254 254 Processor, 255 255 arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, arg6_type >; 256 256 return WorkItem( 257 b ind( pImpl, this, pProcessor, processor_context( scheduler, handle ),257 boost::bind( pImpl, this, pProcessor, processor_context( scheduler, handle ), 258 258 arg1, arg2, arg3, arg4, arg5, arg6 ), 259 259 Allocator() ); 260 260 } … … 262 262 WorkItem destroy_processor( const processor_handle & processor ) 263 263 { 264 264 return WorkItem( 265 b ind( &processor_container::destroy_processor_impl, this, processor ),265 boost::bind( &processor_container::destroy_processor_impl, this, processor ), 266 266 Allocator() ); 267 267 } 268 268 269 269 WorkItem initiate_processor( const processor_handle & processor ) 270 270 { 271 271 return WorkItem( 272 b ind( &processor_container::initiate_processor_impl, this,272 boost::bind( &processor_container::initiate_processor_impl, this, 273 273 processor ), 274 274 Allocator() ); 275 275 } … … 277 277 WorkItem terminate_processor( const processor_handle & processor ) 278 278 { 279 279 return WorkItem( 280 b ind( &processor_container::terminate_processor_impl, this,280 boost::bind( &processor_container::terminate_processor_impl, this, 281 281 processor ), 282 282 Allocator() ); 283 283 } … … 290 290 BOOST_ASSERT( pEvent.get() != 0 ); 291 291 292 292 return WorkItem( 293 b ind( &processor_container::queue_event_impl, this, processor,293 boost::bind( &processor_container::queue_event_impl, this, processor, 294 294 pEvent ), 295 295 Allocator() ); 296 296 }