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:59
This library is part of the Ignition Robotics project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:65
void PreUpdate(const gz::sim::UpdateInfo &_info, gz::sim::EntityComponentManager &_ecm) override
Documentation inherited.
A plugin for simulating battery usage.
Definition: LinearBatteryPlugin.hh:61
~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:50
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:37
Interface for a system that uses the PreUpdate phase.
Definition: gz/sim/System.hh:105
Interface for a system that uses the PostUpdate phase.
Definition: gz/sim/System.hh:119
Interface for a system that implements optional configuration.
Definition: gz/sim/System.hh:88
void Update(const UpdateInfo &_info, EntityComponentManager &_ecm) final
Documentation inherited.
Interface for a system that uses the Update phase.
Definition: gz/sim/System.hh:112