BagQuery.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (C) 2015 by Ralf Kaestner *
3  * ralf.kaestner@gmail.com *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the Lesser GNU General Public License as published by*
7  * the Free Software Foundation; either version 3 of the License, or *
8  * (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * Lesser GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the Lesser GNU General Public License *
16  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
17  ******************************************************************************/
18 
19 #ifndef RQT_MULTIPLOT_BAG_QUERY_H
20 #define RQT_MULTIPLOT_BAG_QUERY_H
21 
22 #include <QObject>
23 
26 
27 #include <rqt_multiplot/Message.h>
28 
29 namespace rosbag {
30  class MessageInstance;
31 };
32 
33 namespace rqt_multiplot {
34  class BagQuery :
35  public QObject {
36  Q_OBJECT
37  public:
38  friend class BagReader;
39 
40  BagQuery(QObject* parent = 0);
41  ~BagQuery();
42 
43  bool event(QEvent* event);
44 
45  signals:
46  void messageRead(const QString& topic, const Message& message);
47  void aboutToBeDestroyed();
48 
49  private:
52 
53  void callback(const rosbag::MessageInstance& instance);
54 
55 #if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
56  void disconnectNotify(const QMetaMethod& signal);
57 #else
58  void disconnectNotify(const char* signal);
59 #endif
60  };
61 };
62 
63 #endif
void callback(const variant_topic_tools::MessageVariant &variant, const ros::Time &receiptTime)
variant_topic_tools::MessageDataType dataType_
Definition: BagQuery.h:50
variant_topic_tools::MessageSerializer serializer_
Definition: BagQuery.h:51


rqt_multiplot_plugin
Author(s): Ralf Kaestner
autogenerated on Fri Jan 15 2021 03:47:53