FACT++  1.0
void StateMachineSmartFACT::EventHist::add ( const string &  s,
const Time t = Time() 
)
inline

Definition at line 469 of file smartfact.cc.

References size, t, and time.

Referenced by StateMachineSmartFACT::AddMcpConfigurationHist(), StateMachineSmartFACT::HandleChatMsg(), StateMachineSmartFACT::HandleControlMessageImp(), StateMachineSmartFACT::HandleDimControlMessage(), and StateMachineSmartFACT::SetError().

470  {
471  while (!empty() && (front().time+deltat<t || size()>max))
472  pop_front();
473 
474  emplace_back(t, s);
475  }
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
Definition: smartfact.txt:92
int size
Definition: db_dim_server.c:17
const boost::posix_time::time_duration deltat
Definition: smartfact.cc:463

+ Here is the caller graph for this function: