iso::cl::CL Class Reference

#include <iso_cl.h>

Collaboration diagram for iso::cl::CL:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int version ()
 obtain OpenCL version
cl_mem_flags convert (MemoryUsage pMemoryUsage)
cl_channel_order convert (ColorType pColorType)
ColorType convert (gl::ColorType pColorType)
cl_channel_type convert (DataType pDataType)
cl_channel_type convert (char pType)
cl_channel_type convert (unsigned char pType)
cl_channel_type convert (int pType)
cl_channel_type convert (unsigned int pType)
cl_channel_type convert (float pType)
DataType convert (gl::DataType pDataType)
template<typename Type>
cl_channel_type convert ()
template<typename DataType>
cl_image_format convert (ColorType pColorType)
cl_addressing_mode convert (PixelAddressMode pPixelAddressMode)
cl_filter_mode convert (PixelInterpolationMode pPixelInterpolationMode)
base::String errorToString (int pError)
 convert error number to string

Static Public Member Functions

static CLget ()
 return singleton instance
static void destroy ()
 destroy singleton instance

Protected Member Functions

 CL ()
 singleton instance
 ~CL ()
 destructor

Static Protected Attributes

static CLsCL

Constructor & Destructor Documentation

CL::CL (  )  [protected]

singleton instance

/brief default constructor

CL::~CL (  )  [protected]

destructor


Member Function Documentation

CL & CL::get (  )  [static]

return singleton instance

Returns:
singleton instance

void CL::destroy (  )  [static]

destroy singleton instance

int CL::version (  ) 

obtain OpenCL version

Returns:
version number

cl_mem_flags iso::cl::CL::convert ( MemoryUsage  pMemoryUsage  )  [inline]

cl_image_format iso::cl::CL::convert ( ColorType  pColorType  )  [inline]

ColorType iso::cl::CL::convert ( gl::ColorType  pColorType  )  [inline]

cl_channel_type iso::cl::CL::convert ( DataType  pDataType  )  [inline]

cl_channel_type iso::cl::CL::convert ( char  pType  )  [inline]

cl_channel_type iso::cl::CL::convert ( unsigned char  pType  )  [inline]

cl_channel_type iso::cl::CL::convert ( int  pType  )  [inline]

cl_channel_type iso::cl::CL::convert ( unsigned int  pType  )  [inline]

cl_channel_type iso::cl::CL::convert ( float  pType  )  [inline]

DataType iso::cl::CL::convert ( gl::DataType  pDataType  )  [inline]

template<typename Type>
cl_channel_type iso::cl::CL::convert (  ) 

template<typename DataType>
cl_image_format iso::cl::CL::convert ( ColorType  pColorType  ) 

cl_addressing_mode iso::cl::CL::convert ( PixelAddressMode  pPixelAddressMode  )  [inline]

cl_filter_mode iso::cl::CL::convert ( PixelInterpolationMode  pPixelInterpolationMode  )  [inline]

base::String CL::errorToString ( int  pError  ) 

convert error number to string

Parameters:
pError error number


Member Data Documentation

CL * CL::sCL [static, 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