|
dodo
0.0.1
A C++ library to create containerized Linux services
|
Interface to objects that support dumping their state to a string. More...
#include <exception.hpp>

Public Member Functions | |
| DebugObject () | |
| Default constructor does nothing. More... | |
| virtual | ~DebugObject () |
| Destructor does nothing. More... | |
| std::string | debugString () const |
| Return the object dump to string. More... | |
Protected Member Functions | |
| virtual std::string | debugDetail () const |
| Descendant classes can override to dump details specific to the class. More... | |
| std::string | debugHeader () const |
| Generates a debug header (address of this object and a demangled class name. More... | |
Interface to objects that support dumping their state to a string.
Definition at line 39 of file exception.hpp.
|
inline |
Default constructor does nothing.
Definition at line 45 of file exception.hpp.
|
inlinevirtual |
Destructor does nothing.
Definition at line 50 of file exception.hpp.
|
inlineprotectedvirtual |
Descendant classes can override to dump details specific to the class.
By default, returns nothing.
Reimplemented in dodo::network::BaseSocket.
Definition at line 66 of file exception.hpp.
Referenced by debugString().

|
protected |
Generates a debug header (address of this object and a demangled class name.
Definition at line 39 of file exception.cpp.
Referenced by debugString().

| std::string dodo::common::DebugObject::debugString | ( | ) | const |
Return the object dump to string.
debugHeader() and debugDetail() is integrated in the dump.
Definition at line 32 of file exception.cpp.
References debugDetail(), and debugHeader().
Referenced by dodo::common::Exception::Exception(), dodo::network::TCPListener::pollAdd(), dodo::network::TCPListener::pollDel(), dodo::network::TCPListener::pollMod(), dodo::network::TCPListener::popWork(), dodo::network::TCPListener::pushWork(), dodo::network::TCPListener::releaseWork(), dodo::network::TCPServer::run(), and dodo::network::TCPListener::run().

