FACT++  1.0
template<class T , class S >
int StateMachineFTM< T, S >::Enable ( const EventImp evt,
FTM::StaticData::GeneralSettings  type 
)
inlineprivate

Definition at line 1888 of file ftmctrl.cc.

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

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

1889  {
1890  if (!CheckEventSize(evt.GetSize(), "Enable", 1))
1891  return T::kSM_FatalError;
1892 
1893  fFTM.Enable(type, evt.GetBool());
1894 
1895  return T::GetCurrentState();
1896  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: ftmctrl.cc:1467
int type
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: