IntrOS
Loading...
Searching...
No Matches
intros::MailBoxQueueT< limit_, size_ > Struct Template Reference

create and initialize a mailbox queue object More...

#include <osmailboxqueue.h>

Inheritance diagram for intros::MailBoxQueueT< limit_, size_ >:

Public Member Functions

constexpr MailBoxQueueT ()
 constructor, see the constructor parameters of the class
 MailBoxQueueT (MailBoxQueueT &&_src)
 move constructor
 MailBoxQueueT (const MailBoxQueueT &)=delete
MailBoxQueueT & operator= (MailBoxQueueT &&)=delete
MailBoxQueueT & operator= (const MailBoxQueueT &)=delete
void reset ()
 box_reset()
void kill ()
 box_kill()
int take (void *_data)
 box_take()
int tryWait (void *_data)
 box_tryWait()
template<typename T>
int waitFor (void *_data, const T &_delay)
 box_waitFor()
template<typename T>
int waitUntil (void *_data, const T &_time)
 box_waitUntil()
int wait (void *_data)
 box_wait()
int give (const void *_data)
 box_give()
template<typename T>
int sendFor (const void *_data, const T &_delay)
 box_sendFor()
template<typename T>
int sendUntil (const void *_data, const T &_time)
 box_sendUntil()
int send (const void *_data)
 box_send()
void push (const void *_data)
 box_push()
unsigned count ()
 box_count()
unsigned space ()
 box_space()
unsigned limit ()
 box_limit()
size_t size ()
 box_size()
int takeAsync (void *_data)
 box_takeAsync()
int waitAsync (void *_data)
 box_waitAsync()
int giveAsync (const void *_data)
 box_giveAsync()
int sendAsync (const void *_data)
 box_sendAsync()

Detailed Description

template<unsigned limit_, size_t size_>
struct intros::MailBoxQueueT< limit_, size_ >

create and initialize a mailbox queue object

Constructor parameters
  • limit: size of a queue (max number of stored mails)
  • size: size of a single mail (in bytes)

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