SRS-control 0.1.4
 
Loading...
Searching...
No Matches
CommonAlias.hpp
Go to the documentation of this file.
1#pragma once
2#include <boost/asio/thread_pool.hpp>
4#include <vector>
5
6namespace srs
7{
11
12 namespace asio = boost::asio;
13
14 using io_context_type = asio::thread_pool;
15
16 using BufferElementType = char;
17 using BinaryData = std::vector<BufferElementType>;
18
19 template <int buffer_size = common::SMALL_READ_MSG_BUFFER_SIZE>
20 using ReadBufferType = std::array<BufferElementType, buffer_size>;
21
22 using CommunicateEntryType = uint32_t;
23
25} // namespace srs
char BufferElementType
std::vector< BufferElementType > BinaryData
uint32_t CommunicateEntryType
asio::thread_pool io_context_type
std::array< BufferElementType, buffer_size > ReadBufferType