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 
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 
Base class that encapsulates common behavior of backend engines.
Definition: engine.hpp:70
#define HEBERROR_DECLARE_CLASS_NAME(class_name)