|
StateOS
|
create and initialize a memory pool object More...
#include <osmemorypool.h>
Public Types | |
| using | Ptr = std::unique_ptr<MemoryPoolTT<limit_, C>> |
| result type of Create() | |
Public Member Functions | |
| MemoryPoolTT () | |
| constructor, see the constructor parameters of the class | |
| int | take (C **_data) |
| mem_take() | |
| int | tryWait (C **_data) |
| mem_tryWait() | |
| int | takeISR (C **_data) |
| mem_takeISR() | |
| 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() | |
Static Public Member Functions | |
| static Ptr | Create () |
| create dynamic object with manageable resources | |
create and initialize a memory pool object
|
inlinestatic |
create dynamic object with manageable resources