MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
MAKLogger::DtMemoryBuffer Class Reference

DtMemoryBuffer manages a memory allocation. More...

+ Collaboration diagram for MAKLogger::DtMemoryBuffer:

Public Member Functions

 ~DtMemoryBuffer ()
 
void * data ()
 get a pointer to the memory More...
 
size_t size () const
 get the size in bytes of the buffer More...
 
void resize (size_t newDesiredSize)
 Resize the buffer (without loss of data) After the resize the buffer is guaranteed to be ATLEAST the newSize. More...
 

Static Public Member Functions

static DtMemoryBufferSP createMemoryBuffer (size_t size)
 

Protected Member Functions

 DtMemoryBuffer (size_t size)
 

Protected Attributes

char * myData
 
size_t mySize
 

Private Member Functions

 DtMemoryBuffer (const DtMemoryBuffer &)
 Not Implemented. More...
 
DtMemoryBufferoperator= (const DtMemoryBuffer &)
 Not Implemented. More...
 

Detailed Description

DtMemoryBuffer manages a memory allocation.

Constructor & Destructor Documentation

MAKLogger::DtMemoryBuffer::DtMemoryBuffer ( size_t  size)
explicitprotected
MAKLogger::DtMemoryBuffer::DtMemoryBuffer ( const DtMemoryBuffer )
private

Not Implemented.

MAKLogger::DtMemoryBuffer::~DtMemoryBuffer ( )

Member Function Documentation

static DtMemoryBufferSP MAKLogger::DtMemoryBuffer::createMemoryBuffer ( size_t  size)
static
void* MAKLogger::DtMemoryBuffer::data ( )

get a pointer to the memory

DtMemoryBuffer& MAKLogger::DtMemoryBuffer::operator= ( const DtMemoryBuffer )
private

Not Implemented.

void MAKLogger::DtMemoryBuffer::resize ( size_t  newDesiredSize)

Resize the buffer (without loss of data) After the resize the buffer is guaranteed to be ATLEAST the newSize.

size_t MAKLogger::DtMemoryBuffer::size ( ) const

get the size in bytes of the buffer

Member Data Documentation

char* MAKLogger::DtMemoryBuffer::myData
protected
size_t MAKLogger::DtMemoryBuffer::mySize
protected

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

Document ID: Generated on Thu Dec 18 15:35:09 EST 2025 from SVN revision 282494
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)