#include <Logger.h>
Inheritance diagram for Logger:


Public Member Functions | |
| Logger () | |
| Constructor. | |
| ~Logger () | |
| Destructor. | |
| int | main () |
| The main function of the process. | |
| virtual void | init () |
| Is called before the first main(). | |
| virtual bool | handleMessage (InMessage &message) |
| Is called for every incoming debug message. | |
Public Attributes | |
| QueueFillRequest::QueueFillMode | mode |
| The QueueFillMode for the outgoing Queue. | |
| unsigned long | saveOrSendTime |
| The time when the outgoing queue is written to the stick or allowed to be accessed via wlan. | |
Private Member Functions | |
| RECEIVER (SensorDataBuffer) | |
Private Attributes | |
| DEBUGGING | |
| InBinaryFile * | fin |
| this is used to read messages from a file called requests.dat | |
| bool | messageWasReceived |
| If true, a message was received from the WLan or OVirtualRobotComm. | |
Messages from the PC are processed and sensor data can be sent to the PC or saved to the stick.
Definition at line 27 of file Logger.h.
|
|
Constructor.
Definition at line 15 of file Logger.cpp. References Process::debugOut, INIT_DEBUGGING, INIT_RECEIVER_SENSORDATA, and MessageQueue::setSize(). |
Here is the call graph for this function:

|
|
Destructor.
Definition at line 27 of file Logger.cpp. References fin. |
|
|
|
|
|
The main function of the process.
Implements Process. Definition at line 33 of file Logger.cpp. References MessageQueue::clear(), debugOut, Process::debugOut, endl(), InStream< InFile, InBinary >::eof(), InFile::exists(), fin, SystemCall::getCurrentSystemTime(), getRobotConfiguration(), MessageQueue::handleAllMessages(), idSensorData, idText, INFO, MessageQueue::isEmpty(), MessageQueue::removeRepetitions(), and WATCH. |
Here is the call graph for this function:

|
|
Is called before the first main().
Reimplemented from Process. Definition at line 96 of file Logger.cpp. References MessageQueue::clear(), InStream< InFile, InBinary >::eof(), InFile::exists(), fin, and MessageQueue::handleAllMessages(). |
Here is the call graph for this function:

|
|
Is called for every incoming debug message.
Reimplemented from Process. Definition at line 108 of file Logger.cpp. References InMessage::bin, SystemCall::getCurrentSystemTime(), InMessage::getMessageID(), Process::handleMessage(), idQueueFillRequest, QueueFillRequest::mode, and QueueFillRequest::seconds. |
Here is the call graph for this function:

|
|
|
|
|
The QueueFillMode for the outgoing Queue.
|
|
|
The time when the outgoing queue is written to the stick or allowed to be accessed via wlan.
|
|
|
this is used to read messages from a file called requests.dat
|
|
|
If true, a message was received from the WLan or OVirtualRobotComm.
|
1.3.6