FACT++  1.0
template<class T>
int StateMachineFAD< T >::PhaseShift ( const EventImp evt)
inlineprivate

Definition at line 740 of file fadctrl.cc.

References EventImp::GetShort(), EventImp::GetSize(), and i.

Referenced by StateMachineFAD< T >::StateMachineFAD().

741  {
742  if (!CheckEventSize(evt.GetSize(), "PhaseShift", 2))
743  return T::kSM_FatalError;
744 
745  for (BoardList::iterator i=fBoards.begin(); i!=fBoards.end(); i++)
746  i->second->CmdPhaseShift(evt.GetShort());
747 
748  return T::GetCurrentState();
749  }
BoardList fBoards
Definition: fadctrl.cc:555
int i
Definition: db_dim_client.c:21
int16_t GetShort() const
Definition: EventImp.h:91
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: fadctrl.cc:562
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: