srs-control 0.2.2
Loading...
Searching...
No Matches
srs Namespace Reference

Namespaces

namespace  common
namespace  config
namespace  connection
namespace  emulator
namespace  fec
namespace  internal
namespace  process
namespace  reader
namespace  sink
namespace  vmm
namespace  workflow

Classes

class  App
 The primary interface class of SRS-Control. More...
class  AppReport
class  BufferQueue
 Class to manage the production and consumption of LargeBuffer asynchronously. More...
class  Config
 Main configuration struct. More...
class  ExitLogger
struct  HitData
struct  HybridDevice
struct  I2CDevice
struct  is_map_type
struct  is_map_type< std::map< T, U > >
struct  is_optional_type
struct  is_optional_type< std::optional< T > >
struct  is_vector_type
struct  is_vector_type< std::vector< T > >
class  LargeBuffer
 Class for buffer for storing large data. More...
class  LogFile
struct  MarkerData
struct  ReceiveDataHeader
struct  remove_optional
struct  remove_optional< std::optional< T > >
struct  StructData
struct  UDPSocket
class  ValidData

Concepts

concept  Deserializer
concept  StreamableOutput
concept  StreamableDeserializer
concept  RangedData
concept  OutputCompatible
concept  OutputTo
concept  ConverterType
concept  SinkType

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
template<typename T>
using remove_optional_t = remove_optional<T>::type

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 16 of file CommonAlias.hpp.

◆ BufferElementType

using srs::BufferElementType = char

Definition at line 15 of file CommonAlias.hpp.

◆ CommunicateEntryType

using srs::CommunicateEntryType = uint32_t

Definition at line 21 of file CommonAlias.hpp.

◆ io_context_type

using srs::io_context_type = asio::thread_pool

Definition at line 12 of file CommonAlias.hpp.

◆ io_executor_type

using srs::io_executor_type = asio::any_io_executor

Definition at line 13 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 19 of file CommonAlias.hpp.

◆ remove_optional_t

template<typename T>
using srs::remove_optional_t = remove_optional<T>::type

Definition at line 95 of file CommonConcepts.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 71 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.