Go to the documentation of this file.
30 #ifndef RVIZ_DISPLAY_GROUP_VISIBILITY_PROPERTY_H_
31 #define RVIZ_DISPLAY_GROUP_VISIBILITY_PROPERTY_H_
50 class DisplayVisibilityProperty;
68 const QString& name = QString(),
72 template <
typename Func,
typename R>
78 const QString& description,
90 connect(receiver, std::forward<Func>(changed_slot));
94 template <
typename Func,
typename P>
100 const QString& description,
111 connect(parent, std::forward<Func>(changed_slot));
void onDisplayAdded(rviz::Display *display)
DisplayGroupVisibilityProperty(uint32_t vis_bit, DisplayGroup *display_group, Display *parent_display, const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr)
DisplayGroupVisibilityProperty(uint32_t vis_bit, DisplayGroup *display_group, Display *parent_display, const QString &name, bool default_value, const QString &description, P *parent, Func &&changed_slot)
QMetaObject::Connection connect(const QObject *receiver, const char *slot, Qt::ConnectionType type=Qt::AutoConnection)
Connect changed() signal to given slot of receiver.
A single element of a property tree, with a name, value, description, and possibly children.
std::map< rviz::Display *, DisplayVisibilityProperty * > disp_vis_props_
DisplayGroup * display_group_
DisplayGroupVisibilityProperty(uint32_t vis_bit, DisplayGroup *display_group, Display *parent_display, const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
void onDisplayRemoved(rviz::Display *display)
~DisplayGroupVisibilityProperty() override
Display * parent_display_
A Display object which stores other Displays as children.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02