Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties

Cloo.ComputeObject Class Reference

Represents an OpenCL object. More...

Inheritance diagram for Cloo.ComputeObject:
Cloo.ComputeDevice Cloo.ComputePlatform Cloo.ComputeResource Cloo.ComputeCommandQueue Cloo.ComputeContext Cloo.ComputeEvent Cloo.ComputeKernel Cloo.ComputeMemory Cloo.ComputeProgram Cloo.ComputeSampler Cloo.ComputeBuffer< T > Cloo.ComputeImage Cloo.ComputeImage2D Cloo.ComputeImage3D

List of all members.

Public Member Functions

override bool Equals (object obj)
 Checks if the ComputeObject is equal to a specified ComputeObject cast to an object.
bool Equals (ComputeObject obj)
 Checks if the ComputeObject is equal to a specified ComputeObject.
override int GetHashCode ()
 Gets the hash code of the ComputeObject.
override string ToString ()
 Gets the string representation of the ComputeObject.

Static Public Member Functions

static new bool Equals (object objA, object objB)
 Checks if two objects are equal. These objects must be cast from ComputeObjects.

Protected Member Functions

QueriedType[] GetArrayInfo< InfoType, QueriedType > (InfoType paramName, GetInfoDelegate< InfoType > getInfoDelegate)
QueriedType[] GetArrayInfo< InfoType, QueriedType > (ComputeObject secondaryObject, InfoType paramName, GetInfoDelegateEx< InfoType > getInfoDelegate)
bool GetBoolInfo< InfoType > (InfoType paramName, GetInfoDelegate< InfoType > getInfoDelegate)
QueriedType GetInfo< InfoType, QueriedType > (InfoType paramName, GetInfoDelegate< InfoType > getInfoDelegate)
QueriedType GetInfo< InfoType, QueriedType > (ComputeObject secondaryObject, InfoType paramName, GetInfoDelegateEx< InfoType > getInfoDelegate)
string GetStringInfo< InfoType > (InfoType paramName, GetInfoDelegate< InfoType > getInfoDelegate)
string GetStringInfo< InfoType > (ComputeObject secondaryObject, InfoType paramName, GetInfoDelegateEx< InfoType > getInfoDelegate)
unsafe delegate ComputeErrorCode GetInfoDelegate< InfoType > (IntPtr objectHandle, InfoType paramName, IntPtr paramValueSize, IntPtr paramValue, IntPtr *paramValueSizeRet)
unsafe delegate ComputeErrorCode GetInfoDelegateEx< InfoType > (IntPtr mainObjectHandle, IntPtr secondaryObjectHandle, InfoType paramName, IntPtr paramValueSize, IntPtr paramValue, IntPtr *paramValueSizeRet)

Properties

IntPtr Handle [get, set]
 Gets or sets (protected) the handle of the ComputeObject.

Detailed Description

Represents an OpenCL object.

For the purposes of Cloo an OpenCL object is an object that is identified by its handle in the OpenCL environment.


Member Function Documentation

static new bool Cloo.ComputeObject.Equals ( object  objA,
object  objB 
) [static]

Checks if two objects are equal. These objects must be cast from ComputeObjects.

Parameters:
objA The first object to compare.
objB The second object to compare.
Returns:
true if the objects are equal otherwise false.
override bool Cloo.ComputeObject.Equals ( object  obj  ) 

Checks if the ComputeObject is equal to a specified ComputeObject cast to an object.

Parameters:
obj The specified object to compare the ComputeObject with.
Returns:
true if the ComputeObject is equal with obj otherwise false.
bool Cloo.ComputeObject.Equals ( ComputeObject  obj  ) 

Checks if the ComputeObject is equal to a specified ComputeObject.

Parameters:
obj The specified ComputeObject to compare the ComputeObject with.
Returns:
true if the ComputeObject is equal with obj otherwise false.
QueriedType [] Cloo.ComputeObject.GetArrayInfo< InfoType, QueriedType > ( InfoType  paramName,
GetInfoDelegate< InfoType >  getInfoDelegate 
) [protected]
QueriedType [] Cloo.ComputeObject.GetArrayInfo< InfoType, QueriedType > ( ComputeObject  secondaryObject,
InfoType  paramName,
GetInfoDelegateEx< InfoType >  getInfoDelegate 
) [protected]
bool Cloo.ComputeObject.GetBoolInfo< InfoType > ( InfoType  paramName,
GetInfoDelegate< InfoType >  getInfoDelegate 
) [protected]
override int Cloo.ComputeObject.GetHashCode (  ) 

Gets the hash code of the ComputeObject.

Returns:
The hash code of the ComputeObject.
QueriedType Cloo.ComputeObject.GetInfo< InfoType, QueriedType > ( InfoType  paramName,
GetInfoDelegate< InfoType >  getInfoDelegate 
) [protected]
Type Constraints
QueriedType :struct 
QueriedType Cloo.ComputeObject.GetInfo< InfoType, QueriedType > ( ComputeObject  secondaryObject,
InfoType  paramName,
GetInfoDelegateEx< InfoType >  getInfoDelegate 
) [protected]
Type Constraints
QueriedType :struct 
unsafe delegate ComputeErrorCode Cloo.ComputeObject.GetInfoDelegate< InfoType > ( IntPtr  objectHandle,
InfoType  paramName,
IntPtr  paramValueSize,
IntPtr  paramValue,
IntPtr *  paramValueSizeRet 
) [protected]
unsafe delegate ComputeErrorCode Cloo.ComputeObject.GetInfoDelegateEx< InfoType > ( IntPtr  mainObjectHandle,
IntPtr  secondaryObjectHandle,
InfoType  paramName,
IntPtr  paramValueSize,
IntPtr  paramValue,
IntPtr *  paramValueSizeRet 
) [protected]
string Cloo.ComputeObject.GetStringInfo< InfoType > ( ComputeObject  secondaryObject,
InfoType  paramName,
GetInfoDelegateEx< InfoType >  getInfoDelegate 
) [protected]
string Cloo.ComputeObject.GetStringInfo< InfoType > ( InfoType  paramName,
GetInfoDelegate< InfoType >  getInfoDelegate 
) [protected]
override string Cloo.ComputeObject.ToString (  ) 

Property Documentation

IntPtr Cloo.ComputeObject.Handle [get, set]

Gets or sets (protected) the handle of the ComputeObject.


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