OpenMM
|
A KernelImpl defines the internal implementation of a Kernel object. More...
#include <KernelImpl.h>
Public Member Functions | |
KernelImpl (std::string name, const Platform &platform) | |
Create a KernelImpl. | |
virtual | ~KernelImpl () |
std::string | getName () const |
Get the name of this kernel. | |
const Platform & | getPlatform () |
Get the Platform that created this KernelImpl. | |
Friends | |
class | Kernel |
A KernelImpl defines the internal implementation of a Kernel object.
A subclass will typically declare an abstract execute() method which defines the API for executing the kernel. Other classes will in turn subclass it and provide concrete implementations of the execute() method.
KernelImpl | ( | std::string | name, |
const Platform & | platform | ||
) |
Create a KernelImpl.
name | the name of the kernel to create |
platform | the Platform that created this kernel |
|
inlinevirtual |
std::string getName | ( | ) | const |
Get the name of this kernel.
Referenced by Kernel::getName().
const Platform & getPlatform | ( | ) |
Get the Platform that created this KernelImpl.
|
friend |