VTK-m  2.2
Public Member Functions | Private Attributes | List of all members
vtkm::exec::FunctorBase Class Reference

Base class for all user worklets invoked in the execution environment from a call to vtkm::cont::DeviceAdapterAlgorithm::Schedule. More...

#include <FunctorBase.h>

Inheritance diagram for vtkm::exec::FunctorBase:
vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagCuda >::BitFieldToUnorderedSetFunctor vtkm::cont::DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagCuda >::CountSetBitsFunctor vtkm::worklet::WorkletMapField vtkm::worklet::WorkletNeighborhood vtkm::worklet::WorkletReduceByKey vtkm::worklet::WorkletMapTopology< VisitTopology, IncidentTopology > vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > vtkm::rendering::Triangulator::IndicesSort vtkm::rendering::Triangulator::InterleaveArrays12 vtkm::rendering::Triangulator::InterleaveArrays2 vtkm::rendering::Triangulator::UniqueTriangles vtkm::worklet::FieldStatistics< FieldType >::CalculatePowers vtkm::worklet::FieldStatistics< FieldType >::SubtractConst vtkm::worklet::KernelSplatterFilterUniformGrid< Kernel, DeviceAdapter >::ComputeLocalNeighborId vtkm::worklet::KernelSplatterFilterUniformGrid< Kernel, DeviceAdapter >::GetFootprint vtkm::worklet::KernelSplatterFilterUniformGrid< Kernel, DeviceAdapter >::GetSplatValue vtkm::worklet::KernelSplatterFilterUniformGrid< Kernel, DeviceAdapter >::UpdateVoxelSplats vtkm::worklet::KernelSplatterFilterUniformGrid< Kernel, DeviceAdapter >::zero_voxel vtkm::worklet::Normal vtkm::worklet::Normalize vtkm::worklet::streamline::MakeStreamLines< FieldType > vtkm::worklet::TriangleWinding::WorkletWindToCellNormals vtkm::worklet::WorkletCellNeighborhood vtkm::worklet::WorkletPointNeighborhood vtkm::worklet::AverageByKey::AverageWorklet

Public Member Functions

 FunctorBase ()
 
void RaiseError (const char *message) const
 
void SetErrorMessageBuffer (const vtkm::exec::internal::ErrorMessageBuffer &buffer)
 Set the error message buffer so that running algorithms can report errors. More...
 

Private Attributes

vtkm::exec::internal::ErrorMessageBuffer ErrorMessage
 

Detailed Description

Base class for all user worklets invoked in the execution environment from a call to vtkm::cont::DeviceAdapterAlgorithm::Schedule.

This class contains a public method named RaiseError that can be called in the execution environment to signal a problem.

Constructor & Destructor Documentation

◆ FunctorBase()

vtkm::exec::FunctorBase::FunctorBase ( )
inline

Member Function Documentation

◆ RaiseError()

void vtkm::exec::FunctorBase::RaiseError ( const char *  message) const
inline

◆ SetErrorMessageBuffer()

void vtkm::exec::FunctorBase::SetErrorMessageBuffer ( const vtkm::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.

Member Data Documentation

◆ ErrorMessage

vtkm::exec::internal::ErrorMessageBuffer vtkm::exec::FunctorBase::ErrorMessage
private

The documentation for this class was generated from the following file: