Definition at line 244 of file evtserver.cc.
References EventServer::State::kIdle, EventServer::State::kRunning, StateMachineImp::kSM_Error, EventServer::State::kStandby, StartDate(), StartServer(), StopServer(), and DimDescribedState::Subscribe().
252 "Event server stopped.");
254 "Reading events file and writing to output.");
256 "No events are processed, either the sun is down or fadctrl in kRunInProgress.");
261 (
"Start serving the smartfact camera file");
265 (
"Start serving the smartfact camera file with the events from the given date" 266 "|uint32[yyyymmdd]:Integer representing the date from which the data should be read");
270 (
"Stop serving the smartfact camera file");
EventImp & AddEvent(const std::string &name, const std::string &states, const std::string &fmt)
virtual void Subscribe(StateMachineImp &imp)
StateMachineDim(std::ostream &out=std::cout, const std::string &name="DEFAULT")
int StartDate(const EventImp &evt)
DimDescribedState fDimFadControl
Error states should be between 0x100 and 0xffff.
bool AddStateName(const int state, const std::string &name, const std::string &doc="")