Class used to access the Evse instances.
More...
#include <evse_manager.hpp>
Class used to access the Evse instances.
◆ any_transaction_active()
| virtual bool ocpp::v2::EvseManagerInterface::any_transaction_active |
( |
const std::optional< EVSE > & |
evse | ) |
const |
|
pure virtual |
Helper function to determine if there is any active transaction for the given evse.
- Parameters
-
| evse | if optional is not set, this function will check if there is any transaction active for the whole charging station |
- Returns
Implemented in ocpp::v2::EvseManager.
◆ are_all_connectors_effectively_inoperative()
| virtual bool ocpp::v2::EvseManagerInterface::are_all_connectors_effectively_inoperative |
( |
| ) |
const |
|
pure virtual |
Checks if all connectors are effectively inoperative. If this is the case, calls the all_connectors_unavailable_callback This is used e.g. to allow firmware updates once all transactions have finished.
Implemented in ocpp::v2::EvseManager.
◆ begin()
| virtual EvseIterator ocpp::v2::EvseManagerInterface::begin |
( |
| ) |
|
|
pure virtual |
◆ does_connector_exist()
| virtual bool ocpp::v2::EvseManagerInterface::does_connector_exist |
( |
const int32_t |
evse_id, |
|
|
ConnectorEnum |
connector_type |
|
) |
| const |
|
pure virtual |
Check if the connector exists on the given evse id.
- Parameters
-
| evse_id | The evse id to check for. |
| connector_type | The connector type. |
- Returns
- False if evse id does not exist or evse does not have the given connector type.
Implemented in ocpp::v2::EvseManager.
◆ does_evse_exist()
| virtual bool ocpp::v2::EvseManagerInterface::does_evse_exist |
( |
int32_t |
id | ) |
const |
|
pure virtual |
◆ end()
| virtual EvseIterator ocpp::v2::EvseManagerInterface::end |
( |
| ) |
|
|
pure virtual |
◆ get_evse() [1/2]
| virtual const EvseInterface & ocpp::v2::EvseManagerInterface::get_evse |
( |
int32_t |
id | ) |
const |
|
pure virtual |
◆ get_evse() [2/2]
| virtual EvseInterface & ocpp::v2::EvseManagerInterface::get_evse |
( |
int32_t |
id | ) |
|
|
pure virtual |
◆ get_number_of_evses()
| virtual size_t ocpp::v2::EvseManagerInterface::get_number_of_evses |
( |
| ) |
const |
|
pure virtual |
◆ get_transaction_evseid()
| virtual std::optional< int32_t > ocpp::v2::EvseManagerInterface::get_transaction_evseid |
( |
const CiString< 36 > & |
transaction_id | ) |
const |
|
pure virtual |
Get evseid for the given transaction id.
- Parameters
-
| transaction_id | The transactionid |
- Returns
- The evse id belonging the the transaction id. std::nullopt if there is no transaction with the given transaction id.
Implemented in ocpp::v2::EvseManager.
◆ is_valid_evse()
| virtual bool ocpp::v2::EvseManagerInterface::is_valid_evse |
( |
const EVSE & |
evse | ) |
const |
|
pure virtual |
Check if the given evse is valid.
- Parameters
-
- Returns
- True when evse is valid.
Implemented in ocpp::v2::EvseManager.
The documentation for this class was generated from the following file: