Go to the documentation of this file.
29 #ifndef BOOL_PROPERTY_H
30 #define BOOL_PROPERTY_H
33 #include <rviz/rviz_export.h>
47 template <
typename Func,
typename R>
50 const QString& description,
56 connect(receiver, std::forward<Func>(changed_slot));
60 template <
typename Func,
typename P>
63 const QString& description,
68 connect(parent, std::forward<Func>(changed_slot));
73 virtual bool getBool()
const;
76 void setDisableChildrenIfFalse(
bool disable);
78 bool getDisableChildrenIfFalse();
81 bool getDisableChildren()
override;
86 return setValue(value);
95 #endif // BOOL_PROPERTY_H
bool disable_children_if_false_
Property specialized to provide getter for booleans.
BoolProperty(const QString &name, bool default_value, const QString &description, P *parent, Func &&changed_slot)
BoolProperty(const QString &name, bool default_value, const QString &description, Property *parent, Func &&changed_slot, const R *receiver)
A single element of a property tree, with a name, value, description, and possibly children.
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Dec 13 2024 03:31:02