SRS-control 0.1.4
Loading...
Searching...
No Matches
srs Namespace Reference

Namespaces

namespace  workflow
namespace  connection
namespace  internal
namespace  config
namespace  process
namespace  fec
namespace  vmm
namespace  reader
namespace  common
namespace  writer
namespace  test

Classes

class  App
 The primary interface class of SRS-Control. More...
struct  ReceiveDataHeader
struct  MarkerData
struct  HitData
struct  StructData
class  Config
 Main configuration struct. More...
struct  HybridDevice
struct  I2CDevice
struct  UDPSocket
class  ValidData

Concepts

concept  Deserializer
concept  StreamableOutput
concept  StreamableDeserializer
concept  RangedData
concept  OutputCompatible
concept  OutputTo

Typedefs

using ProtoMsgReader = reader::ProtoMsg
using RawFrameReader = reader::RawFrame
using io_context_type = asio::thread_pool
using io_executor_type = asio::any_io_executor
using BufferElementType = char
using BinaryData = std::vector<BufferElementType>
template<int buffer_size = common::SMALL_READ_MSG_BUFFER_SIZE>
using ReadBufferType = std::array<BufferElementType, buffer_size>
using CommunicateEntryType = uint32_t

Enumerations

enum class  DataWriterOption : uint8_t {
  no_output = 0x00 , root = 0x01 , json = 0x02 , bin = 0x04 ,
  udp = 0x10
}

Functions

void reset_struct_data (StructData &struct_data)
auto get_filetype_from_filename (std::string_view filename) -> std::tuple< DataWriterOption, process::DataConvertOptions >

Variables

constexpr auto VMM_TAG_BIT_LENGTH = 3

Typedef Documentation

◆ BinaryData

using srs::BinaryData = std::vector<BufferElementType>

Definition at line 18 of file CommonAlias.hpp.

◆ BufferElementType

using srs::BufferElementType = char

Definition at line 17 of file CommonAlias.hpp.

◆ CommunicateEntryType

using srs::CommunicateEntryType = uint32_t

Definition at line 23 of file CommonAlias.hpp.

◆ io_context_type

using srs::io_context_type = asio::thread_pool

Definition at line 14 of file CommonAlias.hpp.

◆ io_executor_type

using srs::io_executor_type = asio::any_io_executor

Definition at line 15 of file CommonAlias.hpp.

◆ ProtoMsgReader

Definition at line 9 of file srs.hpp.

◆ RawFrameReader

Definition at line 10 of file srs.hpp.

◆ ReadBufferType

template<int buffer_size = common::SMALL_READ_MSG_BUFFER_SIZE>
using srs::ReadBufferType = std::array<BufferElementType, buffer_size>

Definition at line 21 of file CommonAlias.hpp.

Enumeration Type Documentation

◆ DataWriterOption

enum class srs::DataWriterOption : uint8_t
strong
Enumerator
no_output 
root 
json 
bin 
udp 

Definition at line 13 of file DataWriterOptions.hpp.

Function Documentation

◆ get_filetype_from_filename()

auto srs::get_filetype_from_filename ( std::string_view filename) ->std::tuple< DataWriterOption, process::DataConvertOptions >
inline

Definition at line 22 of file DataWriterOptions.hpp.

◆ reset_struct_data()

void srs::reset_struct_data ( StructData & struct_data)
inline

Definition at line 59 of file SRSDataStructs.hpp.

Variable Documentation

◆ VMM_TAG_BIT_LENGTH

auto srs::VMM_TAG_BIT_LENGTH = 3
constexpr

Definition at line 13 of file SRSDataStructs.hpp.