aboutsummaryrefslogtreecommitdiffstats
path: root/vbench/src/vbench/vbench/generator.h
blob: 88974551286072992e364d2c3df3be559978b938 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. 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
{
    using UP = std::unique_ptr<Generator>;
    virtual void abort() = 0;
    virtual ~Generator() {}
};

} // namespace vbench