LinearBatteryPlugin.hh
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.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
void PreUpdate(const gz::sim::UpdateInfo &_info, gz::sim::EntityComponentManager &_ecm) override
Documentation inherited.
A plugin for simulating battery usage.
Definition: LinearBatteryPlugin.hh:72
~LinearBatteryPlugin() override
Destructor.
void PostUpdate(const UpdateInfo &_info, const EntityComponentManager &_ecm) override
Documentation inherited.
LinearBatteryPlugin()
Constructor.
The EventManager is used to send/receive notifications of simulator events.
Definition: gz/sim/EventManager.hh:54
void Configure(const Entity &_entity, const std::shared_ptr< const sdf::Element > &_sdf, EntityComponentManager &_ecm, EventManager &_eventMgr) final
Configure the system.
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
Interface for a system that uses the PreUpdate phase.
Definition: gz/sim/System.hh:121
Interface for a system that uses the PostUpdate phase.
Definition: gz/sim/System.hh:135
Interface for a system that implements optional configuration.
Definition: gz/sim/System.hh:90
void Update(const UpdateInfo &_info, EntityComponentManager &_ecm) final
Documentation inherited.
Interface for a system that uses the Update phase.
Definition: gz/sim/System.hh:128