17 #include <QtCore/QScopedPointer> 18 #include <QtCore/QThread> 19 #include <QtXml/QDomElement> 47 bool isConnected()
const override;
49 void setHullNumber(
int myHullNumber)
override;
51 QHostAddress serverIp()
const override;
53 QHostAddress myIp()
const override;
55 void clearQueue()
override;
57 bool isEnabled()
override;
59 void stopWaiting()
override;
62 void connect(
const QString &ip,
int port)
override;
64 void connect(
const QString &ip)
override;
66 void send(
int hullNumber,
const QString &message)
override;
68 void send(
const QString &message)
override;
70 bool hasMessages()
override;
72 QString receive(
bool wait =
true)
override;
74 int myHullNumber()
const override;
76 void renewIp()
override;
80 void stopWaitingSignal();
83 void updateConnectionStatus();
90 QScopedPointer<MailboxServer> mWorker;
93 QThread mWorkerThread;
Definition: analogSensor.h:23
Implementation of mailboxes system.
Definition: mailbox.h:32
static const int port
Definition: trikCommunicatorTest.cpp:24
Definition: trikCommunicator.h:31
Allows communication between robots.
Definition: mailboxInterface.h:31