#include <omgomlogcallback.h>
Inheritance diagram for OmgOmLogCallback:
Definition at line 39 of file omgomlogcallback.h.
Signals | |
void | omLogMessage (QString theModelGuid, QString theLogMessage) |
void | omLogError (QString theModelGuid, QString theLogMessage) |
Public Member Functions | |
OmgOmLogCallback () | |
OmgOmLogCallback (QObject *parent) | |
virtual | ~OmgOmLogCallback () |
OmgOmLogCallback (QTextStream &theTextStream) | |
void | operator() (Log::Level theLevel, const std::string &theMessage) |
void | setModelGuid (QString theModelGuid) |
OmgOmLogCallback () | |
~OmgOmLogCallback () | |
OmgOmLogCallback (QTextStream &theTextStream) | |
void | operator() (Log::Level theLevel, const std::string &theLogMessage) |
Private Attributes | |
QString | mModelGuid |
|
Definition at line 23 of file omgomlogcallback.cpp. |
|
Definition at line 30 of file omgomlogcallback.cpp. |
|
Definition at line 37 of file omgomlogcallback.cpp. |
|
Constructor for log call back required to fit the om callback pattern.
Definition at line 44 of file omgomlogcallback.cpp. |
|
Definition at line 35 of file openmodellerlogtest.cpp. |
|
Definition at line 42 of file openmodellerlogtest.cpp. |
|
Definition at line 48 of file openmodellerlogtest.cpp. |
|
Signal passed on from here to other qt derived classes with the log ERROR message from om
Referenced by operator()(). |
|
Signal passed on from here to other qt derived classes with the log message from om
Referenced by operator()(). |
|
Definition at line 56 of file openmodellerlogtest.cpp. |
|
Overloading the () operator is required because om uses this approach to push out log messages. We will simplyg capture the passed in message and emit it as a QString that any connected classes can then use.
Definition at line 52 of file omgomlogcallback.cpp. References mModelGuid, omLogError(), and omLogMessage(). |
|
Set the globally unique identifier for the model that is associated with this callback Definition at line 66 of file omgomlogcallback.cpp. References mModelGuid. Referenced by OmgModellerLocalPlugin::createModel(), and OmgModellerLocalPlugin::projectModel(). |
|
The globally unique identifier for the model that this callback wrapper is associated with Definition at line 82 of file omgomlogcallback.h. Referenced by operator()(), and setModelGuid(). |