srs-control 0.2.2
Loading...
Searching...
No Matches
Configuration.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <cstddef>
5#include <string>
6#include <vector>
7
8namespace srs
9{
81} // namespace srs
static constexpr int FEC_CONTROL_LOCAL_PORT
Default value of the listening port number used for the FEC communications.
constexpr auto DEFAULT_DATA_QUEUE_SIZE
const auto FEC_DAQ_RECEIVE_PORT
DataPrintMode
Print mode of the status line.
@ print_speed
Print the data reading rate.
constexpr auto DEFAULT_SRS_IP
constexpr auto LARGE_READ_MSG_BUFFER_SIZE
size of the data array for reading a UDP package
constexpr auto DEFAULT_SRS_CONTROL_PORT
Main configuration struct.
std::vector< std::string > output_filenames
Output file names.
std::vector< std::string > remote_fec_ips
Remote IP addresses of FECs.
std::size_t time_wait_after_acq_off_ms
time (milliseconds) to wait after turning off the srs and before stopping data reading
std::vector< int > fec_data_receive_ports
The port number of the local network that is used for reading the data stream from FECs.
bool show_thread_id
Show thread ID from console printouts.
std::size_t buffer_queue_capacity
Capacity of the buffer queue.
std::size_t output_split
Number of splits from the input data to multiple outputs.
int fec_control_local_port
The port number of the local network that is used for the communication to FECs.
bool warn_if_data_drop
Enable warnings when possible data drop occurs.
common::DataPrintMode data_print_mode
Set print mode.
bool enable_frame_counter_check
Enable frame counter checking to detect frame drop.
std::size_t data_buffer_size
The size of data buffer to store the incoming UDP frames.
int fec_control_remote_port
The port number of the remote network that is used for the communication to FECs.