FACT++  1.0
int DimVersion::Handler ( const EventImp evt)
inlineprivatevirtual

Reimplemented from DimState.

Definition at line 222 of file DimState.h.

References DimState::Callback(), DimState::cur, EventImp::GetInt(), EventImp::GetSize(), DimState::HandlerImp(), and DimState::kOffline.

223  {
224  HandlerImp(evt);
225 
226  cur.second = evt.GetSize()==4 ? evt.GetInt() : kOffline;
227  if (cur.second==0)
228  cur.second=kOffline;
229 
230  return Callback(evt);
231  }
int32_t GetInt() const
Definition: EventImp.h:93
void HandlerImp(const EventImp &evt)
Definition: DimState.h:29
std::pair< Time, int32_t > cur
Definition: DimState.h:65
int Callback(const EventImp &evt)
Definition: DimState.h:39
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: