Gazebo Sim

API Reference

7.9.0

Event that notifies a visual plugin is to be loaded. More...

#include <GuiEvents.hh>

Public Member Functions

 VisualPlugin (Entity _entity, const sdf::ElementPtr &_elem)
 Constructor. More...
 
sdf::ElementPtr Element () const
 Get the sdf element of the visual plugin. More...
 
Entity Entity () const
 Get the entity to load the visual plugin for. More...
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::User + 8)
 

Detailed Description

Event that notifies a visual plugin is to be loaded.

Deprecated:
Use VisualPlugins class.

Constructor & Destructor Documentation

◆ VisualPlugin()

VisualPlugin ( Entity  _entity,
const sdf::ElementPtr &  _elem 
)
explicit

Constructor.

Parameters
[in]_entityVisual entity id
[in]_elemVisual plugin SDF element

Member Function Documentation

◆ Element()

sdf::ElementPtr Element ( ) const

Get the sdf element of the visual plugin.

◆ Entity()

Entity Entity ( ) const

Get the entity to load the visual plugin for.

Member Data Documentation

◆ kType

const QEvent::Type kType = QEvent::Type(QEvent::User + 8)
static

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