/// test documentation /// whatever //! and one more #ifndef _PVSLocalhostCommunicator_H_ #define _PVSLocalhostCommunicator_H_ #include #include class PVSMsg; class PVSLocalhostCommunicator : public QObject { Q_OBJECT public: PVSLocalhostCommunicator(QString path); void run(); bool server() { return _isServer; }; bool running() { return _isRunning; }; void stop(); void sendCommand(QString ident, QString cmd); EventIdentDispatcher* getDispatcher() { return &_daemonDispatcher; }; private Q_SLOTS: void sock_dataArrival(); private: bool _isServer, _isRunning; QUdpSocket* _sock; EventIdentDispatcher _daemonDispatcher; //!< Dispatcher for Daemon Commands }; typedef PVSLocalhostCommunicator PVSUDSC; #endif