FACT++  1.0
int StateMachineRateControl::SetTargetRate ( const EventImp evt)
inlineprivate

Definition at line 692 of file ratecontrol.cc.

References EventImp::GetFloat().

Referenced by StateMachineRateControl().

693  {
694  if (!CheckEventSize(evt, 4))
695  return kSM_FatalError;
696 
697  fTargetRate = evt.GetFloat();
698 
699  return GetCurrentState();
700  }
float GetFloat() const
Definition: EventImp.h:97
int GetCurrentState() const
return the current state of the machine
Fatal error: stop program.
bool CheckEventSize(const EventImp &evt, size_t size)
Definition: ratecontrol.cc:84

+ Here is the call graph for this function:

+ Here is the caller graph for this function: