FACT++  1.0
template<class T , class S >
int StateMachineWeather< T, S >::SetVerbosity ( const EventImp evt)
inlineprivate

Definition at line 452 of file tngweather.cc.

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

453  {
454  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 1))
455  return T::kSM_FatalError;
456 
457  fWeather.SetVerbose(evt.GetBool());
458 
459  return T::GetCurrentState();
460  }
bool CheckEventSize(size_t has, const char *name, size_t size)
bool GetBool() const
Definition: EventImp.h:90
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: