#include <Debug.h>
Inheritance diagram for Debug:
Public Member Functions | |
Debug () | |
Constructor. | |
~Debug () | |
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 | |
DEBUG_RECEIVER (Cognition) | |
DEBUG_RECEIVER (Motion) | |
DEBUG_SENDER (Cognition) | |
DEBUG_SENDER (Motion) | |
Private Attributes | |
EXTERNAL_DEBUGGING | |
bool | messageWasReceived |
If true, a message was received from the WLan or OVirtualRobotComm. |
All messages from the processes to the PC are collected here and all messages from the PC to the processes are distributed by the Debug process.
Definition at line 27 of file Debug.h.
|
Constructor.
Definition at line 15 of file Debug.cpp. References Process::debugOut, SystemCall::getRobotDesign(), INIT_DEBUG_RECEIVER, INIT_DEBUG_SENDER, INIT_EXTERNAL_DEBUGGING, and MessageQueue::setSize(). |
Here is the call graph for this function:
|
Destructor.
|
|
|
|
|
|
|
|
|
|
The main function of the process.
Implements Process. Definition at line 49 of file Debug.cpp. References MessageQueue::clear(), debugOut, Process::debugOut, endl(), SystemCall::getCurrentSystemTime(), getRobotConfiguration(), idText, INFO, MessageQueue::isEmpty(), messageWasReceived, MessageQueue::removeRepetitions(), and saveOrSendTime. |
Here is the call graph for this function:
|
Is called before the first main().
Reimplemented from Process. Definition at line 114 of file Debug.cpp. References InStream< InFile, InBinary >::eof(), InFile::exists(), MessageQueue::handleAllMessages(), INIT_EXTERNAL_DEBUGGING_HANDLER, and messageWasReceived. |
Here is the call graph for this function:
|
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.
Definition at line 66 of file Debug.h. Referenced by handleMessage(), and main(). |
|
If true, a message was received from the WLan or OVirtualRobotComm.
Definition at line 70 of file Debug.h. Referenced by handleMessage(), init(), and main(). |