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

Definition at line 2263 of file drivectrl.cc.

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

2264  {
2265  if (!CheckEventSize(evt.GetSize(), "SetVerbosity", 2))
2266  return T::kSM_FatalError;
2267 
2268  fDrive.SetVerbosity(evt.GetUShort());
2269 
2270  return T::GetCurrentState();
2271  }
uint16_t GetUShort() const
Definition: EventImp.h:92
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: cosyctrl.cc:804
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: