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

Definition at line 1788 of file biasctrl.cc.

References EventImp::Get(), EventImp::GetSize(), and EventImp::GetUShort().

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

1789  {
1790  if (!CheckEventSize(evt.GetSize(), "ExpertSetChannelVolt", 6))
1791  return false;
1792 
1793  fBias.ExpertChannelSetVolt(evt.GetUShort(), evt.Get<float>(2));
1794 
1795  return T::GetCurrentState();
1796  }
uint16_t GetUShort() const
Definition: EventImp.h:92
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: biasctrl.cc:1639
T Get(size_t offset=0) const
Definition: EventImp.h:66
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: