ACE
6.2.5
|
#include "ace/Dump_T.h"
Classes | |
class | ACE_Dumpable |
Base class that defines a uniform interface for all object dumping. More... | |
class | ACE_Dumpable_Ptr |
A smart pointer stored in the in-memory object database ACE_ODB. The pointee (if any) is deleted when reassigned. More... | |
class | ACE_ODB |
This is the object database (ODB) that keeps track of all live ACE objects. More... | |
struct | ACE_ODB::Tuple |
A prototype mechanism that allow all ACE objects to be registered with a central in-memory "database" that can dump the state of all live ACE objects (e.g., from within a debugger).
The macros which allow easy registration and removal of objects to be dumped (ACE_REGISTER_OBJECT and ACE_REMOVE_OBJECT) are turned into no-ops by compiling with the ACE_NDEBUG macro defined. This allows usage to be removed in "release mode" builds without changing code.
There are several interesting aspects to this design:
Future work includes:
Adding support to allow particular classes of objects to be selectively dumped.