NDEVR
API Documentation
LogPtr

A light-weight wrapper that will be a no-op if there is not a valid log reference, and logs otherwise. More...

Inheritance diagram for LogPtr:
[legend]
Collaboration diagram for LogPtr:
[legend]

Protected Member Functions

uint04 addCancelGuard (const TranslatedString &name) final override
 If added, signals to any LogStream that cancel is enabled.
virtual uint04 addProgressSource (const TranslatedString &name, fltp04 progress) final override
 Adds a progress gaurd, which.
void removeCancelGuard (uint04 idx) final override
 If removed, signals to any LogStream that cancel is disabled, assuming there are no more cancel gaurds.

Detailed Description

A light-weight wrapper that will be a no-op if there is not a valid log reference, and logs otherwise.


Useful to simplify if(log) log->addMessage to log.addMessage(

Definition at line 101 of file ProgressInfo.hpp.


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