Base class for all user worklets invoked in the execution environment from a call to viskores::cont::DeviceAdapterAlgorithm::Schedule.
More...
#include <FunctorBase.h>
Base class for all user worklets invoked in the execution environment from a call to viskores::cont::DeviceAdapterAlgorithm::Schedule.
This class contains a public method named RaiseError that can be called in the execution environment to signal a problem.
◆ FunctorBase()
viskores::exec::FunctorBase::FunctorBase |
( |
| ) |
|
|
inline |
◆ RaiseError()
void viskores::exec::FunctorBase::RaiseError |
( |
const char * |
message | ) |
const |
|
inline |
◆ SetErrorMessageBuffer()
void viskores::exec::FunctorBase::SetErrorMessageBuffer |
( |
const viskores::exec::internal::ErrorMessageBuffer & |
buffer | ) |
|
|
inline |
Set the error message buffer so that running algorithms can report errors.
This is supposed to be set by the dispatcher. This method may be replaced as the execution semantics change.
◆ ErrorMessage
viskores::exec::internal::ErrorMessageBuffer viskores::exec::FunctorBase::ErrorMessage |
|
private |
The documentation for this class was generated from the following file: