2064 msg <<
"TrackWobble - Received event has " << evt.
GetSize() <<
" bytes, but expected at least 3.";
2066 return T::kSM_FatalError;
2072 msg <<
"TrackWobble - Source name missing.";
2074 return T::GetCurrentState();
2077 const uint16_t wobble = evt.
GetUShort();
2078 if (wobble!=1 && wobble!=2)
2081 msg <<
"TrackWobble - Wobble id " << wobble <<
" undefined, only 1 and 2 allowed.";
2083 return T::GetCurrentState();
2086 const char *ptr = evt.
Ptr<
char>(2);
2087 const char *last = ptr+evt.
GetSize()-2;
2093 const Source &src = it->second;
2096 catch (
const uint32_t &e)
array< double, 2 > angles
uint16_t GetUShort() const
int StartTracking(const Source &src, double offset, double angle, double period=0)
const T * Ptr(size_t offset=0) const
const sources::const_iterator GetSourceFromDB(const char *ptr, const char *last)
virtual size_t GetSize() const