Go to the documentation of this file.
29 #ifndef ROS_TOPIC_PROPERTY_H
30 #define ROS_TOPIC_PROPERTY_H
35 #include <rviz/rviz_export.h>
45 const QString& message_type = QString(),
49 template <
typename Func,
typename R>
51 const QString& default_value,
52 const QString& message_type,
53 const QString& description,
59 connect(receiver, std::forward<Func>(changed_slot));
63 template <
typename Func,
typename P>
65 const QString& default_value,
66 const QString& message_type,
67 const QString& description,
72 connect(parent, std::forward<Func>(changed_slot));
75 void setMessageType(
const QString& message_type);
83 return getValue().toString();
87 return getValue().toString().toStdString();
91 virtual void fillTopicList();
99 #endif // ROS_TOPIC_PROPERTY_H
RosTopicProperty(const QString &name, const QString &default_value, const QString &message_type, const QString &description, P *parent, Func &&changed_slot)
A single element of a property tree, with a name, value, description, and possibly children.
RosTopicProperty(const QString &name, const QString &default_value, const QString &message_type, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
std::string getTopicStd() const
QString getMessageType() const
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02