FACT++  1.0
template<class T , class S >
int StateMachineFTM< T, S >::EnableLP ( const EventImp evt,
FTM::StaticData::GeneralSettings  lp,
FTM::StaticData::LightPulserEnable  group 
)
inlineprivate

Definition at line 1866 of file ftmctrl.cc.

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

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

1867  {
1868  if (!CheckEventSize(evt.GetSize(), "EnableLP", 1))
1869  return T::kSM_FatalError;
1870 
1871  if (!fFTM.EnableLP(lp, group, evt.GetBool()))
1872  T::Warn("EnableLP - Invalid light pulser id.");
1873 
1874  return T::GetCurrentState();
1875  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: ftmctrl.cc:1467
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: