Gazebo Sim

API Reference

8.6.0
GuiNewRemovedEntities Class Reference

Event that contains entities newly created or removed from the GUI, but that aren't present on the server yet. More...

#include <GuiEvents.hh>

Public Member Functions

 GuiNewRemovedEntities (const std::set< Entity > &_newEntities, const std::set< Entity > &_removedEntities)
 Constructor. More...
 
const std::set< Entity > & NewEntities () const
 Get the set of newly created entities. More...
 
const std::set< Entity > & RemovedEntities () const
 Get the set of recently removed entities. More...
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::User + 3)
 Unique type for this event. More...
 

Detailed Description

Event that contains entities newly created or removed from the GUI, but that aren't present on the server yet.

See also
NewRemovedEntities

Constructor & Destructor Documentation

◆ GuiNewRemovedEntities()

GuiNewRemovedEntities ( const std::set< Entity > &  _newEntities,
const std::set< Entity > &  _removedEntities 
)

Constructor.

Parameters
[in]_newEntitiesSet of newly created entities
[in]_removedEntitiesSet of recently removed entities

Member Function Documentation

◆ NewEntities()

const std::set<Entity>& NewEntities ( ) const

Get the set of newly created entities.

◆ RemovedEntities()

const std::set<Entity>& RemovedEntities ( ) const

Get the set of recently removed entities.

Member Data Documentation

◆ kType

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

Unique type for this event.


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