VTK-m  1.6
Classes | Namespaces | Macros
ExecutionObjectBase.h File Reference
#include <vtkm/Deprecated.h>
#include <vtkm/Types.h>
#include <vtkm/cont/Token.h>
#include <vtkm/cont/serial/internal/DeviceAdapterTagSerial.h>

Go to the source code of this file.


struct  vtkm::cont::ExecutionObjectBase
 Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary object as a parameter in an execution environment function. More...


 VTK-m Control Environment.


#define VTKM_IS_EXECUTION_OBJECT(execObject)
 Checks that the argument is a proper execution object. More...

Macro Definition Documentation


#define VTKM_IS_EXECUTION_OBJECT (   execObject)
static_assert(::vtkm::cont::internal::IsExecutionObjectBase<execObject>::value, \
"Provided type is not a subclass of vtkm::cont::ExecutionObjectBase."); \
static_assert(::vtkm::cont::internal::HasPrepareForExecution<execObject>::value || \
::vtkm::cont::internal::HasPrepareForExecutionDeprecated<execObject>::value, \
"Provided type does not have requisite PrepareForExecution method.")

Checks that the argument is a proper execution object.