mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
clang-format
This commit is contained in:
@ -1,12 +1,11 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include "sls_detector_defs.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
struct SingleDetectorConfig {
|
||||
slsDetectorDefs::detectorType type_enum = slsDetectorDefs::detectorType::EIGER;
|
||||
slsDetectorDefs::detectorType type_enum =
|
||||
slsDetectorDefs::detectorType::EIGER;
|
||||
const std::string hostname = "beb031+beb032+";
|
||||
const std::string type_string = "Eiger";
|
||||
const std::string my_ip = "129.129.205.171";
|
||||
|
||||
};
|
||||
|
@ -12,5 +12,4 @@ extern std::string my_ip;
|
||||
extern decltype(defs::GET_ACTION) GET;
|
||||
extern decltype(defs::PUT_ACTION) PUT;
|
||||
|
||||
|
||||
} // namespace test
|
||||
|
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
enum class func_id{read_data, read_int, read_half_data, combined};
|
||||
enum class func_id { read_data, read_int, read_half_data, combined };
|
||||
constexpr size_t MB = 1048576;
|
||||
constexpr size_t DATA_SIZE = 50*MB;
|
||||
constexpr size_t DATA_SIZE = 50 * MB;
|
@ -39,7 +39,7 @@ void read_int(Interface &socket) {
|
||||
std::cout << "Read <int>: " << i << "\n";
|
||||
}
|
||||
|
||||
void read_combined(Interface &socket){
|
||||
void read_combined(Interface &socket) {
|
||||
auto i = socket.Receive<int>();
|
||||
auto d = socket.Receive<double>();
|
||||
auto f = socket.Receive<float>();
|
||||
|
Reference in New Issue
Block a user