IntrOS
Loading...
Searching...
No Matches
intros::EventQueueT< limit_ > Struct Template Reference

create and initialize an event queue object More...

#include <oseventqueue.h>

Inheritance diagram for intros::EventQueueT< limit_ >:

Public Member Functions

constexpr EventQueueT ()
 constructor, see the constructor parameters of the class
 EventQueueT (EventQueueT &&_src)
 move constructor
 EventQueueT (const EventQueueT &)=delete
EventQueueT & operator= (EventQueueT &&)=delete
EventQueueT & operator= (const EventQueueT &)=delete
void reset ()
 evq_reset()
void kill ()
 evq_kill()
int take (unsigned *_event=nullptr)
 evq_take()
int take (unsigned &_event)
 evq_take()
int tryWait (unsigned *_event=nullptr)
 evq_tryWait()
int tryWait (unsigned &_event)
 evq_tryWait()
template<typename T>
int waitFor (unsigned *_event, const T &_delay)
 evq_waitFor()
template<typename T>
int waitUntil (unsigned *_event, const T &_time)
 evq_waitUntil()
int wait (unsigned *_event=nullptr)
 evq_wait()
int wait (unsigned &_event)
 evq_wait()
int give (unsigned _event)
 evq_give()
template<typename T>
int sendFor (unsigned _event, const T &_delay)
 evq_sendFor()
template<typename T>
int sendUntil (unsigned _event, const T &_time)
 evq_sendUntil()
int send (unsigned _event)
 evq_send()
void push (unsigned _event)
 evq_push()
unsigned count ()
 evq_count()
unsigned space ()
 evq_space()
unsigned limit ()
 evq_limit()
int takeAsync (unsigned *_event=nullptr)
 evq_takeAsync()
int takeAsync (unsigned &_event)
 evq_takeAsync()
int waitAsync (unsigned *_event=nullptr)
 evq_waitAsync()
int waitAsync (unsigned &_event)
 evq_waitAsync()
int giveAsync (unsigned _event)
 evq_giveAsync()
int sendAsync (unsigned _event)
 evq_sendAsync()

Detailed Description

template<unsigned limit_>
struct intros::EventQueueT< limit_ >

create and initialize an event queue object

Constructor parameters
  • limit: size of a queue (max number of stored events)

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