exchange
Low-latency exchange in C++
Loading...
Searching...
No Matches
exchange::server::ActionSpmcReceiver Class Reference

#include <action_spmc_receiver.hpp>

Public Member Functions

 ActionSpmcReceiver (SharedMemory &sharedMemory)
 ActionSpmcReceiver (const ActionSpmcReceiver &)=delete
ActionSpmcReceiver & operator= (const ActionSpmcReceiver &)=delete
 ActionSpmcReceiver (ActionSpmcReceiver &&other) noexcept
ActionSpmcReceiver & operator= (ActionSpmcReceiver &&other) noexcept
 ~ActionSpmcReceiver ()
Action receive () noexcept

Constructor & Destructor Documentation

◆ ActionSpmcReceiver() [1/3]

exchange::server::ActionSpmcReceiver::ActionSpmcReceiver ( SharedMemory & sharedMemory)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ActionSpmcReceiver() [2/3]

exchange::server::ActionSpmcReceiver::ActionSpmcReceiver ( const ActionSpmcReceiver & )
delete
Here is the call graph for this function:

◆ ActionSpmcReceiver() [3/3]

exchange::server::ActionSpmcReceiver::ActionSpmcReceiver ( ActionSpmcReceiver && other)
noexcept
Here is the call graph for this function:

◆ ~ActionSpmcReceiver()

exchange::server::ActionSpmcReceiver::~ActionSpmcReceiver ( )

Member Function Documentation

◆ operator=() [1/2]

ActionSpmcReceiver & exchange::server::ActionSpmcReceiver::operator= ( ActionSpmcReceiver && other)
noexcept
Here is the call graph for this function:

◆ operator=() [2/2]

ActionSpmcReceiver & exchange::server::ActionSpmcReceiver::operator= ( const ActionSpmcReceiver & )
delete
Here is the call graph for this function:

◆ receive()

Action exchange::server::ActionSpmcReceiver::receive ( )
nodiscardnoexcept

Busy wait until another broadcasted action is available from the SPMC queue.

Returns
An action received from the SPMC queue.

The documentation for this class was generated from the following files: