Multiprocessor dispatcher delegating to child dispatchers.
More...
#include <mp_dispatcher.h>
|
| std::unique_ptr< Impl > | impl_ |
Multiprocessor dispatcher delegating to child dispatchers.
Definition at line 15 of file mp_dispatcher.h.
◆ MPDispatcher() [1/3]
| contur::MPDispatcher::MPDispatcher |
( |
std::vector< std::reference_wrapper< IDispatcher > > | dispatchers | ) |
|
|
explicit |
Constructs MP dispatcher with worker dispatchers.
- Parameters
-
| dispatchers | Non-empty list of child dispatchers. |
◆ ~MPDispatcher()
| contur::MPDispatcher::~MPDispatcher |
( |
| ) |
|
|
override |
◆ MPDispatcher() [2/3]
| contur::MPDispatcher::MPDispatcher |
( |
const MPDispatcher & | | ) |
|
|
delete |
◆ MPDispatcher() [3/3]
| contur::MPDispatcher::MPDispatcher |
( |
MPDispatcher && | | ) |
|
|
noexcept |
◆ createProcess()
| Result< void > contur::MPDispatcher::createProcess |
( |
std::unique_ptr< ProcessImage > | process, |
|
|
Tick | currentTick ) |
|
nodiscardoverridevirtual |
◆ dispatch()
| Result< void > contur::MPDispatcher::dispatch |
( |
std::size_t | tickBudget | ) |
|
|
nodiscardoverridevirtual |
◆ hasProcess()
| bool contur::MPDispatcher::hasProcess |
( |
ProcessId | pid | ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ processCount()
| std::size_t contur::MPDispatcher::processCount |
( |
| ) |
const |
|
nodiscardoverridevirtualnoexcept |
◆ terminateProcess()
◆ tick()
| void contur::MPDispatcher::tick |
( |
| ) |
|
|
overridevirtual |
◆ impl_
| std::unique_ptr<Impl> contur::MPDispatcher::impl_ |
|
private |
The documentation for this class was generated from the following file: