|
srs-control 0.2.2
|
#include <chrono>#include <cstdint>#include <string_view>#include <vector>

Go to the source code of this file.
Classes | |
| struct | srs::common::MinMax< T > |
| Struct to store minimum and maximum values. More... | |
Namespaces | |
| namespace | srs |
| namespace | srs::common |
Typedefs | |
| using | srs::common::RawDelimSizeType = uint32_t |
Enumerations | |
| enum class | srs::common::DataPrintMode : uint8_t { srs::common::print_speed , srs::common::print_header , srs::common::print_raw , srs::common::print_all } |
| Print mode of the status line. More... | |
| enum class | srs::common::ActionMode : uint8_t { srs::common::all , srs::common::acq_on , srs::common::acq_off , srs::common::read_only , srs::common::none } |
Variables | |
| constexpr auto | srs::common::BYTE_BIT_LENGTH = 8 |
| constexpr auto | srs::common::DEFAULT_SRS_IP = std::string_view{ "10.0.0.2" } |
| constexpr auto | srs::common::DEFAULT_TIMEOUT_SECONDS = 2 |
| constexpr auto | srs::common::WRITE_COMMAND_BITS = uint8_t{ 0xaa } |
| constexpr auto | srs::common::DEFAULT_TYPE_BITS = uint8_t{ 0xaa } |
| constexpr auto | srs::common::DEFAULT_CHANNEL_ADDRE = uint16_t{ 0xff } |
| constexpr auto | srs::common::COMMAND_LENGTH_BITS = uint16_t{ 0xffff } |
| constexpr auto | srs::common::ZERO_UINT16_PADDING = uint16_t{} |
| constexpr auto | srs::common::SMALL_READ_MSG_BUFFER_SIZE = 96 |
| constexpr auto | srs::common::LARGE_READ_MSG_BUFFER_SIZE = 80'000 |
| size of the data array for reading a UDP package | |
| constexpr auto | srs::common::DEFAULT_CMD_LENGTH = uint16_t{ 0xffff } |
| constexpr auto | srs::common::CMD_TYPE = uint8_t{ 0xaa } |
| constexpr auto | srs::common::WRITE_CMD = uint8_t{ 0xaa } |
| constexpr auto | srs::common::READ_CMD = uint8_t{ 0xbb } |
| constexpr auto | srs::common::I2C_ADDRESS = uint16_t{ 0x0042 } |
| constexpr auto | srs::common::NULL_ADDRESS = uint16_t{ 0x000f } |
| constexpr auto | srs::common::INIT_COUNT_VALUE = uint32_t{ 0x80000000 } |
| constexpr auto | srs::common::DEFAULT_STATUS_WAITING_TIME_SECONDS = std::chrono::seconds{ 5 } |
| constexpr auto | srs::common::DEFAULT_SRS_CONTROL_PORT = 6600 |
| const auto | srs::common::FEC_DAQ_RECEIVE_PORT = std::vector<int>{ 6006 } |
| static constexpr int | srs::common::FEC_CONTROL_LOCAL_PORT = 6007 |
| Default value of the listening port number used for the FEC communications. | |
| constexpr auto | srs::common::DEFAULT_DISPLAY_PERIOD = std::chrono::milliseconds{ 200 } |
| constexpr auto | srs::common::DEFAULT_ROOT_HTTP_SERVER_PERIOD = std::chrono::milliseconds{ 1000 } |
| constexpr auto | srs::common::FEC_ID_BIT_LENGTH = 8 |
| constexpr auto | srs::common::HIT_DATA_BIT_LENGTH = 48 |
| constexpr auto | srs::common::SRS_TIMESTAMP_HIGH_BIT_LENGTH = 32U |
| constexpr auto | srs::common::SRS_TIMESTAMP_LOW_BIT_LENGTH = 10U |
| constexpr auto | srs::common::FLAG_BIT_POSITION = 15 |
| constexpr auto | srs::common::GZIP_DEFAULT_COMPRESSION_LEVEL = 9 |
| constexpr auto | srs::common::PROTOBUF_ENABLE_GZIP = true |
| constexpr auto | srs::common::DEFAULT_DATA_QUEUE_SIZE = 100 |
| constexpr auto | srs::common::DEFAULT_LOG_FILE = std::string_view{ "srs-control/srs-control.log" } |
| constexpr auto | srs::common::DEFAULT_CONFIG_FILE = std::string_view{ "srs-control/config.yaml" } |
| constexpr auto | srs::common::rotating_file_nums = 5 |
| constexpr auto | srs::common::file_max_size = 1048576 * 10 |
| file size limited to 10 MB. | |
| constexpr auto | srs::common::exit_logger_begin = std::string_view{ "------->>" } |
| constexpr auto | srs::common::exit_logger_end = std::string_view{ "<<-------" } |
| constexpr auto | srs::common::file_logger_new_instance_str |