FACT++  1.0
int StateMachineRateScan::ChangeStepSize ( const EventImp evt)
inlineprivate

Definition at line 380 of file ratescan.cc.

References EventImp::Get().

Referenced by StateMachineRateScan().

381  {
382  if (!CheckEventSize(evt, 4))
383  return kSM_FatalError;
384 
385  fThresholdStep = evt.Get<uint32_t>();
386 
387  ostringstream msg;
388  msg << "New step size " << fThresholdStep;
389  Info(msg);
390 
391  UpdateProc();
392 
393  return GetCurrentState();
394  }
int GetCurrentState() const
return the current state of the machine
Fatal error: stop program.
int Info(const std::string &str)
Definition: MessageImp.h:47
T Get(size_t offset=0) const
Definition: EventImp.h:66
bool CheckEventSize(const EventImp &evt, size_t size)
Definition: ratescan.cc:85

+ Here is the call graph for this function:

+ Here is the caller graph for this function: