VTK-m  2.0
ErrorFilterExecution.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_cont_ErrorFilterExecution_h
11 #define vtk_m_cont_ErrorFilterExecution_h
12 
13 #include <vtkm/cont/Error.h>
14 
15 namespace vtkm
16 {
17 namespace cont
18 {
19 
21 
28 {
29 public:
30  ErrorFilterExecution(const std::string& message)
31  : Error(message, /*is_device_independent=*/true)
32  {
33  }
34 };
35 
37 }
38 } // namespace vtkm::cont
39 
40 #endif
VTKM_SILENCE_WEAK_VTABLE_WARNING_START
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START
Definition: ExportMacros.h:119
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::ErrorFilterExecution::ErrorFilterExecution
ErrorFilterExecution(const std::string &message)
Definition: ErrorFilterExecution.h:30
VTKM_SILENCE_WEAK_VTABLE_WARNING_END
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END
Definition: ExportMacros.h:120
vtkm::cont::ErrorFilterExecution
This class is primarily intended to filters to throw in the control environment to indicate an execut...
Definition: ErrorFilterExecution.h:27
vtkm::cont::Error
The superclass of all exceptions thrown by any VTKm function or method.
Definition: Error.h:33
Error.h
VTKM_ALWAYS_EXPORT
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92