My Project
Public Types | Public Member Functions | List of all members
boost::statechart::fifo_scheduler< FifoWorker, Allocator > Class Template Reference

#include <fifo_scheduler.hpp>

Inheritance diagram for boost::statechart::fifo_scheduler< FifoWorker, Allocator >:
Inheritance graph
Collaboration diagram for boost::statechart::fifo_scheduler< FifoWorker, Allocator >:
Collaboration graph

Public Types

typedef container::processor_handle processor_handle
 
typedef container::processor_context processor_context
 
typedef intrusive_ptr< const event_baseevent_ptr_type
 
typedef FifoWorker::work_item work_item
 

Public Member Functions

template<class Processor >
processor_handle create_processor ()
 
template<class Processor , typename Arg1 >
processor_handle create_processor (Arg1 arg1)
 
template<class Processor , typename Arg1 , typename Arg2 >
processor_handle create_processor (Arg1 arg1, Arg2 arg2)
 
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 >
processor_handle create_processor (Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 >
processor_handle create_processor (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 >
processor_handle create_processor (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 >
processor_handle create_processor (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6)
 
void destroy_processor (const processor_handle &processor)
 
void initiate_processor (const processor_handle &processor)
 
void terminate_processor (const processor_handle &processor)
 
void queue_event (const processor_handle &processor, const event_ptr_type &pEvent)
 
void queue_work_item (work_item &item)
 
void queue_work_item (const work_item &item)
 
void terminate ()
 
bool terminated () const
 
unsigned long operator() (unsigned long maxEventCount=0)
 

Member Typedef Documentation

◆ event_ptr_type

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
typedef intrusive_ptr< const event_base > boost::statechart::fifo_scheduler< FifoWorker, Allocator >::event_ptr_type

◆ processor_context

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
typedef container::processor_context boost::statechart::fifo_scheduler< FifoWorker, Allocator >::processor_context

◆ processor_handle

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
typedef container::processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::processor_handle

◆ work_item

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
typedef FifoWorker::work_item boost::statechart::fifo_scheduler< FifoWorker, Allocator >::work_item

Member Function Documentation

◆ create_processor() [1/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( )
inline

◆ create_processor() [2/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1)
inline

◆ create_processor() [3/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 , typename Arg2 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1,
Arg2  arg2 
)
inline

◆ create_processor() [4/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1,
Arg2  arg2,
Arg3  arg3 
)
inline

◆ create_processor() [5/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4 
)
inline

◆ create_processor() [6/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5 
)
inline

◆ create_processor() [7/7]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
template<class Processor , typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 , typename Arg6 >
processor_handle boost::statechart::fifo_scheduler< FifoWorker, Allocator >::create_processor ( Arg1  arg1,
Arg2  arg2,
Arg3  arg3,
Arg4  arg4,
Arg5  arg5,
Arg6  arg6 
)
inline

◆ destroy_processor()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::destroy_processor ( const processor_handle processor)
inline

◆ initiate_processor()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::initiate_processor ( const processor_handle processor)
inline

◆ operator()()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
unsigned long boost::statechart::fifo_scheduler< FifoWorker, Allocator >::operator() ( unsigned long  maxEventCount = 0)
inline

◆ queue_event()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::queue_event ( const processor_handle processor,
const event_ptr_type pEvent 
)
inline

◆ queue_work_item() [1/2]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::queue_work_item ( const work_item item)
inline

◆ queue_work_item() [2/2]

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::queue_work_item ( work_item item)
inline

◆ terminate()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::terminate ( )
inline

◆ terminate_processor()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
void boost::statechart::fifo_scheduler< FifoWorker, Allocator >::terminate_processor ( const processor_handle processor)
inline

◆ terminated()

template<class FifoWorker = fifo_worker<>, class Allocator = std::allocator< none >>
bool boost::statechart::fifo_scheduler< FifoWorker, Allocator >::terminated ( ) const
inline

The documentation for this class was generated from the following file: