Main Page
Namespaces
Namespace List
Namespace Members
All
c
d
e
f
g
l
m
p
r
s
Functions
Variables
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
~
Functions
_
a
b
c
d
e
i
j
m
o
p
r
s
t
u
~
Variables
_
b
c
d
e
f
h
i
j
l
m
n
p
r
s
t
Files
File List
File Members
All
b
c
d
e
g
i
j
l
m
p
r
s
t
v
w
Functions
c
d
g
i
j
l
m
p
r
s
t
w
Typedefs
include
skyway
json_loopback.h
Go to the documentation of this file.
1
//
2
// Created by nakakura on 2022/09/03.
3
//
4
5
#ifndef SKYWAY_PLUGIN_JSON_LOOPBACK_H
6
#define SKYWAY_PLUGIN_JSON_LOOPBACK_H
7
8
#include <
skyway/skyway_plugin.h
>
9
10
namespace
json_loopback
{
11
class
JsonLoopback
:
public
skyway_plugin::SkyWayJsonPlugin
{
12
private
:
13
std::shared_ptr<std::function<void(std::shared_ptr<rapidjson::Document>)>>
14
callback_
;
15
16
public
:
17
JsonLoopback
();
18
virtual
void
Initialize
(
19
std::shared_ptr<rapidjson::Document> parameter,
20
std::shared_ptr<std::function<
void
(std::shared_ptr<rapidjson::Document>)>>
21
callback)
override
;
22
virtual
void
Execute
(std::shared_ptr<rapidjson::Document> data)
override
;
23
virtual
void
Shutdown
()
override
;
24
};
25
};
// namespace json_loopback
26
27
#endif // SKYWAY_PLUGIN_JSON_LOOPBACK_H
json_loopback
Definition:
json_loopback.h:10
json_loopback::JsonLoopback::Shutdown
virtual void Shutdown() override
Definition:
json_loopback.cpp:25
json_loopback::JsonLoopback::Execute
virtual void Execute(std::shared_ptr< rapidjson::Document > data) override
Definition:
json_loopback.cpp:20
skyway_plugin.h
json_loopback::JsonLoopback
Definition:
json_loopback.h:11
json_loopback::JsonLoopback::Initialize
virtual void Initialize(std::shared_ptr< rapidjson::Document > parameter, std::shared_ptr< std::function< void(std::shared_ptr< rapidjson::Document >)>> callback) override
Definition:
json_loopback.cpp:13
json_loopback::JsonLoopback::callback_
std::shared_ptr< std::function< void(std::shared_ptr< rapidjson::Document >)> > callback_
Definition:
json_loopback.h:14
json_loopback::JsonLoopback::JsonLoopback
JsonLoopback()
Definition:
json_loopback.cpp:9
skyway_plugin::SkyWayJsonPlugin
Definition:
skyway_plugin.h:44
skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21