ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
ObjectPool.h File Reference
#include "etiss/Misc.h"
#include "etiss/RefCountedObject.h"
#include <cstring>
Include dependency graph for ObjectPool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  etiss::ObjectPool< T, prealloc_inc >
 prealloc_inc defines the number of objects that is availabe within ObjectPools memory; default: 100 More...
 
struct  etiss::ObjectPool< T, prealloc_inc >::rebind< Type >
 
class  etiss::ExpandingNativeStack< T, stackallocatedsize >
 implements a stack that may only grow (if needed) and can only contain native types since no destructor / contructor / initialization is called. More...
 

Namespaces

namespace  etiss
 forwards: include/jit/*
 
namespace  etiss::internal
 

Macros

#define ETISS_OBJECTPOOL_LOGSIZE   1
 
#define ETISS_OBJECTPOOL_DBG_OBJLIMIT   0
 

Functions

template<typename T >
std::enable_if<!std::is_base_of< etiss::RefCountedObject< ObjectPool< T > >, T >::value, void >::type etiss::internal::ObjectPool_setAllocatorPointer (T *obj, ObjectPool< T > *this_)
 empty fallback function
 
template<typename T >
std::enable_if< std::is_base_of< etiss::RefCountedObject< ObjectPool< T > >, T >::value, void >::type etiss::internal::ObjectPool_setAllocatorPointer (T *obj, ObjectPool< T > *this_)
 
template<typename T >
std::enable_if< std::is_base_of< etiss::RefCountedObject< ObjectPool< T > >, T >::value, bool >::type etiss::decRef (T *ptr)
 

Macro Definition Documentation

◆ ETISS_OBJECTPOOL_DBG_OBJLIMIT

#define ETISS_OBJECTPOOL_DBG_OBJLIMIT   0

Definition at line 23 of file ObjectPool.h.

◆ ETISS_OBJECTPOOL_LOGSIZE

#define ETISS_OBJECTPOOL_LOGSIZE   1

Definition at line 22 of file ObjectPool.h.