HEBench
generic_wl_engine.h
Go to the documentation of this file.
1
2
// Copyright (C) 2021 Intel Corporation
3
// SPDX-License-Identifier: Apache-2.0
4
5
#pragma once
6
8
9
#include "
hebench/api_bridge/cpp/hebench.hpp
"
10
11
#define HEBENCH_HE_SCHEME_PLAIN 0
12
#define HEBENCH_HE_SECURITY_NONE 0
13
14
class
ExampleEngine :
public
hebench::cpp::BaseEngine
15
{
16
public
:
17
HEBERROR_DECLARE_CLASS_NAME
(ExampleEngine)
18
19
public
:
20
static
ExampleEngine *create();
21
static
void
destroy(ExampleEngine *p);
22
23
~ExampleEngine()
override
;
24
25
protected
:
26
ExampleEngine();
27
28
void
init()
override
;
29
};
30
hebench::cpp::BaseEngine
Base class that encapsulates common behavior of backend engines.
Definition:
engine.hpp:70
HEBERROR_DECLARE_CLASS_NAME
#define HEBERROR_DECLARE_CLASS_NAME(class_name)
Definition:
error_handling.hpp:14
hebench.hpp
docsrc
examples
generic_wl_example
generic_wl_tutorial
include
generic_wl_engine.h
Generated by
1.9.1