Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer > Class Template Reference

#include <display_base.hpp>

Inheritance diagram for radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >:
Inheritance graph
[legend]

Public Member Functions

 DisplayBase ()
 
virtual ~DisplayBase ()
 
- Public Member Functions inherited from rviz::Display
virtual void deleteStatus (const QString &name)
 
void deleteStatusStd (const std::string &name)
 
 Display ()
 
void emitTimeSignal (ros::Time time)
 
QWidget * getAssociatedWidget () const
 
PanelDockWidgetgetAssociatedWidgetPanel ()
 
virtual QString getClassId () const
 
Ogre::SceneNode * getSceneNode () const
 
QVariant getViewData (int column, int role) const override
 
Qt::ItemFlags getViewFlags (int column) const override
 
uint32_t getVisibilityBits ()
 
void initialize (DisplayContext *context)
 
bool isEnabled () const
 
void load (const Config &config) override
 
virtual void reset ()
 
void save (Config config) const override
 
void setAssociatedWidget (QWidget *widget)
 
virtual void setClassId (const QString &class_id)
 
void setFixedFrame (const QString &fixed_frame)
 
void setName (const QString &name) override
 
virtual void setStatus (StatusProperty::Level level, const QString &name, const QString &text)
 
void setStatusStd (StatusProperty::Level level, const std::string &name, const std::string &text)
 
virtual void setTopic (const QString &topic, const QString &datatype)
 
void setVisibilityBits (uint32_t bits)
 
void unsetVisibilityBits (uint32_t bits)
 
virtual void update (float wall_dt, float ros_dt)
 
 ~Display () override
 
- Public Member Functions inherited from rviz::BoolProperty
 BoolProperty (const QString &name=QString(), bool default_value=false, const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual bool getBool () const
 
bool getDisableChildren () override
 
bool getDisableChildrenIfFalse ()
 
void setDisableChildrenIfFalse (bool disable)
 
 ~BoolProperty () override
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly ()
 
virtual QVariant getValue () const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant default_value=QVariant(), const QString &description=QString(), Property *parent=nullptr, const char *changed_slot=nullptr, QObject *receiver=nullptr)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
void setParent (Property *new_parent)
 
virtual void setReadOnly (bool read_only)
 
void setShouldBeSaved (bool save)
 
virtual bool setValue (const QVariant &new_value)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
 ~Property () override
 

Protected Member Functions

virtual void onDisable ()
 
virtual void onEnable ()
 
virtual void onInitialize ()
 
void updateDescription (const DescriptionProperty &prop)
 
void updateImage ()
 
void updateImage (const radial_menu_msgs::StateConstPtr &new_state)
 
void updateImage (const DrawingProperty &prop)
 
void updatePosition (const PositionProperty &prop)
 
void updateSubscription (const SubscriptionProperty &prop)
 
- Protected Member Functions inherited from rviz::Display
virtual void clearStatuses ()
 
virtual void fixedFrameChanged ()
 
bool initialized () const
 
- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 

Protected Attributes

std::unique_ptr< ImageDrawer > drawer_
 
radial_menu_model::ModelPtr model_
 
std::unique_ptr< ImageOverlayoverlay_
 
std::unique_ptr< PropertyControl > prop_ctl_
 
radial_menu_msgs::StateConstPtr state_
 
ros::Subscriber state_sub_
 
- Protected Attributes inherited from rviz::Display
DisplayContextcontext_
 
QString fixed_frame_
 
Ogre::SceneManager * scene_manager_
 
Ogre::SceneNode * scene_node_
 
ros::NodeHandle threaded_nh_
 
ros::NodeHandle update_nh_
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

Additional Inherited Members

- Public Slots inherited from rviz::Display
virtual void onEnableChanged ()
 
void queueRender ()
 
void setEnabled (bool enabled)
 
void setIcon (const QIcon &icon) override
 
- Public Slots inherited from rviz::BoolProperty
bool setBool (bool value)
 
- Signals inherited from rviz::Display
void timeSignal (rviz::Display *display, ros::Time time)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 

Detailed Description

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
class radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >

Definition at line 20 of file display_base.hpp.

Constructor & Destructor Documentation

◆ DisplayBase()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::DisplayBase ( )
inline

Definition at line 22 of file display_base.hpp.

◆ ~DisplayBase()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
virtual radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::~DisplayBase ( )
inlinevirtual

Definition at line 24 of file display_base.hpp.

Member Function Documentation

◆ onDisable()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
virtual void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::onDisable ( )
inlineprotectedvirtual

Reimplemented from rviz::Display.

Definition at line 49 of file display_base.hpp.

◆ onEnable()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
virtual void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::onEnable ( )
inlineprotectedvirtual

Reimplemented from rviz::Display.

Definition at line 43 of file display_base.hpp.

◆ onInitialize()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
virtual void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::onInitialize ( )
inlineprotectedvirtual

Reimplemented from rviz::Display.

Reimplemented in radial_menu_rviz::HorizontalDisplay, and radial_menu_rviz::RadialDisplay.

Definition at line 28 of file display_base.hpp.

◆ updateDescription()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updateDescription ( const DescriptionProperty prop)
inlineprotected

Definition at line 54 of file display_base.hpp.

◆ updateImage() [1/3]

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updateImage ( )
inlineprotected

Definition at line 84 of file display_base.hpp.

◆ updateImage() [2/3]

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updateImage ( const radial_menu_msgs::StateConstPtr &  new_state)
inlineprotected

Definition at line 90 of file display_base.hpp.

◆ updateImage() [3/3]

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updateImage ( const DrawingProperty &  prop)
inlineprotected

Definition at line 101 of file display_base.hpp.

◆ updatePosition()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updatePosition ( const PositionProperty prop)
inlineprotected

Definition at line 106 of file display_base.hpp.

◆ updateSubscription()

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
void radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::updateSubscription ( const SubscriptionProperty prop)
inlineprotected

Definition at line 62 of file display_base.hpp.

Member Data Documentation

◆ drawer_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
std::unique_ptr< ImageDrawer > radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::drawer_
protected

Definition at line 120 of file display_base.hpp.

◆ model_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
radial_menu_model::ModelPtr radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::model_
protected

Definition at line 115 of file display_base.hpp.

◆ overlay_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
std::unique_ptr< ImageOverlay > radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::overlay_
protected

Definition at line 122 of file display_base.hpp.

◆ prop_ctl_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
std::unique_ptr< PropertyControl > radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::prop_ctl_
protected

Definition at line 113 of file display_base.hpp.

◆ state_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
radial_menu_msgs::StateConstPtr radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::state_
protected

Definition at line 118 of file display_base.hpp.

◆ state_sub_

template<typename DrawingProperty, class PropertyControl, class ImageDrawer>
ros::Subscriber radial_menu_rviz::DisplayBase< DrawingProperty, PropertyControl, ImageDrawer >::state_sub_
protected

Definition at line 117 of file display_base.hpp.


The documentation for this class was generated from the following file:


radial_menu_rviz
Author(s):
autogenerated on Mon Feb 28 2022 23:22:04