FACT++  1.0
int StateMachineFeedback::SetCurrentRequestInterval ( const EventImp evt)
inlineprivate

Definition at line 966 of file feedback.cc.

References EventImp::GetSize(), and EventImp::GetUShort().

967  {
968  if (!CheckEventSize(evt.GetSize(), "SetCurrentRequestInterval", 2))
969  return kSM_FatalError;
970 
972 
973  Info("New current request interval: "+to_string(fCurrentRequestInterval)+"ms");
974 
975  return GetCurrentState();
976  }
int GetCurrentState() const
return the current state of the machine
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: feedback.cc:103
Fatal error: stop program.
uint16_t GetUShort() const
Definition: EventImp.h:92
uint16_t fCurrentRequestInterval
Definition: feedback.cc:79
int Info(const std::string &str)
Definition: MessageImp.h:47
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: