TuttleOFX  1
tuttle::host::memory Namespace Reference

Data Structures

struct  Key
struct  KeyHash
class  IMemoryCache
class  IUnknown
class  IPoolData
class  IMemoryPool
class  LinkData
 A link to an external buffer which can't be managed by the MemoryPool. More...
class  MemoryCache
class  PoolData
class  IPool
 forward declaration More...
class  MemoryPool

Typedefs

typedef ::boost::shared_ptr
< tuttle::host::attribute::Image
CACHE_ELEMENT
 configure the cache with this element CACHE_ELEMENT should be a smart_ptr of some kind pointer will be stored in a container so no auto_ptr is allowed
typedef ::boost::intrusive_ptr
< IPoolData
IPoolDataPtr

Functions

std::ostream & operator<< (std::ostream &os, const Key &v)
std::ostream & operator<< (std::ostream &os, const IMemoryCache &v)
void intrusive_ptr_add_ref (IPoolData *pData)
void intrusive_ptr_release (IPoolData *pData)
std::ostream & operator<< (std::ostream &os, const MemoryCache &v)
std::ostream & operator<< (std::ostream &os, const MemoryPool &memoryPool)

Typedef Documentation

configure the cache with this element CACHE_ELEMENT should be a smart_ptr of some kind pointer will be stored in a container so no auto_ptr is allowed

Todo:
temporary solution..

Definition at line 21 of file IMemoryCache.hpp.

typedef ::boost::intrusive_ptr<IPoolData> tuttle::host::memory::IPoolDataPtr

Definition at line 36 of file IMemoryPool.hpp.


Function Documentation

void tuttle::host::memory::intrusive_ptr_add_ref ( IPoolData *  pData)

Definition at line 69 of file MemoryPool.cpp.

References tuttle::host::memory::IUnknown::addRef().

Here is the call graph for this function:

void tuttle::host::memory::intrusive_ptr_release ( IPoolData *  pData)

Definition at line 74 of file MemoryPool.cpp.

References tuttle::host::memory::IUnknown::release().

Here is the call graph for this function:

std::ostream& tuttle::host::memory::operator<< ( std::ostream &  os,
const Key &  v 
)
std::ostream& tuttle::host::memory::operator<< ( std::ostream &  os,
const IMemoryCache &  v 
)

Definition at line 40 of file IMemoryCache.cpp.

References tuttle::host::memory::IMemoryCache::outputStream().

Here is the call graph for this function:

std::ostream & tuttle::host::memory::operator<< ( std::ostream &  os,
const MemoryCache &  v 
)