FACT++  1.0
template<typename T >
T EventImp::Get ( size_t  offset = 0) const
inline

Definition at line 66 of file EventImp.h.

References GetSize(), and GetText().

Referenced by StateMachineRateScan::ChangeMaximum(), StateMachineRateScan::ChangeStepSize(), StateMachineFTM< T, S >::EnableFTU(), StateMachineBias< T, S >::ExpertSetChannelDac(), StateMachineBias< T, S >::ExpertSetChannelVolt(), StateMachineRateControl::HandleCalibratedCurrents(), StateMachineFeedback::HandleCameraTemp(), StateMachineSmartFACT::HandleDrivePointing(), StateMachineSmartFACT::HandleDriveTracking(), StateMachineSmartFACT::HandleFadEvents(), StateMachineSmartFACT::HandleFadStartRun(), StateMachineSmartFACT::HandleFscBiasTemp(), StateMachineSmartFACT::HandleMcpConfiguration(), StateMachineSmartFACT::HandleRateControlThreshold(), StateMachineSmartFACT::HandleRateScanData(), StateMachineFAD< T >::PrintEvent(), StateMachineDrive< T, S >::RequestSdo(), StateMachineDrive< T, S >::SendSdo(), StateMachineFAD< T >::SetBlockTransmission(), StateMachineFAD< T >::SetBlockTransmissionRange(), StateMachineBias< T, S >::SetChannelDac(), StateMachineBias< T, S >::SetChannelVolt(), StateMachineFAD< T >::SetIgnoreSlot(), StateMachineFAD< T >::SetIgnoreSlots(), StateMachineBias< T, S >::SetUpdateInterval(), StateMachineFAD< T >::StartConfigure(), StateMachineRateScan::StartRateScan(), StateMachineMCP::StartRun(), StateMachineDrive< T, S >::TakeTPoint(), StateMachineDrive< T, S >::Track(), StateMachineDrive< T, S >::TrackOrbit(), and StateMachineDrive< T, S >::TrackSource().

67  {
68  if (offset>=GetSize())
69  throw std::logic_error("EventImp::Get - offset out of range.");
70  return *reinterpret_cast<const T*>(GetText()+offset);
71  }
const char * GetText() const
Definition: EventImp.h:88
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: