Exposing vector of strings for loading parameters (#147)

This commit is contained in:
Erik Fröjdh
2020-08-27 16:17:56 +02:00
committed by GitHub
parent a1e06ca7a9
commit 7eafceb0f9
4 changed files with 29 additions and 20 deletions

View File

@ -53,6 +53,8 @@ class Detector {
/** Shared memory not freed prior. Set up per measurement. */
void loadParameters(const std::string &fname);
void loadParameters(const std::vector<std::string>& parameters);
Result<std::string> getHostname(Positions pos = {}) const;
/* Frees shared memory, adds detectors to the list */