A thread-safe messaging block for data-structures.
More...
#include <Utilities.hpp>
|
void | clearContents () |
| Clears the contents of the messaging block.
|
|
void | send (const OTy &object) |
| Sends an object of type OTy to the "recipient".
|
|
void | send (OTy &&object) |
| Sends an object of type OTy to the "recipient".
|
|
void | send (OTy &object) |
| Sends an object of type OTy to the "recipient".
|
|
void | sendFront (OTy &&object) |
| Sends an object of type OTy to the "recipient", ahead of other already queued items.
|
|
void | sendFront (OTy &object) |
| Sends an object of type OTy to the "recipient", ahead of other already queued items.
|
|
bool | tryReceive (OTy &object) |
| Tries to receive an object of type OTy to be placed into a reference.
|
|
◆ send() [1/3]
template<CopyableOrMovable OTy>
◆ send() [2/3]
template<CopyableOrMovable OTy>
◆ send() [3/3]
template<CopyableOrMovable OTy>
◆ sendFront() [1/2]
template<CopyableOrMovable OTy>
◆ sendFront() [2/2]
template<CopyableOrMovable OTy>
◆ tryReceive()
template<CopyableOrMovable OTy>
- Parameters
-
object | A reference of type OTy for placing the potentially received object. |
- Returns
- bool A bool, denoting whether or not we received an object.
Definition at line 1254 of file Utilities.hpp.
The documentation for this class was generated from the following file: