This commit is contained in:
Erik Frojdh
2019-11-25 11:42:21 +01:00
parent 5b5e0f109b
commit eae1fb6609
5 changed files with 12 additions and 4688 deletions

View File

@ -1,3 +1,4 @@
#pragma once
#include "sls_detector_defs.h"
using dt = slsDetectorDefs::detectorType;
using di = slsDetectorDefs::dacIndex;
@ -8,4 +9,8 @@ extern std::string hostname;
extern std::string detector_type;
extern dt type;
extern std::string my_ip;
extern decltype(defs::GET_ACTION) GET;
extern decltype(defs::PUT_ACTION) PUT;
} // namespace test

View File

@ -18,6 +18,8 @@ std::string hostname;
std::string detector_type;
std::string my_ip;
dt type;
auto GET = slsDetectorDefs::GET_ACTION;
auto PUT = slsDetectorDefs::PUT_ACTION;
} // namespace test
int main(int argc, char *argv[]) {