string_loopback.h
Go to the documentation of this file.
1 //
2 // Created by nakakura on 22/08/31.
3 //
4 
5 #ifndef SKYWAY_PLUGIN_STRING_LOOPBACK_H
6 #define SKYWAY_PLUGIN_STRING_LOOPBACK_H
7 
8 #include <skyway/skyway_plugin.h>
9 
10 namespace string_loopback {
12  private:
13  std::shared_ptr<std::function<void(std::string)>> callback_;
14 
15  public:
17  virtual void Initialize(
18  std::shared_ptr<rapidjson::Document> parameter,
19  std::shared_ptr<std::function<void(std::string)>> callback) override;
20  virtual void Execute(std::string data) override;
21  virtual void Shutdown() override;
22 };
23 }; // namespace string_loopback
24 
25 #endif // SKYWAY_PLUGIN_STRING_LOOPBACK_H
virtual void Execute(std::string data) override
std::shared_ptr< std::function< void(std::string)> > callback_
virtual void Shutdown() override
virtual void Initialize(std::shared_ptr< rapidjson::Document > parameter, std::shared_ptr< std::function< void(std::string)>> callback) override


skyway
Author(s): Toshiya Nakakura
autogenerated on Sat Apr 15 2023 02:08:21