aboutsummaryrefslogtreecommitdiffstats
path: root/vbench/src/vbench/vbench/generator.h
blob: 527e03f24c5d1b98b413e45f4c0f50670a1eecc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vbench/core/taintable.h>
#include <vespa/vespalib/util/runnable.h>
#include <memory>

namespace vbench {

struct Generator : public vespalib::Runnable,
                   public Taintable
{
    typedef std::unique_ptr<Generator> UP;
    virtual void abort() = 0;
    virtual ~Generator() {}
};

} // namespace vbench