srs-control
0.2.2
Toggle main menu visibility
Loading...
Searching...
No Matches
CommonAlias.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
srs/utils/CommonDefinitions.hpp
"
4
#include <array>
5
#include <asio/any_io_executor.hpp>
6
#include <asio/thread_pool.hpp>
7
#include <cstdint>
8
#include <vector>
9
10
namespace
srs
11
{
12
using
io_context_type
= asio::thread_pool;
13
using
io_executor_type
= asio::any_io_executor;
14
15
using
BufferElementType
= char;
16
using
BinaryData
= std::vector<BufferElementType>;
17
18
template
<
int
buffer_size = common::SMALL_READ_MSG_BUFFER_SIZE>
19
using
ReadBufferType
= std::array<BufferElementType, buffer_size>;
20
21
using
CommunicateEntryType
= uint32_t;
22
}
// namespace srs
CommonDefinitions.hpp
srs
Definition
Application.cpp:45
srs::io_executor_type
asio::any_io_executor io_executor_type
Definition
CommonAlias.hpp:13
srs::BufferElementType
char BufferElementType
Definition
CommonAlias.hpp:15
srs::BinaryData
std::vector< BufferElementType > BinaryData
Definition
CommonAlias.hpp:16
srs::CommunicateEntryType
uint32_t CommunicateEntryType
Definition
CommonAlias.hpp:21
srs::io_context_type
asio::thread_pool io_context_type
Definition
CommonAlias.hpp:12
srs::ReadBufferType
std::array< BufferElementType, buffer_size > ReadBufferType
Definition
CommonAlias.hpp:19
backend
srs
utils
CommonAlias.hpp
Impressum
Datenschutzerklärung
Generated by
1.17.0