Viskores  1.0
Classes | Namespaces | Macros
ExecutionObjectBase.h File Reference
#include <viskores/Types.h>
#include <viskores/cont/Token.h>
#include <viskores/cont/serial/internal/DeviceAdapterTagSerial.h>

Go to the source code of this file.

Classes

struct  viskores::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

 viskores
 Groups connected points that have the same field value.
 
 viskores::cont
 Viskores Control Environment.
 

Macros

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

Macro Definition Documentation

◆ VISKORES_IS_EXECUTION_OBJECT

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

Checks that the argument is a proper execution object.