TuttleOFX  1
tuttle::host::memory::LinkData Class Reference

A link to an external buffer which can't be managed by the MemoryPool. More...

#include <LinkData.hpp>

Inheritance diagram for tuttle::host::memory::LinkData:
Collaboration diagram for tuttle::host::memory::LinkData:

Public Member Functions

 LinkData (char *dataLink)
 ~LinkData ()
char * data ()
const char * data () const
const size_t size () const
const size_t reservedSize () const
void addRef ()
void release ()

Private Member Functions

 LinkData ()
 LinkData (const LinkData &)

Private Attributes

char *const _dataLink

Detailed Description

A link to an external buffer which can't be managed by the MemoryPool.

Definition at line 13 of file LinkData.hpp.


Constructor & Destructor Documentation

tuttle::host::memory::LinkData::LinkData ( ) [private]
tuttle::host::memory::LinkData::LinkData ( const LinkData ) [private]
tuttle::host::memory::LinkData::LinkData ( char *  dataLink) [inline]

Definition at line 19 of file LinkData.hpp.

tuttle::host::memory::LinkData::~LinkData ( ) [inline]

Definition at line 23 of file LinkData.hpp.


Member Function Documentation

void tuttle::host::memory::LinkData::addRef ( ) [inline, virtual]

Implements tuttle::host::memory::IUnknown.

Definition at line 34 of file LinkData.hpp.

char* tuttle::host::memory::LinkData::data ( ) [inline, virtual]

Implements tuttle::host::memory::IPoolData.

Definition at line 28 of file LinkData.hpp.

References _dataLink.

const char* tuttle::host::memory::LinkData::data ( ) const [inline, virtual]

Implements tuttle::host::memory::IPoolData.

Definition at line 29 of file LinkData.hpp.

References _dataLink.

void tuttle::host::memory::LinkData::release ( ) [inline, virtual]

Implements tuttle::host::memory::IUnknown.

Definition at line 35 of file LinkData.hpp.

const size_t tuttle::host::memory::LinkData::reservedSize ( ) const [inline, virtual]

Implements tuttle::host::memory::IPoolData.

Definition at line 32 of file LinkData.hpp.

const size_t tuttle::host::memory::LinkData::size ( ) const [inline, virtual]

Implements tuttle::host::memory::IPoolData.

Definition at line 31 of file LinkData.hpp.


Field Documentation

Definition at line 38 of file LinkData.hpp.

Referenced by data().


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