239 const string fType = evt.
Ptr<
char>(12);
241 auto it =
fTypes.find(fType);
244 Info(
"StartRateScan - Type '"+fType+
"' not found... trying 'default'.");
246 it =
fTypes.find(
"default");
249 Error(
"StartRateScan - Type 'default' not found.");
259 const int32_t step = evt.
Get<int32_t>(8);
272 Message(
"Configuration for ratescan started.");
int GetCurrentState() const
return the current state of the machine
map< string, config > fTypes
int Error(const std::string &str)
void SendCommandNB(const std::string &command)
int Info(const std::string &str)
int Message(const std::string &str)
T Get(size_t offset=0) const
const T * Ptr(size_t offset=0) const