|
Signbit MPSCQ
0.5.0
|
#include <mpscq.h>


Public Member Functions | |
| Processor (Queue &queue) | |
Public Member Functions inherited from sbit::mpscq::ProcessorBase | |
| ProcessorBase (Queue &queue) | |
| virtual void | afterBatch () |
| virtual void | onIdle () |
| void | startProcessing () |
| void | interrupt () |
| ProcessorBase (const ProcessorBase &other)=delete | |
| ProcessorBase & | operator= (const ProcessorBase &other)=delete |
| ProcessorBase (ProcessorBase &&other)=delete | |
| ProcessorBase & | operator= (ProcessorBase &&other)=delete |
Protected Member Functions | |
| virtual void | process (const Payload &payload)=0 |
Strongly-typed consumer
Wraps the cast from the Queue::Envelope type to the Payload type
| Payload | Is the type of the useful payload processed via the queue |
|
inlineexplicit |
Constructs a processor
| queue | Is the queue from which elements are consumed |
|
protectedpure virtual |
Process a message
| payload | Is the message contents to be processed |
1.8.17