gz/sim/TestFixture.hh
Configuration parameters for a Server. An instance of this object can be used to construct a Server w...
Definition: gz/sim/ServerConfig.hh:45
uint64_t Entity
An Entity identifies a single object in simulation such as a model, link, or light....
Definition: gz/sim/Entity.hh:58
This library is part of the Gazebo project.
STL class.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
TestFixture & OnPostUpdate(std::function< void(const UpdateInfo &, const EntityComponentManager &)> _cb)
Wrapper around a system's post-update callback.
std::shared_ptr< gz::sim::Server > Server() const
Get pointer to underlying server.
The EventManager is used to send/receive notifications of simulator events.
Definition: gz/sim/EventManager.hh:54
Helper class to write automated tests. It provides a convenient API to load a world file,...
Definition: gz/sim/TestFixture.hh:55
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
TestFixture & Finalize()
Finalize all the functions and add fixture to server. Finalize must be called before running the serv...
TestFixture & OnPreUpdate(std::function< void(const UpdateInfo &, EntityComponentManager &)> _cb)
Wrapper around a system's pre-update callback.
class IGNITION_GAZEBO_HIDDEN TestFixturePrivate
Definition: gz/sim/TestFixture.hh:35
The server instantiates and controls simulation.
Definition: gz/sim/Server.hh:114
TestFixture & OnUpdate(std::function< void(const UpdateInfo &, EntityComponentManager &)> _cb)
Wrapper around a system's update callback.
TestFixture & OnConfigure(std::function< void(const Entity &_entity, const std::shared_ptr< const sdf::Element > &_sdf, EntityComponentManager &_ecm, EventManager &_eventMgr)> _cb)
Wrapper around a system's pre-update callback.