#include <Log.h>
Collaboration diagram for Log:

Public Slots | |
| void | writeLog (QVariant pValue, QTime pTime) |
| Slot writing in the log file. | |
| void | writeLogFromGUI (QVariant pValue, QTime pTime) |
| Slot writing in the log file. | |
Public Member Functions | |
| Log (MixedObjectComponent *pObject) | |
| Constructs a logging component for the mixed object component pObject. | |
| ~Log () | |
| Destroys the object. | |
A Log component need to be constructed with its corresponding mixed object component reference (see Log(MixedObjectComponent* pObject)). Then it needs to be connected to it with for example the following code line :
QObject::connect(&Component, SIGNAL(updated(QVariant, QTime)), &ComponentLog, SLOT(writeLog(QVariant, QTime)));
| Log::Log | ( | MixedObjectComponent * | pObject | ) |
Constructs a logging component for the mixed object component pObject.
| pObject |
| Log::~Log | ( | ) |
Destroys the object.
does nothing.
| void Log::writeLog | ( | QVariant | pValue, | |
| QTime | pTime | |||
| ) | [slot] |
Slot writing in the log file.
| pValue | the value to be logged | |
| pTime | the time this value was emitted |
| void Log::writeLogFromGUI | ( | QVariant | pValue, | |
| QTime | pTime | |||
| ) | [slot] |
Slot writing in the log file.
| pValue | the value to be logged | |
| pTime | the time this value was emitted |
1.5.2