Gazebo Gui

API Reference

6.8.0

Event called to clone a resource, given its name as a string. More...

#include <GuiEvents.hh>

Public Member Functions

 SpawnCloneFromName (const std::string &_name)
 Constructor. More...
 
const std::stringName () const
 Get the name of the resource to be cloned. More...
 
- Public Member Functions inherited from QEvent
 QEvent (Type type)
 
virtual ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () const
 

Static Public Attributes

static const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 14)
 Unique type for this event. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 
- Properties inherited from QEvent
 accepted
 

Detailed Description

Event called to clone a resource, given its name as a string.

Constructor & Destructor Documentation

◆ SpawnCloneFromName()

SpawnCloneFromName ( const std::string _name)
explicit

Constructor.

Parameters
[in]_nameThe name of the resource to clone

Member Function Documentation

◆ Name()

const std::string& Name ( ) const

Get the name of the resource to be cloned.

Returns
The name of the resource to be cloned

Member Data Documentation

◆ kType

const QEvent::Type kType = QEvent::Type(QEvent::MaxUser - 14)
static

Unique type for this event.


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