![]() |
Dataflow Runtime API
3.0.3.0
|
Holds the internal global data pools for the runtime. More...
#include <Imt.Base.Dff.Runtime/RuntimeEventPools.h>
Public Types | |
typedef core::util::ObjectPoolAllocator< EventDataNormal > | EventDataNormalPool |
Pool for normal events (Object types) More... | |
typedef core::util::ListNode< EventData * > | EventDataPointerNode |
DataPointer node definition. More... | |
typedef core::util::TrivialPoolAllocator< EventDataPointerNode > | EventDataPointerPool |
Pool for normal events (Trivial types) More... | |
Static Public Member Functions | |
static EventData * | allocate (const size_t eventSizeBytes) |
Instantiates an object out of the memory pool. More... | |
static void | deallocate (EventData *data) |
Deallocates the pool memory pointed by data. More... | |
Static Public Attributes | |
static EventDataNormalPool | s_eventAllocator |
static EventDataPointerPool | s_activeEventAlloc |
Holds the internal global data pools for the runtime.
typedef core::util::ObjectPoolAllocator<EventDataNormal> imt::base::dff::runtime::RuntimeEventPools::EventDataNormalPool |
Pool for normal events (Object types)
typedef core::util::ListNode<EventData*> imt::base::dff::runtime::RuntimeEventPools::EventDataPointerNode |
DataPointer node definition.
typedef core::util::TrivialPoolAllocator< EventDataPointerNode > imt::base::dff::runtime::RuntimeEventPools::EventDataPointerPool |
Pool for normal events (Trivial types)
|
inlinestatic |
Instantiates an object out of the memory pool.
Allocates the a number of bytes, calls the constructor of the object (new) and returns a pointer to it. The number of bytes must be <= elemSize.
eventSizeBytes | the size of predicted event. Used for correct memory allocation |
|
inlinestatic |
Deallocates the pool memory pointed by data.
data | Reference to the object, which points to the memory to deallocate. |
|
static |
|
static |