Definition at line 2133 of file drivectrl.cc.
References Error(), EventImp::Get(), EventImp::GetSize(), and EventImp::Ptr().
Referenced by StateMachineDrive< T, S >::StateMachineDrive().
2138 msg <<
"TrackOn - Received event has " << evt.
GetSize() <<
" bytes, but expected at least 17.";
2140 return T::kSM_FatalError;
2146 msg <<
"TrackOn - Source name missing.";
2148 return T::GetCurrentState();
2151 const double offset = evt.
Get<
double>(0);
2152 const double angle = evt.
Get<
double>(8);
int StartTrackWobble(const char *ptr, size_t size, const double &offset=0, const double &angle=0)
T Get(size_t offset=0) const
const T * Ptr(size_t offset=0) const
virtual size_t GetSize() const