Gazebo Sim

API Reference

8.6.0

Event that notifies when new entities have been created or removed on the server. This is a duplication of what GuiSystems would get from EachNew / EachRemoved ECM calls. More...

#include <GuiEvents.hh>

Public Member Functions

 NewRemovedEntities (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 + 4)
 Unique type for this event. More...
 

Detailed Description

Event that notifies when new entities have been created or removed on the server. This is a duplication of what GuiSystems would get from EachNew / EachRemoved ECM calls.

See also
GuiNewRemovedEntities

Constructor & Destructor Documentation

◆ NewRemovedEntities()

NewRemovedEntities ( 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 + 4)
static

Unique type for this event.


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