test
test_plugin_base.h
Go to the documentation of this file.
1
26
#ifndef TESSERACT_COMMON_TEST_PLUGIN_BASE_H
27
#define TESSERACT_COMMON_TEST_PLUGIN_BASE_H
28
29
#include <string>
30
#include <boost_plugin_loader/fwd.h>
31
32
namespace
tesseract_common
33
{
34
class
TestPluginBase
35
{
36
public
:
37
TestPluginBase
() =
default
;
38
virtual
~TestPluginBase
() =
default
;
39
TestPluginBase
(
const
TestPluginBase
&) =
default
;
40
TestPluginBase
&
operator=
(
const
TestPluginBase
&) =
default
;
41
TestPluginBase
(
TestPluginBase
&&) =
default
;
42
TestPluginBase
&
operator=
(
TestPluginBase
&&) =
default
;
43
virtual
double
multiply
(
double
x,
double
y) = 0;
44
45
static
std::string
getSection
() {
return
"TestBase"
; }
46
47
protected
:
48
friend
class
boost_plugin_loader::PluginLoader
;
49
};
50
51
}
// namespace tesseract_common
52
53
#endif // TESSERACT_COMMON_TEST_PLUGIN_BASE_H
tesseract_common
Definition:
allowed_collision_matrix.h:19
tesseract_common::TestPluginBase::operator=
TestPluginBase & operator=(const TestPluginBase &)=default
tesseract_common::TestPluginBase::getSection
static std::string getSection()
Definition:
test_plugin_base.h:45
tesseract_common::TestPluginBase::PluginLoader
friend class boost_plugin_loader::PluginLoader
Definition:
test_plugin_base.h:48
tesseract_common::TestPluginBase::multiply
virtual double multiply(double x, double y)=0
tesseract_common::TestPluginBase::~TestPluginBase
virtual ~TestPluginBase()=default
tesseract_common::TestPluginBase::TestPluginBase
TestPluginBase()=default
tesseract_common::TestPluginBase
Definition:
test_plugin_base.h:34
tesseract_common
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:01:40