SST/macro
Public Member Functions | List of all members
sprockit::debug_prefix_fxn Class Referenceabstract

The debug_prefix_fxn class Produces a string prefix (dynamically, called every time) that can be registered with the debug system to add extra metadata to each debug print. More...

#include <debug.h>

Collaboration diagram for sprockit::debug_prefix_fxn:
Collaboration graph

Public Member Functions

virtual std::string str ()=0
 
virtual ~debug_prefix_fxn ()=0
 

Detailed Description

The debug_prefix_fxn class Produces a string prefix (dynamically, called every time) that can be registered with the debug system to add extra metadata to each debug print.

An example usage would be to print timestamps in front of each debug string.

Definition at line 94 of file debug.h.

Constructor & Destructor Documentation

virtual sprockit::debug_prefix_fxn::~debug_prefix_fxn ( )
pure virtual

Member Function Documentation

virtual std::string sprockit::debug_prefix_fxn::str ( )
pure virtual

The documentation for this class was generated from the following file: