ReFRACtor
|
This is a helper class that logs basic timing information to the Logger. More...
#include <log_timing.h>
Public Member Functions | |
LogTiming () | |
Constructor. More... | |
virtual | ~LogTiming () |
virtual void | notify_add (ConnorSolver &Observed_object) |
Called when an object is added to an Observable. More... | |
virtual void | notify_add () |
virtual void | notify_remove (ConnorSolver &Observed_object) |
Called when an object is removed from an Observable. More... | |
virtual void | notify_remove () |
virtual void | notify_update (const ConnorSolver &Solver) |
Called when the Observed object is updated. More... | |
virtual void | print (std::ostream &Os) |
std::string | print_to_string () const |
Print to string. More... | |
virtual void | write_to_log (const std::string &Prefix="") const |
Write data to disk. More... | |
This is a helper class that logs basic timing information to the Logger.
Definition at line 14 of file log_timing.h.
LogTiming::LogTiming | ( | ) |
Constructor.
Definition at line 31 of file log_timing.cc.
|
inlinevirtual |
Definition at line 17 of file log_timing.h.
|
inlinevirtualinherited |
Called when an object is added to an Observable.
Default is to do nothing.
Definition at line 47 of file observer.h.
|
inlinevirtualinherited |
Definition at line 48 of file observer.h.
|
inlinevirtualinherited |
Called when an object is removed from an Observable.
Default is to do nothing.
Definition at line 55 of file observer.h.
|
inlinevirtualinherited |
Definition at line 56 of file observer.h.
|
virtual |
Called when the Observed object is updated.
Reimplemented from FullPhysics::Observer< ConnorSolver >.
Definition at line 20 of file log_timing.cc.
|
inlinevirtual |
Definition at line 19 of file log_timing.h.
|
inlineinherited |
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.
|
virtual |
Write data to disk.
Definition at line 75 of file log_timing.cc.