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

Definition at line 402 of file gpsctrl.cc.

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

Referenced by StateMachineGPSControl< T, S >::StateMachineGPSControl().

403  {
404  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 1))
405  return T::kSM_FatalError;
406 
407  fGPS.SetVerbose(evt.GetBool());
408 
409  return T::GetCurrentState();
410  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: gpsctrl.cc:365
bool GetBool() const
Definition: EventImp.h:90
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function:

+ Here is the caller graph for this function: