Interface ClearCLMemInterface
-
- All Superinterfaces:
net.haesleinhuepf.clij.coremem.interfaces.SizedInBytes
- All Known Subinterfaces:
ClearCLImageInterface
- All Known Implementing Classes:
ClearCLBuffer,ClearCLHostImageBuffer,ClearCLImage,ClearCLMemBase
public interface ClearCLMemInterface extends net.haesleinhuepf.clij.coremem.interfaces.SizedInBytesInterface for all mem objects- Author:
- royer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddListener(ClearCLMemChangeListener pListener)Adds listener to this mem object.ClearCLContextgetContext()Returns ClearCL context associated to this OpenCL mem object.HostAccessTypegetHostAccessType()Returns host access typeKernelAccessTypegetKernelAccessType()Returns kernel access type of this buffer.MemAllocModegetMemAllocMode()Returns memory allocation modevoidnotifyListenersOfChange(ClearCLQueue pQueue)Calling this method notifies listeners that the contents of this OpenCL object might have changed.
-
-
-
Method Detail
-
addListener
void addListener(ClearCLMemChangeListener pListener)
Adds listener to this mem object.- Parameters:
pListener- listener
-
notifyListenersOfChange
void notifyListenersOfChange(ClearCLQueue pQueue)
Calling this method notifies listeners that the contents of this OpenCL object might have changed.- Parameters:
pQueue- ?
-
getContext
ClearCLContext getContext()
Returns ClearCL context associated to this OpenCL mem object.- Returns:
- context
-
getMemAllocMode
MemAllocMode getMemAllocMode()
Returns memory allocation mode- Returns:
- memory allocation mode
-
getHostAccessType
HostAccessType getHostAccessType()
Returns host access type- Returns:
- host acess type
-
getKernelAccessType
KernelAccessType getKernelAccessType()
Returns kernel access type of this buffer.- Returns:
- kernel access type
-
-