GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
event_queue_safe Class Reference

#include "event-queue.h"

Inheritance diagram for event_queue_safe:
event_queue action_container

Public Member Functions

 event_queue_safe ()
 
 ~event_queue_safe ()
 
- Public Member Functions inherited from event_queue
 event_queue ()
 
 ~event_queue ()
 
void discard_first ()
 
void run_first ()
 
std::size_t size () const
 
- Public Member Functions inherited from action_container
 action_container ()
 
virtual ~action_container ()=default
 
template<typename F , typename... Args>
void add (F &&fcn, Args &&... args)
 
template<typename T >
void add_delete (T *obj)
 
template<typename... Params, typename... Args>
void add_fcn (void(*fcn)(Params...), Args &&... args)
 
template<typename T , typename... Params, typename... Args>
void add_method (T &obj, void(T::*method)(Params...), Args &&... args)
 
template<typename T , typename... Params, typename... Args>
void add_method (T *obj, void(T::*method)(Params...), Args &&... args)
 
void discard ()
 
void discard (std::size_t num)
 
bool empty () const
 
 operator bool () const
 
template<typename T >
void protect_var (T &var)
 
template<typename T >
void protect_var (T &var, const T &val)
 
void run ()
 
void run (std::size_t num)
 

Additional Inherited Members

- Protected Member Functions inherited from event_queue
void add_action (elem *new_elem)
 
- Protected Attributes inherited from event_queue
std::queue< elem * > m_fifo
 

Detailed Description

Definition at line 91 of file event-queue.h.

Constructor & Destructor Documentation

◆ event_queue_safe()

event_queue_safe::event_queue_safe ( )
inline

Definition at line 96 of file event-queue.h.

◆ ~event_queue_safe()

event_queue_safe::~event_queue_safe ( )
inline

Definition at line 100 of file event-queue.h.


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