#include <PionScheduler.hpp>
Inherits pion::PionMultiThreadScheduler.
Definition at line 286 of file PionScheduler.hpp.
Public Member Functions | |
| PionOneToOneScheduler (void) | |
| constructs a new PionOneToOneScheduler | |
| virtual | ~PionOneToOneScheduler () |
| virtual destructor | |
| virtual boost::asio::io_service & | getIOService (void) |
| returns an async I/O service used to schedule work | |
| virtual boost::asio::io_service & | getIOService (boost::uint32_t n) |
| virtual void | startup (void) |
| Starts the thread scheduler (this is called automatically when necessary). | |
Protected Types | |
|
typedef std::vector< boost::shared_ptr< ServicePair > > | ServicePool |
| typedef for a pool of IO services | |
Protected Member Functions | |
| virtual void | stopServices (void) |
| stops all services used to schedule work | |
| virtual void | finishServices (void) |
| finishes all services used to schedule work | |
Protected Attributes | |
| ServicePool | m_service_pool |
| pool of IO services used to schedule work | |
| boost::uint32_t | m_next_service |
| the next service to use for scheduling work | |
Classes | |
| struct | ServicePair |
| typedef for a pair object where first is an IO service and second is a deadline timer More... | |
| virtual boost::asio::io_service& pion::PionOneToOneScheduler::getIOService | ( | boost::uint32_t | n | ) | [inline, virtual] |
returns an async I/O service used to schedule work (provides direct access to avoid locking when possible)
| n | integer number representing the service object |
Definition at line 318 of file PionScheduler.hpp.
1.4.7