Viskores  1.0
Classes | Namespaces | Macros
ExecutionAndControlObjectBase.h File Reference
#include <viskores/cont/ExecutionObjectBase.h>

Go to the source code of this file.

Classes

struct  viskores::cont::ExecutionAndControlObjectBase
 Base ExecutionAndControlObjectBase class. More...
 

Namespaces

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

Macros

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

Macro Definition Documentation

◆ VISKORES_IS_EXECUTION_AND_CONTROL_OBJECT

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

Checks that the argument is a proper execution object.