UdpLoggingServer.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00022 //----------------------------------------------------------------------
00023 #ifndef ULS_UDP_LOGGING_SERVER_H_INCLUDED
00024 #define ULS_UDP_LOGGING_SERVER_H_INCLUDED
00025 
00026 #include <QtCore/QObject>
00027 #include <QtNetwork/QUdpSocket>
00028 #include <QtSql/QSqlDatabase>
00029 
00030 class UdpLoggingServer : QObject
00031 {
00032   Q_OBJECT
00033 
00034   public:
00035   UdpLoggingServer(const QString& db_filename);
00036   virtual ~UdpLoggingServer();
00037 
00038 private slots:
00039   void processPendingDatagrams();
00040 
00041 private:
00042   QUdpSocket *m_udp_socket;
00043   QSqlDatabase m_db;
00044 };
00045 
00046 #endif


fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:04