Gazebo Gazebo

API Reference

6.16.0

Plugin for copying/pasting entities in the GUI. More...

#include <CopyPaste.hh>

Public Slots

void OnCopy ()
 Callback to copy the selected entity. More...
 
void OnPaste ()
 Callback to paste the data that has been copied, if copied data exists. More...
 

Public Member Functions

 CopyPaste ()
 Constructor. More...
 
 ~CopyPaste () override
 Destructor. More...
 
void LoadConfig (const tinyxml2::XMLElement *_pluginElem) override
 
void Update (const UpdateInfo &_info, EntityComponentManager &_ecm) override
 Update callback called every time the system is stepped. This is called at an Ignition transport thread, so any interaction with Qt should be done through signals and slots. More...
 

Protected Member Functions

bool eventFilter (QObject *_obj, QEvent *_event) override
 

Detailed Description

Plugin for copying/pasting entities in the GUI.

Constructor & Destructor Documentation

◆ CopyPaste()

CopyPaste ( )

Constructor.

◆ ~CopyPaste()

~CopyPaste ( )
override

Destructor.

Member Function Documentation

◆ eventFilter()

bool eventFilter ( QObject *  _obj,
QEvent *  _event 
)
overrideprotected

◆ LoadConfig()

void LoadConfig ( const tinyxml2::XMLElement *  _pluginElem)
override

◆ OnCopy

void OnCopy ( )
slot

Callback to copy the selected entity.

◆ OnPaste

void OnPaste ( )
slot

Callback to paste the data that has been copied, if copied data exists.

◆ Update()

void Update ( const UpdateInfo _info,
EntityComponentManager _ecm 
)
overridevirtual

Update callback called every time the system is stepped. This is called at an Ignition transport thread, so any interaction with Qt should be done through signals and slots.

Parameters
[in]_infoCurrent simulation information, such as time.
[in]_ecmMutable reference to the ECM, so the system can read and write entities and their components.

Reimplemented from GuiSystem.


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