message_event.h
Go to the documentation of this file.
00001 #ifndef _UTILITIES_MESSAGE_EVENT_H_
00002 #define _UTILITIES_MESSAGE_EVENT_H_
00003 
00004 #include <QEvent>
00005 #include <QString>
00006 #include "utilities/message.h"
00007 
00008 namespace utilities
00009 {
00010 class MessageEvent : public QEvent
00011 {
00012 public:
00013   static const QEvent::Type Type;
00014   MessageEvent(const QString& topic, const Message& message);
00015   virtual ~MessageEvent();
00016   const QString& getTopic() const;
00017   const Message& getMessage() const;
00018 
00019 private:
00020   QString topic_;
00021   Message message_;
00022 };
00023 }
00024 
00025 #endif // _UTILITIES_MESSAGE_EVENT_H_


rqt_mrta
Author(s): Adriano Henrique Rossette Leite
autogenerated on Thu Jun 6 2019 18:50:52