Dataflow Runtime API  4.0.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::PoolAllocator< RuntimeTimer::TimeItemTimerPoolAllocator
 Timer pool allocator type definition. More...
 

Static Public Member Functions

static ExecutableIfcgetExecutable (int16_t const index)
 Gets the executable at index. More...
 
template<typename T >
static T * getExecutableInfo (int16_t const index)
 Gets the executable information. More...
 
static void registerExecutable (int16_t const 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
 

Detailed Description

Runtime executable for binary user specific allocation.

Pool to keep track of registered executables

Member Typedef Documentation

◆ TimerPoolAllocator

Timer pool allocator type definition.

Member Function Documentation

◆ getExecutable()

static ExecutableIfc* imt::base::dff::runtime::RuntimePools::getExecutable ( int16_t const  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 ( int16_t const  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 ( int16_t const  index,
ExecutableIfc executable 
)
static

Register executable in this pool.

Parameters
indexthe index where executable is registered
executablethe pointer to executable

Member Data Documentation

◆ s_timerAllocator

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

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