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

Definition at line 2157 of file drivectrl.cc.

References Error(), EventImp::GetSize(), and EventImp::Ptr().

2158  {
2159  if (evt.GetSize()==0)
2160  {
2161  ostringstream msg;
2162  msg << "TrackOn - Source name missing.";
2163  T::Error(msg);
2164  return T::GetCurrentState();
2165  }
2166 
2167  return StartTrackWobble(evt.Ptr<char>(), evt.GetSize());
2168  }
int StartTrackWobble(const char *ptr, size_t size, const double &offset=0, const double &angle=0)
Definition: cosyctrl.cc:1045
Error()
Definition: HeadersFTM.h:197
const T * Ptr(size_t offset=0) const
Definition: EventImp.h:74
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: