Go to the documentation of this file.
26 : m_timeSample(timeSample),
27 m_streamPrintPeriod(streamPrintPeriod),
28 m_printCountdown(0.0) {
43 stream(type, lineId) << msg <<
'\n';
48 std::ostringstream oss;
50 stream(type, oss.str()) << msg <<
'\n';
54 if (t <= 0.0)
return false;
60 if (s <= 0.0)
return false;
72 std::pair<StreamCounterMap_t::iterator, bool> result =
76 double &counter = result.first->second;
StreamCounterMap_t m_stream_msg_counters
bool setTimeSample(double t)
bool setStreamPrintPeriod(double s)
double getStreamPrintPeriod()
double m_printCountdown
specify the time period of the stream prints
void setVerbosity(LoggerVerbosity lv)
double m_streamPrintPeriod
specify the period of call of the countdown method
LoggerVerbosity getVerbosity()
double m_timeSample
verbosity of the logger
Logger(double timeSample=0.001, double streamPrintPeriod=1.0)
bool checkStreamPeriod(const std::string &lineId)
void sendMsg(std::string msg, MsgType type, const std::string &lineId="")
dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Fri Aug 2 2024 08:36:38