tilde~
Puredata Qt-based GUI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ServerWorker.h
Go to the documentation of this file.
1 #ifndef LOCALSERVER_H
2 #define LOCALSERVER_H
3 
4 // #include <pdServer.hpp>
5 
6 #include <QDebug>
7 #include <QThread>
8 
9 
10 class LocalServer;
11 
12 using namespace std;
13 
14 class ServerObject;
15 
16 namespace tilde {
17 
21 class ServerWorker : public QObject {
22 
23  Q_OBJECT
24 
25  LocalServer* _localServer;
26 
27 public:
28  ServerWorker();
29 
30  LocalServer* localServer() const;
31 
32 public slots:
33  void start();
34  void stop();
35  void sendMessageToObject(ServerObject* object, QString msg);
36 
37 signals:
38  void sendMessageSignal(ServerObject* object, string msg);
39 };
40 }
41 
42 #endif // LOCALSERVER_H
Stub for the server in separate thread.
Definition: ServerWorker.h:21