5 #ifndef SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H 6 #define SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H 13 std::shared_ptr<std::function<void(std::vector<uint8_t>)>>
callback_;
19 std::shared_ptr<rapidjson::Document> parameter,
20 std::shared_ptr<std::function<
void(std::vector<uint8_t>)>> callback)
22 virtual void Execute(std::vector<uint8_t> data)
override;
27 #endif // SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H virtual void Execute(std::vector< uint8_t > data) override
virtual ~BinaryLoopback() override
virtual void Initialize(std::shared_ptr< rapidjson::Document > parameter, std::shared_ptr< std::function< void(std::vector< uint8_t >)>> callback) override
std::shared_ptr< std::function< void(std::vector< uint8_t >)> > callback_
virtual void Shutdown() override