Gazebo Sim

API Reference

7.9.0
gz/sim/Events.hh File Reference
#include <sdf/Element.hh>
#include <sdf/Plugin.hh>
#include <gz/common/Event.hh>
#include "gz/sim/config.hh"
#include "gz/sim/Entity.hh"

Go to the source code of this file.

Namespaces

 gz
 This library is part of the Gazebo project.
 
 gz::sim
 Gazebo is a leading open source robotics simulator, that provides high fidelity physics, rendering, and sensor simulation.
 
 gz::sim::events
 Namespace for all events. Refer to the EventManager class for more information about events.
 

Typedefs

using LoadPlugins = common::EventT< void(Entity, sdf::ElementPtr), struct LoadPluginsTag >
 Please use the LoadSdfPlugins event. The LoadPlugins event is deprecrated in Gazebo 7 (Garden). Also make sure to connect to only LoadSdfPlugins or LoadPlugins, and not both events. More...
 
using LoadSdfPlugins = common::EventT< void(Entity, sdf::Plugins), struct LoadPluginsTag >
 Event used to load plugins for an entity into simulation. Pass in the entity which will own the plugins, and an SDF element for the entity, which may contain multiple <plugin> tags. Makre sure that you don't also connect to the LoadPlugins event. More...
 
using Pause = gz::common::EventT< void(bool), struct PauseTag >
 The pause event can be used to pause or unpause simulation. Emit a value of true to pause simulation, and emit a value of false to unpause simulation. More...
 
using Stop = gz::common::EventT< void(void), struct StopTag >
 The stop event can be used to terminate simulation. Emit this signal to terminate an active simulation. More...