#include <iso_cl_buffer_object.h>
Inherits iso::cl::MemoryObject.
Inheritance diagram for iso::cl::BufferObject< DataType >:
Public Member Functions | |
BufferObject (MemoryUsage pUsage, int pDataCount) throw (CLException) | |
BufferObject (MemoryUsage pUsage, DataType *pData, int pDataCount) throw (CLException) | |
~BufferObject () | |
void | reset (MemoryUsage pUsage, int pDataCount) throw (CLException) |
void | reset (MemoryUsage pUsage, DataType *pData, int pDataCount) throw (CLException) |
DataType * | data () |
const DataType * | data () const |
void | setData (DataType *pData) |
void | read (Queue &pQueue) throw (CLException) |
void | write (Queue &pQueue) throw (CLException) |
void | read (Queue &pQueue, DataType *pData) throw (CLException) |
void | write (Queue &pQueue, DataType *pData) throw (CLException) |
Protected Attributes | |
DataType * | mData |
iso::cl::BufferObject< DataType >::BufferObject | ( | MemoryUsage | pUsage, | |
int | pDataCount | |||
) | throw (CLException) |
iso::cl::BufferObject< DataType >::BufferObject | ( | MemoryUsage | pUsage, | |
DataType * | pData, | |||
int | pDataCount | |||
) | throw (CLException) |
iso::cl::BufferObject< DataType >::~BufferObject | ( | ) |
void iso::cl::BufferObject< DataType >::reset | ( | MemoryUsage | pUsage, | |
int | pDataCount | |||
) | throw (CLException) |
Reimplemented from iso::cl::MemoryObject.
void iso::cl::BufferObject< DataType >::reset | ( | MemoryUsage | pUsage, | |
DataType * | pData, | |||
int | pDataCount | |||
) | throw (CLException) |
DataType * iso::cl::BufferObject< DataType >::data | ( | ) |
const DataType * iso::cl::BufferObject< DataType >::data | ( | ) | const |
void iso::cl::BufferObject< DataType >::setData | ( | DataType * | pData | ) |
void iso::cl::BufferObject< DataType >::read | ( | Queue & | pQueue | ) | throw (CLException) [virtual] |
Implements iso::cl::MemoryObject.
void iso::cl::BufferObject< DataType >::write | ( | Queue & | pQueue | ) | throw (CLException) [virtual] |
Implements iso::cl::MemoryObject.
void iso::cl::BufferObject< DataType >::read | ( | Queue & | pQueue, | |
DataType * | pData | |||
) | throw (CLException) |
void iso::cl::BufferObject< DataType >::write | ( | Queue & | pQueue, | |
DataType * | pData | |||
) | throw (CLException) |
DataType* iso::cl::BufferObject< DataType >::mData [protected] |