Viskores
1.0
viskores
source
Source.h
Go to the documentation of this file.
1
//============================================================================
2
// The contents of this file are covered by the Viskores license. See
3
// LICENSE.txt for details.
4
//
5
// By contributing to this file, all contributors agree to the Developer
6
// Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7
//============================================================================
8
9
//============================================================================
10
// Copyright (c) Kitware, Inc.
11
// All rights reserved.
12
// See LICENSE.txt for details.
13
//
14
// This software is distributed WITHOUT ANY WARRANTY; without even
15
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16
// PURPOSE. See the above copyright notice for more information.
17
//============================================================================
18
19
#ifndef viskores_source_Source_h
20
#define viskores_source_Source_h
21
22
#include <
viskores/cont/DataSet.h
>
23
#include <
viskores/cont/Invoker.h
>
24
#include <
viskores/source/viskores_source_export.h
>
25
26
namespace
viskores
27
{
28
namespace
source
29
{
30
31
class
VISKORES_SOURCE_EXPORT
Source
32
{
33
public
:
34
VISKORES_CONT
35
virtual
~
Source
() =
default
;
36
37
viskores::cont::DataSet
Execute
()
const
{
return
this->DoExecute(); }
38
39
protected
:
40
virtual
viskores::cont::DataSet
DoExecute()
const
= 0;
41
42
viskores::cont::Invoker
Invoke
;
43
};
44
45
}
// namespace source
46
}
// namespace viskores
47
48
#endif // viskores_source_Source_h
viskores::cont::DataSet
Contains and manages the geometric data structures that Viskores operates on.
Definition:
DataSet.h:66
viskores::source::Source::Execute
viskores::cont::DataSet Execute() const
Definition:
Source.h:37
Invoker.h
viskores::source::Source
Definition:
Source.h:31
VISKORES_CONT
#define VISKORES_CONT
Definition:
ExportMacros.h:65
viskores
Groups connected points that have the same field value.
Definition:
Atomic.h:27
viskores::source::Source::Invoke
viskores::cont::Invoker Invoke
Definition:
Source.h:42
viskores_source_export.h
viskores::cont::Invoker
Allows launching any worklet without a dispatcher.
Definition:
Invoker.h:49
DataSet.h
Generated by
1.8.17