Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
b
c
d
e
h
i
l
m
n
p
r
s
u
x
Typedefs
b
c
d
e
f
g
i
m
p
r
u
v
Enumerations
Enumerator
a
b
f
g
i
m
n
r
s
u
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
m
n
p
q
r
s
t
u
v
x
Enumerations
a
c
d
e
f
k
l
m
p
r
s
t
v
w
Enumerator
a
b
d
f
g
h
i
l
m
n
o
p
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
b
c
d
e
f
g
m
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
w
Typedefs
Enumerations
Enumerator
Macros
_
d
f
i
m
n
p
s
t
u
shared
depthai-shared
3rdparty
nanorpc
core
type.h
Go to the documentation of this file.
1
//-------------------------------------------------------------------
2
// Nano RPC
3
// https://github.com/tdv/nanorpc
4
// Created: 05.2018
5
// Copyright (C) 2018 tdv
6
//-------------------------------------------------------------------
7
8
#ifndef __NANO_RPC_CORE_TYPE_H__
9
#define __NANO_RPC_CORE_TYPE_H__
10
11
// STD
12
#include <cstdint>
13
#include <functional>
14
#include <map>
15
#include <stdexcept>
16
#include <string>
17
#include <vector>
18
19
namespace
nanorpc
20
{
21
namespace
core
22
{
23
namespace
type
24
{
25
26
27
using
id
= std::uint64_t;
28
using
buffer
= std::vector<std::uint8_t>;
29
using
executor
= std::function<
buffer
(
buffer
)>;
30
using
executor_map
= std::map<std::string, executor>;
31
using
error_handler
= std::function<void (std::exception_ptr)>;
32
33
34
}
// namespace type
35
}
// namespace core
36
}
// namespace nanorpc
37
38
39
#endif // !__NANO_RPC_CORE_TYPE_H__
nanorpc
Definition:
client.h:30
nanorpc::core::type::error_handler
std::function< void(std::exception_ptr)> error_handler
Definition:
type.h:31
nanorpc::core::type::buffer
std::vector< std::uint8_t > buffer
Definition:
type.h:28
nanorpc::core::type::executor
std::function< buffer(buffer)> executor
Definition:
type.h:29
nanorpc::core::detail::pack::meta::type
type
Definition:
pack_meta.h:26
nanorpc::core::type::executor_map
std::map< std::string, executor > executor_map
Definition:
type.h:30
depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19