mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 06:29:21 +01:00
added function to read depreciated commands
This commit is contained in:
@@ -74,6 +74,10 @@ std::vector<std::string> CmdProxy::GetProxyCommands() {
|
||||
return commands;
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> CmdProxy::GetDepreciatedCommands(){
|
||||
return depreciated_functions;
|
||||
}
|
||||
|
||||
void CmdProxy::WrongNumberOfParameters(size_t expected) {
|
||||
throw RuntimeError(
|
||||
"Command " + cmd + " expected <=" + std::to_string(expected) +
|
||||
|
||||
@@ -534,6 +534,7 @@ class CmdProxy {
|
||||
bool ReplaceIfDepreciated(std::string &command);
|
||||
size_t GetFunctionMapSize() const noexcept { return functions.size(); };
|
||||
std::vector<std::string> GetProxyCommands();
|
||||
std::map<std::string, std::string> GetDepreciatedCommands();
|
||||
|
||||
private:
|
||||
Detector *det;
|
||||
|
||||
Reference in New Issue
Block a user