AudRecordLib
Classes | Namespaces | Functions
AudRecordCLI/DataBufferWrap.h File Reference

Contains declarations of the managed versions and wrappers of the INSSBuffer interface. More...

Go to the source code of this file.

Classes

struct  AudRecordCLI::IDataBuffer
class  NativeDataBufferWrap
class  ManagedDataBufferWrap

Namespaces

namespace  AudRecordCLI

Functions

AudRecordCLI::IDataBufferWrapNativeBuffer (INSSBuffer *pBuffer)
INSSBuffer * WrapManagedBuffer (AudRecordCLI::IDataBuffer^ pBuffer)

Detailed Description

Contains declarations of the managed versions and wrappers of the INSSBuffer interface.


Function Documentation

INSSBuffer* WrapManagedBuffer ( AudRecordCLI::IDataBuffer pBuffer)

Does the business of allocating a wrapper for a managed DataBuffer. If an exception is thrown by new, it's caught and logged before NULL is returned

Parameters:
pBufferThe buffer to wrap
Returns:
An INSSBuffer interface on a new ManagedDataBufferWrap object or NULL if allocation fails
AudRecordCLI::IDataBuffer ^ WrapNativeBuffer ( INSSBuffer *  pBuffer)

Allocates a NativeDataBufferWrap object around a native pointer

Parameters:
pBufferThe buffer interface to wrap
Returns:
The interface pointer to the new data buffer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Defines