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

Definition at line 74 of file EventImp.h.

References GetSize(), and GetText().

Referenced by StateMachineSmartFACT::HandleAgilentData(), StateMachineFeedback::HandleBiasCurrent(), StateMachineSmartFACT::HandleBiasCurrent(), StateMachineFeedback::HandleBiasDac(), StateMachineFeedback::HandleBiasNom(), StateMachineFeedback::HandleBiasVoltage(), StateMachineSmartFACT::HandleBiasVoltage(), StateMachineRateControl::HandleCalibratedCurrents(), StateMachineFeedback::HandleCalibration(), StateMachineFeedback::HandleCameraTemp(), StateMachineSmartFACT::HandleDriveSource(), StateMachineMCP::HandleFadConnections(), StateMachineSmartFACT::HandleFadConnections(), StateMachineSmartFACT::HandleFadDrsRuns(), StateMachineSmartFACT::HandleFadEventData(), StateMachineSmartFACT::HandleFeedbackCalibratedCurrents(), StateMachineSmartFACT::HandleFscBiasTemp(), StateMachineSmartFACT::HandleFscHumidity(), StateMachineSmartFACT::HandleFscTemperature(), StateMachineSmartFACT::HandleMagicWeatherData(), StateMachineSmartFACT::HandleMcpConfiguration(), StateMachineSmartFACT::HandleRateScanData(), StateMachineSmartFACT::HandleTemperatureData(), StateMachineDrive< T, S >::HandleTPoint(), StateMachineDrive< T, S >::HandleWeatherData(), StateMachineDrive< T, S >::MoveTo(), StateMachineDrive< T, S >::Orbit(), StateMachineFAD< T >::SendCmdData(), StateMachineDrive< T, S >::SendCoordinates(), StateMachineBias< T, S >::SetAllChannelsDac(), StateMachineBias< T, S >::SetAllChannelsVolt(), StateMachineFTM< T, S >::SetAllThresholds(), StateMachineFAD< T >::SetBlockTransmissionRange(), StateMachineFTM< T, S >::SetClockRegister(), StateMachineFAD< T >::SetDac(), StateMachineFAD< T >::SetIgnoreSlots(), StateMachineDrive< T, S >::SetLedBrightness(), StateMachineFTM< T, S >::SetNoutof4(), StateMachineFAD< T >::SetRegister(), StateMachineFTM< T, S >::SetRegister(), StateMachineFAD< T >::SetRoi(), StateMachineFTM< T, S >::SetSelectedThresholds(), StateMachineFTM< T, S >::SetThreshold(), StateMachineFTM< T, S >::SetTriggerSeq(), StateMachineFAD< T >::StartConfigure(), StateMachineRateScan::StartRateScan(), StateMachineMCP::StartRun(), StateMachineDrive< T, S >::TakeTPoint(), StateMachineDrive< T, S >::Track(), StateMachineDrive< T, S >::TrackOn(), StateMachineDrive< T, S >::TrackOrbit(), StateMachineDrive< T, S >::TrackSource(), StateMachineDrive< T, S >::TrackWobble(), and StateMachineDrive< T, S >::Wobble().

75  {
76  if (offset>=GetSize())
77  throw std::logic_error("EventImp::Ptr - offset out of range.");
78  return reinterpret_cast<const T*>(GetText()+offset);
79  }
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: