|
FhSim
3.1.0
Marine systems simulation
|
#include <TableLookup.h>
Public Types | |
| using | Sink = std::function< void(const std::string &)> |
Public Member Functions | |
| void | SetSink (Sink sink) |
| void | Warn (const std::string &message) |
Passes message to the sink the first time only. | |
| int | Count () const |
| How many times Warn was called. | |
Reports a condition once per object and run (owner ruling D39: a table lookup outside its range holds the edge value and logs once). The sink is set when the logger is known (FinalSetup); without a sink the call only counts.