TestPlugin_plugin.cc
Go to the documentation of this file.
2 
4 
5 #include <memory>
6 
7 namespace cettest {
8  class TestPlugin;
9 }
10 
12 public:
14 };
15 
17  : TestPluginBase(std::move(message))
18 {}
19 
20 MAKE_PLUGIN_START(std::unique_ptr<cettest::TestPluginBase>, std::string message)
21 {
22  return std::make_unique<cettest::TestPlugin>(std::move(message));
23 }
25 
MAKE_PLUGIN_START(std::unique_ptr< cettest::TestPluginBase >, std::string message)
std::string string
Definition: nybbler.cc:12
STL namespace.
def move(depos, offset)
Definition: depos.py:107
#define MAKE_PLUGIN_END
std::string const & message() const
TestPlugin(std::string message)
#define DEFINE_BASIC_PLUGINTYPE_FUNC(base)