Commit 7c48f8ad authored by Joseph Mirabel's avatar Joseph Mirabel Committed by olivier stasse

Give access to the Entity::logger_ + fix doc.

parent 67b0cc69
......@@ -83,8 +83,12 @@ public:
SignalMap getSignalMap() const;
/** \name Logger related methods */
/** \{*/
/// \name Logger related methods
/// \{
Logger &logger() { return logger_; };
Logger const &logger() const { return logger_; };
/// \brief Send messages \c msg with level \c t.
/// Add string file and line to message.
void sendMsg(const std::string &msg, MsgType t = MSG_TYPE_INFO,
......@@ -110,6 +114,8 @@ public:
/// \brief Get the period of the stream period
double getStreamPrintPeriod() { return logger_.getStreamPrintPeriod(); }
/// \}
protected:
void addCommand(const std::string &name, command::Command *command);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment