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

Definition at line 369 of file magiclidar.cc.

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

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

370  {
371  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 1))
372  return T::kSM_FatalError;
373 
374  fLidar.SetVerbose(evt.GetBool());
375 
376  return T::GetCurrentState();
377  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: magiclidar.cc:358
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: