The discharge model dictates how the battery discharges over time. More...
#include <battery_equipped_entity.h>
Public Member Functions | |
CBatteryDischargeModel () | |
virtual | ~CBatteryDischargeModel () |
virtual void | Init (TConfigurationNode &t_tree) |
Initializes the resource. More... | |
virtual void | Reset () |
Resets the resource. More... | |
virtual void | Destroy () |
Undoes whatever was done by Init(). More... | |
virtual void | SetBattery (CBatteryEquippedEntity *pc_battery) |
virtual void | operator() ()=0 |
Public Member Functions inherited from argos::CBaseConfigurableResource | |
virtual | ~CBaseConfigurableResource () |
Class destructor. More... | |
Protected Attributes | |
CBatteryEquippedEntity * | m_pcBattery |
The discharge model dictates how the battery discharges over time.
Definition at line 102 of file battery_equipped_entity.h.
argos::CBatteryDischargeModel::CBatteryDischargeModel | ( | ) |
Definition at line 118 of file battery_equipped_entity.cpp.
|
virtual |
Definition at line 125 of file battery_equipped_entity.cpp.
|
inlinevirtual |
Undoes whatever was done by Init().
Implements argos::CBaseConfigurableResource.
Definition at line 114 of file battery_equipped_entity.h.
|
inlinevirtual |
Initializes the resource.
t_tree | the base of the XML configuration tree to parse |
CARGoSException | if an error occurs |
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CBatteryDischargeModelTimeMotion, argos::CBatteryDischargeModelMotion, and argos::CBatteryDischargeModelTime.
Definition at line 110 of file battery_equipped_entity.h.
|
pure virtual |
|
inlinevirtual |
Resets the resource.
Implements argos::CBaseConfigurableResource.
Definition at line 112 of file battery_equipped_entity.h.
|
virtual |
Reimplemented in argos::CBatteryDischargeModelTimeMotion, and argos::CBatteryDischargeModelMotion.
Definition at line 131 of file battery_equipped_entity.cpp.
|
protected |
Definition at line 122 of file battery_equipped_entity.h.