tec::CommandQueue
#include <command-queue.hpp>
Public Functions
Name | |
---|---|
CommandQueue() | |
~CommandQueue() | |
void | ProcessCommandQueue() |
void | QueueCommand(Command< T > && command) |
void | QueueCommand(std::function< void(T *)> && command) |
Protected Attributes
Name | |
---|---|
std::atomic< std::queue< Command< T > > * > | global_command_queue |
std::queue< Command< T > > * | local_queue |
Detailed Description
template <class T >
class tec::CommandQueue;
Public Functions Documentation
function CommandQueue
inline CommandQueue()
function ~CommandQueue
inline ~CommandQueue()
function ProcessCommandQueue
inline void ProcessCommandQueue()
function QueueCommand
static inline void QueueCommand(
Command< T > && command
)
function QueueCommand
static inline void QueueCommand(
std::function< void(T *)> && command
)
Protected Attributes Documentation
variable global_command_queue
static std::atomic< std::queue< Command< T > > * > global_command_queue;
variable local_queue
std::queue< Command< T > > * local_queue;
Updated on 2022-07-24 at 19:27:35 +0000