#include <ComponentInfo.h>

The base class to keep track of information associated with a message. A component info object have a sender method to return the name string identifying the sender of a message.
| Protected Attributes | |
| std::string | m_sender | 
| Public Member Functions | |
| ComponentInfo () | |
| ComponentInfo (const std::string &name) | |
| virtual | ~ComponentInfo () | 
| const std::string & | sender () const | 
| Returns a string identifying the sender of a message.  More... | |
| virtual std::ostream & | toStream (std::ostream &out) const | 
| Friends | |
| std::ostream & | operator<< (std::ostream &out, const ComponentInfo &nfo) | 
| std::ostream & | operator<< (std::ostream &out, const ComponentInfo *nfo) | 
| 
 | protected | 
| sofa::helper::logging::ComponentInfo::ComponentInfo | ( | ) | 
| sofa::helper::logging::ComponentInfo::ComponentInfo | ( | const std::string & | name | ) | 
| 
 | virtual | 
| const std::string & sofa::helper::logging::ComponentInfo::sender | ( | ) | const | 
Returns a string identifying the sender of a message.
| 
 | virtual | 
Write a textual version of the content of the ComponentInfo. You should override this function when inheriting from the ComponentInfo base class.
Reimplemented in sofa::helper::logging::SofaComponentInfo.
| 
 | friend | 
| 
 | friend |