YPC
0.2.0
include
hpda
common
processor_with_output.h
1
#pragma once
2
#include <hpda/common/common.h>
3
#include <hpda/engine/functor.h>
4
5
namespace
hpda {
6
namespace
internal {
7
8
template
<
typename
OutputObjType>
9
class
processor_with_output
:
virtual
public
functor
{
10
public
:
11
typedef
OutputObjType output_type;
12
virtual
~
processor_with_output
() {}
13
virtual
OutputObjType output_value() = 0;
14
};
15
16
}
// namespace internal
17
template
<
typename
... ARGS>
18
using
processor_with_output
=
19
internal::processor_with_output
<ntobject<ARGS...>>;
20
template
<
typename
T>
21
using
processor_with_output_t
=
internal::processor_with_output<T>
;
22
}
// namespace hpda
hpda::internal::processor_with_output
Definition:
processor_with_output.h:9
hpda::functor
Definition:
functor.h:7
Generated by
1.8.17