GENERICRW_MEMORY Class Reference

Memory buffer supporting generic read/write interface. More...

#include <mi32/genericrwmem.h>

Inheritance diagram for GENERICRW_MEMORY:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GENERICRW_MEMORY ()
virtual ~GENERICRW_MEMORY ()
void Attach (SIMPLE_ARRAY< UINT8 > &buffer)
void Attach (UINT8 *&items, int numitems)
UINT8Detach ()
const SIMPLE_ARRAY< UINT8 > & GetBuffer () const

Detailed Description

Memory buffer supporting generic read/write interface.


Constructor & Destructor Documentation

GENERICRW_MEMORY::GENERICRW_MEMORY (  ) 

Constructor.

virtual GENERICRW_MEMORY::~GENERICRW_MEMORY (  )  [virtual]

Destructor.


Member Function Documentation

void GENERICRW_MEMORY::Attach ( SIMPLE_ARRAY< UINT8 > &  buffer  ) 

Attach SIMPLE_ARRAY<UINT8> to instance.

Parameters:
buffer Buffer to attach, will be detached from here
void GENERICRW_MEMORY::Attach ( UINT8 *&  items,
int  numitems 
)

Attach allocated array memory buffer.

Parameters:
items Buffer to attach
numitems Number of items in array
UINT8* GENERICRW_MEMORY::Detach (  ) 

Detach memory buffer.

Return pointer to buffer, caller must free.

const SIMPLE_ARRAY<UINT8>& GENERICRW_MEMORY::GetBuffer (  )  const

Get memory buffer.


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

Generated on Sun Oct 7 21:33:24 2012 for TNTsdk 2012 by  doxygen 1.6.1