Signbit MPSCQ  0.5.0
Public Member Functions | Public Attributes | List of all members
sbit::mpscq::Queue::Message< Payload > Struct Template Reference

#include <mpscq.h>

Collaboration diagram for sbit::mpscq::Queue::Message< Payload >:
Collaboration graph
[legend]

Public Member Functions

void recycle ()
 

Public Attributes

Envelope envelope
 The envelope.
 
Payload payload
 The payload.
 

Detailed Description

template<typename Payload>
struct sbit::mpscq::Queue::Message< Payload >

Aggregation of a payload and an envelope

Template Parameters
PayloadIs the type of the useful payload processed via the queue

Member Function Documentation

◆ recycle()

template<typename Payload >
void sbit::mpscq::Queue::Message< Payload >::recycle ( )
inline

Recycles this element by returning it to its worker pool


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