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

Go to the source code of this file.

Classes

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...
 

Namespaces

 vtkm
 Groups connected points that have the same field value.
 
 vtkm::cont
 VTK-m Control Environment.
 

Macros

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

Macro Definition Documentation

◆ VTKM_IS_EXECUTION_OBJECT

#define VTKM_IS_EXECUTION_OBJECT (   execObject)
Value:
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, \
"Provided type does not have requisite PrepareForExecution method.")

Checks that the argument is a proper execution object.