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

create and initialize a memory pool object More...

#include <osmemorypool.h>

Inheritance diagram for intros::MemoryPoolTT< limit_, C >:
intros::MemoryPoolT< limit_, sizeof(C)>

Public Member Functions

 MemoryPoolTT ()
 constructor, see the constructor parameters of the class
int take (C **_data)
 mem_take()
int tryWait (C **_data)
 mem_tryWait()
template<typename T>
int waitFor (C **_data, const T &_delay)
 mem_waitFor()
template<typename T>
int waitUntil (C **_data, const T &_time)
 mem_waitUntil()
int wait (C **_data)
 mem_wait()

Detailed Description

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

create and initialize a memory pool object

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

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