MIRA
|
Function block for charger power supply ports, v3.0. More...
#include <functionblock/PowerSupplyPort.h>
Public Member Functions | |
PowerSupplyPort_v3 () | |
Constructor. More... | |
virtual | ~PowerSupplyPort_v3 () |
Destructor. More... | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
Reflect for serialization. More... | |
float | getMaxCurrent () |
Return the maximum current. More... | |
void | enable (bool enable) |
Enable the power supply. More... | |
bool | isEnabled () |
Is the power supply enabled. More... | |
float | getMaxDissipatedPower () |
Return the maximum dissipated power. More... | |
bool | isCharging () |
Is the power supply enabled. More... | |
float | getVoltage () |
Return the current voltage. More... | |
float | getCurrent () |
Return the current current. More... | |
Class const & | getClass () const |
Other functions | |
void | checkFunctionBlockID () |
Static Public Member Functions | |
static PseudoClass const & | CLASS () |
Public Attributes | |
uint32 | functionBlockID |
ID of the function block. More... | |
uint8 | nodeID |
ID of the can node. More... | |
uint16 | index |
Index. More... | |
mira::can::CANOpenSDOClientPtr | sdoClient |
Protected Member Functions | |
virtual Class const & | internalGetClass () const=0 |
Protected Attributes | |
uint8 | subIndexMaxCurrent |
Subindex for retrieving the max-current. More... | |
uint8 | subIndexEnable |
Subindex for enable-flag. More... | |
uint8 | subIndexMaxDissipatedPower |
Subindex for max dissipated power. More... | |
uint8 | subIndexIsCharging |
Subindex for charging flag. More... | |
uint8 | subIndexVoltage |
Subindex for retrieving the voltage. More... | |
uint8 | subIndexCurrent |
Subindex for retrieving the current. More... | |
Function block for charger power supply ports, v3.0.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
inline |
Reflect for serialization.
|
inline |
Return the maximum current.
|
inline |
Enable the power supply.
|
inline |
Is the power supply enabled.
|
inline |
Return the maximum dissipated power.
|
inlineinherited |
Is the power supply enabled.
|
inlineinherited |
Return the current voltage.
|
inlineinherited |
Return the current current.
|
inherited |
|
protected |
Subindex for retrieving the max-current.
|
protected |
Subindex for enable-flag.
|
protected |
Subindex for max dissipated power.
|
protectedinherited |
Subindex for charging flag.
|
protectedinherited |
Subindex for retrieving the voltage.
|
protectedinherited |
Subindex for retrieving the current.
|
inherited |
ID of the function block.
|
inherited |
ID of the can node.
|
inherited |
Index.
Pointer to the SDO client
|
inherited |