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
binary_loopback.h
Go to the documentation of this file.
1
//
2
// Created by nakakura on 22/08/29.
3
//
4
5
#ifndef SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H
6
#define SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H
7
8
#include <
skyway/skyway_plugin.h
>
9
10
namespace
binary_loopback
{
11
class
BinaryLoopback
:
public
skyway_plugin::SkyWayBinaryPlugin
{
12
private
:
13
std::shared_ptr<std::function<void(std::vector<uint8_t>)>>
callback_
;
14
15
public
:
16
BinaryLoopback
();
17
virtual
~BinaryLoopback
()
override
;
18
virtual
void
Initialize
(
19
std::shared_ptr<rapidjson::Document> parameter,
20
std::shared_ptr<std::function<
void
(std::vector<uint8_t>)>> callback)
21
override
;
22
virtual
void
Execute
(std::vector<uint8_t> data)
override
;
23
virtual
void
Shutdown
()
override
;
24
};
25
};
// namespace binary_loopback
26
27
#endif // SKYWAY_PLUGIN_LOOPBACK_BINARY_PLUGIN_H
binary_loopback::BinaryLoopback::callback_
std::shared_ptr< std::function< void(std::vector< uint8_t >)> > callback_
Definition:
binary_loopback.h:13
binary_loopback::BinaryLoopback::~BinaryLoopback
virtual ~BinaryLoopback() override
Definition:
binary_loopback.cpp:13
binary_loopback::BinaryLoopback::BinaryLoopback
BinaryLoopback()
Definition:
binary_loopback.cpp:9
skyway_plugin::SkyWayBinaryPlugin
Definition:
skyway_plugin.h:18
binary_loopback::BinaryLoopback::Shutdown
virtual void Shutdown() override
Definition:
binary_loopback.cpp:27
binary_loopback::BinaryLoopback
Definition:
binary_loopback.h:11
skyway_plugin.h
binary_loopback::BinaryLoopback::Initialize
virtual void Initialize(std::shared_ptr< rapidjson::Document > parameter, std::shared_ptr< std::function< void(std::vector< uint8_t >)>> callback) override
Definition:
binary_loopback.cpp:17
binary_loopback
Definition:
binary_loopback.h:10
binary_loopback::BinaryLoopback::Execute
virtual void Execute(std::vector< uint8_t > data) override
Definition:
binary_loopback.cpp:23
skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21