Base class for dispatcher registry entry. More...
#include <KokkosDispatcher.h>
Public Member Functions | |
| virtual | ~DispatcherRegistryEntryBase () |
| virtual std::unique_ptr< DispatcherBase > | build (const void *object) const =0 |
| Build a dispatcher for this operation and functor. More... | |
| void | hasUserMethod (bool flag) |
| Set whether the user has overriden the hook method associated with this operation. More... | |
| bool | hasUserMethod () const |
| Get whether the user has overriden the hook method associated with this operation. More... | |
Private Attributes | |
| bool | _has_user_method = false |
| Flag whether the user has overriden the hook method associated with this operation. More... | |
Base class for dispatcher registry entry.
Used for type erasure so that the registry can hold dispatchers for different functor types in a single container.
Definition at line 98 of file KokkosDispatcher.h.
|
inlinevirtual |
Definition at line 101 of file KokkosDispatcher.h.
|
pure virtual |
Build a dispatcher for this operation and functor.
| object | The pointer to the functor |
Implemented in Moose::Kokkos::DispatcherRegistryEntry< Operation, Object >.
|
inline |
Set whether the user has overriden the hook method associated with this operation.
| flag | Whether the user has overriden the hook method |
Definition at line 112 of file KokkosDispatcher.h.
|
inline |
Get whether the user has overriden the hook method associated with this operation.
Definition at line 117 of file KokkosDispatcher.h.
|
private |
Flag whether the user has overriden the hook method associated with this operation.
Definition at line 123 of file KokkosDispatcher.h.
Referenced by hasUserMethod().
1.8.14