IntrOS
Loading...
Searching...
No Matches
intros::RawBufferTT< limit_, C > Struct Template Reference

create and initialize a raw buffer object More...

#include <osrawbuffer.h>

Inheritance diagram for intros::RawBufferTT< limit_, C >:
intros::RawBufferT< limit_ *sizeof(C)>

Public Member Functions

constexpr RawBufferTT ()
 constructor, see the constructor parameters of the class
int take (C *_data)
 raw_take()
int tryWait (C *_data)
 raw_tryWait()
template<typename T>
int waitFor (C *_data, const T &_delay)
 raw_waitFor()
template<typename T>
int waitUntil (C *_data, const T &_time)
 raw_waitUntil()
int wait (C *_data)
 raw_wait()
int give (const C *_data)
 raw_give()
template<typename T>
int sendFor (const C *_data, const T &_delay)
 raw_sendFor()
template<typename T>
int sendUntil (const C *_data, const T &_time)
 raw_sendUntil()
int send (const C *_data)
 raw_send()
int push (const C *_data)
 raw_push()

Detailed Description

template<unsigned limit_, class C>
struct intros::RawBufferTT< limit_, C >

create and initialize a raw buffer object

Constructor parameters
  • limit: size of a buffer (max number of stored objects)
  • C: class of an object

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