iso::cl::MemoryObject Class Reference

#include <iso_cl_memory_object.h>

Inherited by iso::cl::BufferObject< DataType >, and iso::cl::ImageObject< DataType >.

Inheritance diagram for iso::cl::MemoryObject:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MemoryObject (MemoryUsage pUsage, int pDataCount)
 ~MemoryObject ()
bool initialized () const
void reset (MemoryUsage pUsage, int pDataCount)
MemoryUsage usage () const
int dataCount () const
cl_mem & memory ()
virtual void read (Queue &pQueue)=0 throw (CLException)
virtual void write (Queue &pQueue)=0 throw (CLException)

Protected Attributes

MemoryUsage mUsage
int mDataCount
cl_mem mMemory

Friends

class Program
class Queue

Constructor & Destructor Documentation

MemoryObject::MemoryObject ( MemoryUsage  pUsage,
int  pDataCount 
)

MemoryObject::~MemoryObject (  ) 


Member Function Documentation

bool iso::cl::MemoryObject::initialized (  )  const [inline]

void MemoryObject::reset ( MemoryUsage  pUsage,
int  pDataCount 
)

Reimplemented in iso::cl::BufferObject< DataType >.

MemoryUsage MemoryObject::usage (  )  const

int MemoryObject::dataCount (  )  const

cl_mem & MemoryObject::memory (  ) 

virtual void iso::cl::MemoryObject::read ( Queue pQueue  )  throw (CLException) [pure virtual]

Implemented in iso::cl::BufferObject< DataType >, and iso::cl::ImageObject< DataType >.

virtual void iso::cl::MemoryObject::write ( Queue pQueue  )  throw (CLException) [pure virtual]

Implemented in iso::cl::BufferObject< DataType >, and iso::cl::ImageObject< DataType >.


Friends And Related Function Documentation

friend class Program [friend]

friend class Queue [friend]


Member Data Documentation

MemoryUsage iso::cl::MemoryObject::mUsage [protected]

int iso::cl::MemoryObject::mDataCount [protected]

cl_mem iso::cl::MemoryObject::mMemory [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 13:51:14 2011 for iso_cl by  doxygen 1.5.1