SOFA API  014b24ea
Open source framework for multi-physics simuation
sofa::helper::logging::SofaComponentInfo Class Reference

#include <Base.h>

Inheritance diagram for sofa::helper::logging::SofaComponentInfo:

Public Attributes

const sofa::core::objectmodel::Basem_component
std::string m_name

Public Member Functions

 SofaComponentInfo (const sofa::core::objectmodel::Base *c)
const std::string & name () const
std::ostream & toStream (std::ostream &out) const
- Public Member Functions inherited from sofa::helper::logging::ComponentInfo
 ComponentInfo ()
 ComponentInfo (const std::string &name)
virtual ~ComponentInfo ()
const std::string & sender () const
 Returns a string identifying the sender of a message. More...

Additional Inherited Members

- Protected Attributes inherited from sofa::helper::logging::ComponentInfo
std::string m_sender

Attribute details

const sofa::core::objectmodel::Base* sofa::helper::logging::SofaComponentInfo::m_component
std::string sofa::helper::logging::SofaComponentInfo::m_name

Constructor details

sofa::helper::logging::SofaComponentInfo::SofaComponentInfo ( const sofa::core::objectmodel::Base c)

Function details

const std::string& sofa::helper::logging::SofaComponentInfo::name ( ) const
std::ostream& sofa::helper::logging::SofaComponentInfo::toStream ( std::ostream &  out) const

Write a textual version of the content of the ComponentInfo. You should override this function when inheriting from the ComponentInfo base class.

Reimplemented from sofa::helper::logging::ComponentInfo.