OpenM++ runtime library (libopenm)
|
OpenM++: public interface for log and trace support. More...
Go to the source code of this file.
Classes | |
struct | openm::ILogBase |
base for log public interface More... | |
struct | openm::ILog |
log public interface: log to console and into log files More... | |
struct | openm::ITrace |
trace log public interface: model event log to console and into log files More... | |
Namespaces | |
namespace | openm |
openM++ namespace | |
Macros | |
#define | LT(sourceMessage) ((theLog->getMessage(sourceMessage)).c_str()) |
LT localisation function: return is temporary const char* and must be copied to avoid memory violation crash. | |
#define | NO_LT(sourceMessage) sourceMessage |
NO_LT localisation function: return source content as is. More... | |
Variables | |
openm::ILog * | theLog |
log global instance: log to console and into log files More... | |
openm::ITrace * | theTrace |
trace log global instance: model debug output to console and log files More... | |
OpenM++: public interface for log and trace support.
#define NO_LT | ( | sourceMessage | ) | sourceMessage |
NO_LT localisation function: return source content as is.
Use it to suppress translation, for example: WarningMsg( NO_LT("};") );
|
extern |
log global instance: log to console and into log files
log global instance: log to console and into log files
|
extern |
trace log global instance: model debug output to console and log files
trace log global instance: model debug output to console and log files