FACT++  1.0
void StateMachineSmartFACT::HandleControlMessageImp ( const EventImp d)
inlineprivate

Definition at line 798 of file smartfact.cc.

References StateMachineSmartFACT::EventHist::add(), StateMachineSmartFACT::EventHist::get(), EventImp::GetSize(), EventImp::GetText(), EventImp::GetTime(), Header(), and HTML::kWhite.

799  {
800  if (d.GetSize()==0)
801  return;
802 
804 
805  ostringstream out;
806  out << setprecision(3);
807  out << Header(d) << '\n';
808  out << HTML::kWhite << '\t';
809  out << "<->" << fControlMessageHist.get() << "</->";
810  out << '\n';
811 
812  ofstream(fPath+"/scriptlog.data") << out.str();
813  }
const char * GetText() const
Definition: EventImp.h:88
void add(const string &s, const Time &t=Time())
Definition: smartfact.cc:469
string Header(const Time &d)
Definition: smartfact.cc:603
virtual Time GetTime() const
Definition: EventImp.h:57
static const string kWhite
Definition: smartfact.cc:74
EventHist fControlMessageHist
Definition: smartfact.cc:527
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function: