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

Definition at line 1140 of file cosyctrl.cc.

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

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

1141  {
1142  if (!CheckEventSize(evt.GetSize(), "SetAutoResume", 1))
1143  return T::kSM_FatalError;
1144 
1145  fAutoResume = evt.GetBool();
1146 
1147  return T::GetCurrentState();
1148  }
bool GetBool() const
Definition: EventImp.h:90
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:

+ Here is the caller graph for this function: