FACT++  1.0
template<class T>
int StateMachineFAD< T >::CmdEnable ( const EventImp evt,
FAD::Enable  command 
)
inlineprivate

Definition at line 623 of file fadctrl.cc.

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

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

624  {
625  if (!CheckEventSize(evt.GetSize(), "CmdEnable", 1))
626  return T::kSM_FatalError;
627 
628  for (BoardList::iterator i=fBoards.begin(); i!=fBoards.end(); i++)
629  i->second->Cmd(command, evt.GetBool());
630 
631  return T::GetCurrentState();
632  }
BoardList fBoards
Definition: fadctrl.cc:555
int i
Definition: db_dim_client.c:21
bool GetBool() const
Definition: EventImp.h:90
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: