Dataflow Runtime API  3.1.1.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
imt::base::dff::runtime::RuntimePools Class Reference

Runtime executable for binary user specific allocation. More...

#include <Imt.Base.Dff.Runtime/RuntimePools.h>

Public Types

typedef core::util::TrivialPoolAllocator< RuntimeTimer::TimeItemTimerPoolAllocator
 Timer pool allocator type definition. More...
 
typedef core::util::TrivialPoolAllocator< BufferItem > BufferPoolAllocator
 Buffer pool allocator type definition. More...
 
typedef core::util::ListNode< BufferItem * > BufferPointerNode
 Buffer pointer node definition. More...
 
typedef core::util::TrivialPoolAllocator< BufferPointerNodeBufferPointerAllocator
 Buffer pointer pool allocator type definition. More...
 
typedef core::util::LinkedList< BufferPointerNode, BufferItem *, BufferPointerAllocatorBufferPointerList
 Buffer pointer list type definition. More...
 
typedef core::util::LinkedListIterator< BufferPointerNodeBufferPointerIterator
 Buffer pointer iterator type definition. More...
 

Static Public Member Functions

static ExecutableIfcgetExecutable (const int16_t index)
 Gets the executable at index. More...
 
template<typename T >
static T * getExecutableInfo (const int16_t index)
 Gets the executable information. More...
 
static void registerExecutable (const int16_t index, ExecutableIfc &executable)
 Register executable in this pool. More...
 
static int16_t getExecutionPoolSize ()
 Gets the number of allocated executables. More...
 

Static Public Attributes

static TimerPoolAllocator s_timerAllocator
 
static BufferPoolAllocator s_bufferAllocator
 
static BufferPointerAllocator s_bufferPointerAllocator
 

Detailed Description

Runtime executable for binary user specific allocation.

Pool to keep track of registered executables

Member Typedef Documentation

◆ BufferPointerAllocator

Buffer pointer pool allocator type definition.

◆ BufferPointerIterator

Buffer pointer iterator type definition.

◆ BufferPointerList

Buffer pointer list type definition.

◆ BufferPointerNode

Buffer pointer node definition.

◆ BufferPoolAllocator

Buffer pool allocator type definition.

◆ TimerPoolAllocator

Timer pool allocator type definition.

Member Function Documentation

◆ getExecutable()

static ExecutableIfc* imt::base::dff::runtime::RuntimePools::getExecutable ( const int16_t  index)
static

Gets the executable at index.

Parameters
indexthe pool item index
Returns
The executable. Invalid index causes undefined behavior.

◆ getExecutableInfo()

template<typename T >
static T* imt::base::dff::runtime::RuntimePools::getExecutableInfo ( const int16_t  index)
inlinestatic

Gets the executable information.

Used for internal runtime configuration

Parameters
indexthe pool item index
Returns
The structure. Invalid index causes undefined behavior.

◆ getExecutionPoolSize()

static int16_t imt::base::dff::runtime::RuntimePools::getExecutionPoolSize ( )
static

Gets the number of allocated executables.

Returns
number of pool items

◆ registerExecutable()

static void imt::base::dff::runtime::RuntimePools::registerExecutable ( const int16_t  index,
ExecutableIfc executable 
)
static

Register executable in this pool.

Parameters
indexthe index where executable is registered
executablethe pointer to executable

Member Data Documentation

◆ s_bufferAllocator

BufferPoolAllocator imt::base::dff::runtime::RuntimePools::s_bufferAllocator
static

◆ s_bufferPointerAllocator

BufferPointerAllocator imt::base::dff::runtime::RuntimePools::s_bufferPointerAllocator
static

◆ s_timerAllocator

TimerPoolAllocator imt::base::dff::runtime::RuntimePools::s_timerAllocator
static

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