mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer
This commit is contained in:
commit
aca2dd645c
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
mkdir $PREFIX/lib
|
mkdir $PREFIX/lib
|
||||||
mkdir $PREFIX/bin
|
mkdir $PREFIX/bin
|
||||||
mkdir $PREFIX/include
|
mkdir -p $PREFIX/include/sls
|
||||||
mkdir $PREFIX/include/slsDetectorPackage
|
# mkdir $PREFIX/include/slsDetectorPackage
|
||||||
|
|
||||||
#Shared and static libraries
|
#Shared and static libraries
|
||||||
# cp build/bin/libSlsDetector.so $PREFIX/lib/.
|
# cp build/bin/libSlsDetector.so $PREFIX/lib/.
|
||||||
@ -20,5 +20,5 @@ cp build/install/bin/slsReceiver $PREFIX/bin/.
|
|||||||
cp build/install/bin/slsMultiReceiver $PREFIX/bin/.
|
cp build/install/bin/slsMultiReceiver $PREFIX/bin/.
|
||||||
|
|
||||||
|
|
||||||
cp build/install/include/* $PREFIX/include/
|
cp build/install/include/sls/* $PREFIX/include/sls
|
||||||
cp -r build/install/share/ $PREFIX/share
|
cp -r build/install/share/ $PREFIX/share
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
#include "ctbAcquisition.h"
|
#include "ctbAcquisition.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "ctbMain.h"
|
#include "ctbMain.h"
|
||||||
#include "moench03CtbData.h"
|
#include "moench03CtbData.h"
|
||||||
//#include "moench03TCtbData.h"
|
//#include "moench03TCtbData.h"
|
||||||
@ -43,7 +43,7 @@
|
|||||||
#include "moench04CtbZmqData.h"
|
#include "moench04CtbZmqData.h"
|
||||||
#include "moench04CtbZmq10GbData.h"
|
#include "moench04CtbZmq10GbData.h"
|
||||||
#include "deserializer.h"
|
#include "deserializer.h"
|
||||||
#include "detectorData.h"
|
#include "sls/detectorData.h"
|
||||||
#include "imageZmq16bit.h"
|
#include "imageZmq16bit.h"
|
||||||
#include "imageZmq32bit.h"
|
#include "imageZmq32bit.h"
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "ctbAdcs.h"
|
#include "ctbAdcs.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
#include "ctbDacs.h"
|
#include "ctbDacs.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
//#include "sls_detector_exceptions.h"
|
//#include "sls/sls_detector_exceptions.h"
|
||||||
//#include "ansi.h"
|
//#include "sls/ansi.h"
|
||||||
#define RED "\x1b[31m"
|
#define RED "\x1b[31m"
|
||||||
#define RESET "\x1b[0m"
|
#define RESET "\x1b[0m"
|
||||||
#define BOLD "\x1b[1m"
|
#define BOLD "\x1b[1m"
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
//#include "sls_receiver_defs.h"
|
//#include "sls_receiver_defs.h"
|
||||||
#include "ctbMain.h"
|
#include "ctbMain.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "ctbMain.h"
|
#include "ctbMain.h"
|
||||||
#include "ctbDacs.h"
|
#include "ctbDacs.h"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "ctbPattern.h"
|
#include "ctbPattern.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "ctbDacs.h"
|
#include "ctbDacs.h"
|
||||||
#include "ctbPowers.h"
|
#include "ctbPowers.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include "ctbSignals.h"
|
#include "ctbSignals.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
|
|
||||||
#include "ctbSlowAdcs.h"
|
#include "ctbSlowAdcs.h"
|
||||||
#include "ctbDefs.h"
|
#include "ctbDefs.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ manually when invoking g++. This can sometimes be handy for a quick try.
|
|||||||
|
|
||||||
.. code-block:: cpp
|
.. code-block:: cpp
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
int main(){
|
int main(){
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ Running a config file [e1]
|
|||||||
|
|
||||||
.. code-block:: cpp
|
.. code-block:: cpp
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
...
|
...
|
||||||
sls::Detector det;
|
sls::Detector det;
|
||||||
det.loadConfig("path/to/config/file.config");
|
det.loadConfig("path/to/config/file.config");
|
||||||
@ -105,7 +105,7 @@ as converting to floating point.
|
|||||||
|
|
||||||
.. code-block:: cpp
|
.. code-block:: cpp
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
...
|
...
|
||||||
std::chrono::microseconds t0{500};
|
std::chrono::microseconds t0{500};
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "CmdProxy.h"
|
#include "CmdProxy.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
std::string replace_all(const std::string &src, const std::string &from,
|
std::string replace_all(const std::string &src, const std::string &from,
|
||||||
const std::string &to) {
|
const std::string &to) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "DetectorImpl.h"
|
#include "DetectorImpl.h"
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
#include "string_utils.h"
|
#include "sls/string_utils.h"
|
||||||
#include "tests/globals.h"
|
#include "tests/globals.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|
||||||
#include "ClientSocket.h"
|
#include "sls/ClientSocket.h"
|
||||||
#include "DetectorImpl.h"
|
#include "DetectorImpl.h"
|
||||||
#include "Module.h"
|
#include "Module.h"
|
||||||
#include "logger.h"
|
#include "sls/logger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include "Timer.h"
|
#include "sls/Timer.h"
|
||||||
#include "sls_detector_funcs.h"
|
#include "sls/sls_detector_funcs.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#define VERBOSE
|
#define VERBOSE
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "DetectorImpl.h"
|
#include "DetectorImpl.h"
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
#include "string_utils.h"
|
#include "sls/string_utils.h"
|
||||||
#include "tests/globals.h"
|
#include "tests/globals.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -6,13 +6,13 @@
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "typecaster.h"
|
#include "typecaster.h"
|
||||||
|
|
||||||
#include "TimeHelper.h"
|
#include "sls/TimeHelper.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "typecaster.h"
|
#include "typecaster.h"
|
||||||
|
|
||||||
#include "TimeHelper.h"
|
#include "sls/TimeHelper.h"
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
void init_enums(py::module &m) {
|
void init_enums(py::module &m) {
|
||||||
py::class_<slsDetectorDefs> Defs(m, "slsDetectorDefs");
|
py::class_<slsDetectorDefs> Defs(m, "slsDetectorDefs");
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
void init_enums(py::module &m) {
|
void init_enums(py::module &m) {
|
||||||
py::class_<slsDetectorDefs> Defs(m, "slsDetectorDefs");
|
py::class_<slsDetectorDefs> Defs(m, "slsDetectorDefs");
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "Result.h"
|
#include "sls/Result.h"
|
||||||
#include "mythenFileIO.h"
|
#include "mythenFileIO.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -9,7 +9,7 @@ classes.
|
|||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
namespace py = pybind11;
|
namespace py = pybind11;
|
||||||
using sls::IpAddr;
|
using sls::IpAddr;
|
||||||
using sls::MacAddr;
|
using sls::MacAddr;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <pybind11/pybind11.h>
|
#include <pybind11/pybind11.h>
|
||||||
#include "Result.h"
|
#include "sls/Result.h"
|
||||||
// Add type_typecaster to pybind for our wrapper type
|
// Add type_typecaster to pybind for our wrapper type
|
||||||
namespace pybind11 {
|
namespace pybind11 {
|
||||||
namespace detail {
|
namespace detail {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "Detector.h"
|
#include <sls/Detector.h>
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "TimeHelper.h"
|
#include "sls/TimeHelper.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
// std::ostream &operator<<(std::ostream &os, const std::chrono::nanoseconds &t) {
|
// std::ostream &operator<<(std::ostream &os, const std::chrono::nanoseconds &t) {
|
||||||
// os << t.count() << "ns";
|
// os << t.count() << "ns";
|
||||||
// return os;
|
// return os;
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "Result.h"
|
#include "sls/Result.h"
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "container_utils.h"
|
#include "sls/container_utils.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
std::chrono::nanoseconds to_nano(double val, const std::string &unit) {
|
std::chrono::nanoseconds to_nano(double val, const std::string &unit) {
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#include "UdpRxSocket.h"
|
#include "sls/UdpRxSocket.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
|
|
||||||
// Assume packages arrive in order
|
// Assume packages arrive in order
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** Examples on how to use Result<T> */
|
/** Examples on how to use Result<T> */
|
||||||
|
|
||||||
#include "Result.h"
|
#include "sls/Result.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "logger.h"
|
#include "sls/logger.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
int main() {
|
int main() {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
find_package(TIFF REQUIRED)
|
||||||
|
|
||||||
#Moench ZMQ
|
#Moench ZMQ
|
||||||
add_executable(moenchZmqProcess moenchZmqProcess.cpp ../tiffIO.cpp)
|
add_executable(moenchZmqProcess moenchZmqProcess.cpp ../tiffIO.cpp)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//#include "ansi.h"
|
//#include "sls/ansi.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
//#include "moench03T1ZmqData.h"
|
//#include "moench03T1ZmqData.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "single_photon_hit.h"
|
#include "single_photon_hit.h"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
//#include "ansi.h"
|
//#include "sls/ansi.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#define CORR
|
#define CORR
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
#define CM_ROWS 20
|
#define CM_ROWS 20
|
||||||
|
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "ZmqSocket.h"
|
#include "sls/ZmqSocket.h"
|
||||||
#ifndef RECT
|
#ifndef RECT
|
||||||
#ifndef MOENCH04
|
#ifndef MOENCH04
|
||||||
#include "moench03T1ZmqDataNew.h"
|
#include "moench03T1ZmqDataNew.h"
|
||||||
@ -39,7 +39,7 @@
|
|||||||
//#include "multiThreadedCountingDetector.h"
|
//#include "multiThreadedCountingDetector.h"
|
||||||
#include "multiThreadedInterpolatingDetector.h"
|
#include "multiThreadedInterpolatingDetector.h"
|
||||||
#include "etaInterpolationPosXY.h"
|
#include "etaInterpolationPosXY.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
#include "analogDetector.h"
|
#include "analogDetector.h"
|
||||||
#include "CircularFifo.h"
|
#include "sls/CircularFifo.h"
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "ui_form_dac.h"
|
#include "ui_form_dac.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "logger.h"
|
#include "sls/logger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <QAbstractButton>
|
#include <QAbstractButton>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include "ui_form_detectormain.h"
|
#include "ui_form_detectormain.h"
|
||||||
#include <QTabWidget>
|
#include <QTabWidget>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include "ui_form_plot.h"
|
#include "ui_form_plot.h"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_advanced.h"
|
#include "ui_form_tab_advanced.h"
|
||||||
|
|
||||||
class qDrawPlot;
|
class qDrawPlot;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_dataoutput.h"
|
#include "ui_form_tab_dataoutput.h"
|
||||||
|
|
||||||
class qTabDataOutput : public QWidget, private Ui::TabDataOutputObject {
|
class qTabDataOutput : public QWidget, private Ui::TabDataOutputObject {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_debugging.h"
|
#include "ui_form_tab_debugging.h"
|
||||||
|
|
||||||
class QTreeWidget;
|
class QTreeWidget;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "ui_form_tab_developer.h"
|
#include "ui_form_tab_developer.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_measurement.h"
|
#include "ui_form_tab_measurement.h"
|
||||||
|
|
||||||
class qDrawPlot;
|
class qDrawPlot;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_plot.h"
|
#include "ui_form_tab_plot.h"
|
||||||
|
|
||||||
class qDrawPlot;
|
class qDrawPlot;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Detector.h"
|
#include "sls/Detector.h"
|
||||||
#include "ui_form_tab_settings.h"
|
#include "ui_form_tab_settings.h"
|
||||||
|
|
||||||
class qTabSettings : public QWidget, private Ui::TabSettingsObject {
|
class qTabSettings : public QWidget, private Ui::TabSettingsObject {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define SLSQT1DPLOT_H
|
#define SLSQT1DPLOT_H
|
||||||
|
|
||||||
#include "SlsQt1DZoomer.h"
|
#include "SlsQt1DZoomer.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include <qwt_plot.h>
|
#include <qwt_plot.h>
|
||||||
#include <qwt_plot_curve.h>
|
#include <qwt_plot_curve.h>
|
||||||
#include <qwt_plot_marker.h>
|
#include <qwt_plot_marker.h>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* TODO! short description */
|
/* TODO! short description */
|
||||||
#include "SlsQt2DHist.h"
|
#include "SlsQt2DHist.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "SlsQt2DPlot.h"
|
#include "SlsQt2DPlot.h"
|
||||||
// #include "ansi.h"
|
// #include "sls/ansi.h"
|
||||||
|
|
||||||
#include <qlist.h>
|
#include <qlist.h>
|
||||||
#include <qprinter.h>
|
#include <qprinter.h>
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
#include "qTabPlot.h"
|
#include "qTabPlot.h"
|
||||||
#include "qTabSettings.h"
|
#include "qTabSettings.h"
|
||||||
|
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QPlastiqueStyle>
|
#include <QPlastiqueStyle>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include "qDrawPlot.h"
|
#include "qDrawPlot.h"
|
||||||
#include "SlsQt1DPlot.h"
|
#include "SlsQt1DPlot.h"
|
||||||
#include "SlsQt2DPlot.h"
|
#include "SlsQt2DPlot.h"
|
||||||
#include "detectorData.h"
|
#include "sls/detectorData.h"
|
||||||
#include "qCloneWidget.h"
|
#include "qCloneWidget.h"
|
||||||
|
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "detectorData.h"
|
#include "sls/detectorData.h"
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "qTabAdvanced.h"
|
#include "qTabAdvanced.h"
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include "qDrawPlot.h"
|
#include "qDrawPlot.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "qTabDebugging.h"
|
#include "qTabDebugging.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QGridLayout>
|
#include <QGridLayout>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "qTabMeasurement.h"
|
#include "qTabMeasurement.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include "qDrawPlot.h"
|
#include "qDrawPlot.h"
|
||||||
#include "string_utils.h"
|
#include "sls/string_utils.h"
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "qTabSettings.h"
|
#include "qTabSettings.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "qDefs.h"
|
#include "qDefs.h"
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "slsDetectorFunctionList.h"
|
#include "slsDetectorFunctionList.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include "AD7689.h" // slow adcs
|
#include "AD7689.h" // slow adcs
|
||||||
#include "ALTERA_PLL.h" // pll
|
#include "ALTERA_PLL.h" // pll
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "RegisterDefs.h"
|
#include "RegisterDefs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define MIN_REQRD_VRSN_T_RD_API 0x181130
|
#define MIN_REQRD_VRSN_T_RD_API 0x181130
|
||||||
#define REQRD_FRMWR_VRSN 0x201005
|
#define REQRD_FRMWR_VRSN 0x201005
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h> // File control definitions
|
#include <fcntl.h> // File control definitions
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#ifndef VIRTUAL
|
#ifndef VIRTUAL
|
||||||
#include "Beb.h"
|
#include "Beb.h"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define REQUIRED_FIRMWARE_VERSION (27)
|
#define REQUIRED_FIRMWARE_VERSION (27)
|
||||||
#define IDFILECOMMAND "more /home/root/executables/detid.txt"
|
#define IDFILECOMMAND "more /home/root/executables/detid.txt"
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
#include "communication_funcs_UDP.h"
|
#include "communication_funcs_UDP.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define REQRD_FRMWRE_VRSN (0x200925)
|
#define REQRD_FRMWRE_VRSN (0x200925)
|
||||||
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include "LTC2620.h" // dacs
|
#include "LTC2620.h" // dacs
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
/* Enums */
|
/* Enums */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "slsDetectorFunctionList.h"
|
#include "slsDetectorFunctionList.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include "ALTERA_PLL.h" // pll
|
#include "ALTERA_PLL.h" // pll
|
||||||
#include "LTC2620.h" // dacs
|
#include "LTC2620.h" // dacs
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "RegisterDefs.h"
|
#include "RegisterDefs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define MIN_REQRD_VRSN_T_RD_API 0x171220
|
#define MIN_REQRD_VRSN_T_RD_API 0x171220
|
||||||
#define REQRD_FRMWRE_VRSN_BOARD2 0x200724 // 1.0 pcb
|
#define REQRD_FRMWRE_VRSN_BOARD2 0x200724 // 1.0 pcb
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "slsDetectorFunctionList.h"
|
#include "slsDetectorFunctionList.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include "ALTERA_PLL.h" // pll
|
#include "ALTERA_PLL.h" // pll
|
||||||
#include "LTC2620.h" // dacs
|
#include "LTC2620.h" // dacs
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "RegisterDefs.h"
|
#include "RegisterDefs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define MIN_REQRD_VRSN_T_RD_API 0x180314
|
#define MIN_REQRD_VRSN_T_RD_API 0x180314
|
||||||
#define REQRD_FRMWR_VRSN 0x201005
|
#define REQRD_FRMWR_VRSN 0x201005
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
#ifdef VIRTUAL
|
#ifdef VIRTUAL
|
||||||
#include "communication_funcs_UDP.h"
|
#include "communication_funcs_UDP.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#define REQRD_FRMWRE_VRSN (0x200925)
|
#define REQRD_FRMWRE_VRSN (0x200925)
|
||||||
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
#define KERNEL_DATE_VRSN "Wed May 20 13:58:38 CEST 2020"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef COMMUNICATION_FUNCS_H
|
#ifndef COMMUNICATION_FUNCS_H
|
||||||
#define COMMUNICATION_FUNCS_H
|
#define COMMUNICATION_FUNCS_H
|
||||||
|
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
typedef enum { INT16, INT32, INT64, OTHER } intType;
|
typedef enum { INT16, INT32, INT64, OTHER } intType;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
void sharedMemory_print();
|
void sharedMemory_print();
|
||||||
int sharedMemory_create(int port);
|
int sharedMemory_create(int port);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "slsDetectorServer_defs.h" // DAC_INDEX, ADC_INDEX, also include RegisterDefs.h
|
#include "slsDetectorServer_defs.h" // DAC_INDEX, ADC_INDEX, also include RegisterDefs.h
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#ifdef GOTTHARDD
|
#ifdef GOTTHARDD
|
||||||
#include "AD9252.h" // old board compatibility
|
#include "AD9252.h" // old board compatibility
|
||||||
#include "clogger.h" // runState(enum TLogLevel)
|
#include "clogger.h" // runState(enum TLogLevel)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
enum numberMode { DEC, HEX };
|
enum numberMode { DEC, HEX };
|
||||||
#define GOODBYE (-200)
|
#define GOODBYE (-200)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#include "blackfin.h"
|
#include "blackfin.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
/* AD9257 ADC DEFINES */
|
/* AD9257 ADC DEFINES */
|
||||||
#define AD9257_ADC_NUMBITS (24)
|
#define AD9257_ADC_NUMBITS (24)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "ALTERA_PLL_CYCLONE10.h"
|
#include "ALTERA_PLL_CYCLONE10.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "nios.h"
|
#include "nios.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <unistd.h> // usleep
|
#include <unistd.h> // usleep
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "ASIC_Driver.h"
|
#include "ASIC_Driver.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "DAC6571.h"
|
#include "DAC6571.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include "LTC2620_Driver.h"
|
#include "LTC2620_Driver.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
#include "commonServerFunctions.h" // blackfin.h, ansi.h
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
/* MAX1932 HV DEFINES */
|
/* MAX1932 HV DEFINES */
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "UDPPacketHeaderGenerator.h"
|
#include "UDPPacketHeaderGenerator.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#include "blackfin.h"
|
#include "blackfin.h"
|
||||||
#include "RegisterDefs.h"
|
#include "RegisterDefs.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <fcntl.h> // open
|
#include <fcntl.h> // open
|
||||||
#include <sys/mman.h> // mmap
|
#include <sys/mman.h> // mmap
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#define _GNU_SOURCE // needed for strptime to be at the top
|
#define _GNU_SOURCE // needed for strptime to be at the top
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <libgen.h> // dirname
|
#include <libgen.h> // dirname
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#include "communication_funcs_UDP.h"
|
#include "communication_funcs_UDP.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "nios.h"
|
#include "nios.h"
|
||||||
#include "RegisterDefs.h"
|
#include "RegisterDefs.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <fcntl.h> // open
|
#include <fcntl.h> // open
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "programFpgaBlackfin.h"
|
#include "programFpgaBlackfin.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "slsDetectorServer_defs.h"
|
#include "slsDetectorServer_defs.h"
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#include "programFpgaNios.h"
|
#include "programFpgaNios.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "slsDetectorServer_defs.h"
|
#include "slsDetectorServer_defs.h"
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#include "readDefaultPattern.h"
|
#include "readDefaultPattern.h"
|
||||||
#include "ansi.h"
|
#include "sls/ansi.h"
|
||||||
#include "clogger.h"
|
#include "clogger.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "slsDetectorServer_defs.h"
|
#include "slsDetectorServer_defs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "slsDetectorServer_defs.h"
|
#include "slsDetectorServer_defs.h"
|
||||||
#include "slsDetectorServer_funcs.h"
|
#include "slsDetectorServer_funcs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "versionAPI.h"
|
#include "sls/versionAPI.h"
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
#include "communication_funcs.h"
|
#include "communication_funcs.h"
|
||||||
#include "sharedMemory.h"
|
#include "sharedMemory.h"
|
||||||
#include "slsDetectorFunctionList.h"
|
#include "slsDetectorFunctionList.h"
|
||||||
#include "sls_detector_funcs.h"
|
#include "sls/sls_detector_funcs.h"
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
@ -38,9 +38,9 @@ target_link_libraries(slsDetectorShared
|
|||||||
|
|
||||||
|
|
||||||
set(PUBLICHEADERS
|
set(PUBLICHEADERS
|
||||||
include/detectorData.h
|
include/sls/detectorData.h
|
||||||
include/Detector.h
|
include/sls/Detector.h
|
||||||
include/Result.h
|
include/sls/Result.h
|
||||||
)
|
)
|
||||||
set_target_properties(slsDetectorShared PROPERTIES
|
set_target_properties(slsDetectorShared PROPERTIES
|
||||||
LIBRARY_OUTPUT_NAME SlsDetector
|
LIBRARY_OUTPUT_NAME SlsDetector
|
||||||
@ -94,5 +94,5 @@ install(TARGETS slsDetectorShared
|
|||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/sls
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Result.h"
|
#include "sls/Result.h"
|
||||||
#include "network_utils.h"
|
#include "sls/network_utils.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <memory>
|
#include <memory>
|
@ -13,8 +13,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "container_utils.h"
|
#include "sls/container_utils.h"
|
||||||
|
|
||||||
namespace sls {
|
namespace sls {
|
||||||
|
|
@ -5,11 +5,12 @@ This file is used to generate the command line binaries
|
|||||||
we get the different files.
|
we get the different files.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
#include "sls/Detector.h"
|
||||||
|
|
||||||
#include "CmdParser.h"
|
#include "CmdParser.h"
|
||||||
#include "CmdProxy.h"
|
#include "CmdProxy.h"
|
||||||
#include "Detector.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/versionAPI.h"
|
||||||
#include "versionAPI.h"
|
|
||||||
#include <cstring> //strcmp
|
#include <cstring> //strcmp
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
#include "CmdParser.h"
|
#include "CmdParser.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
#include "CmdProxy.h"
|
#include "CmdProxy.h"
|
||||||
#include "HelpDacs.h"
|
#include "HelpDacs.h"
|
||||||
#include "TimeHelper.h"
|
#include "sls/TimeHelper.h"
|
||||||
#include "ToString.h"
|
#include "sls/ToString.h"
|
||||||
#include "bit_utils.h"
|
#include "sls/bit_utils.h"
|
||||||
#include "container_utils.h"
|
#include "sls/container_utils.h"
|
||||||
#include "logger.h"
|
#include "sls/logger.h"
|
||||||
#include "sls_detector_defs.h"
|
#include "sls/sls_detector_defs.h"
|
||||||
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user