|
|
| EvseManager (const std::map< int32_t, int32_t > &evse_connector_structure, DeviceModel &device_model, std::shared_ptr< DatabaseHandler > database_handler, std::shared_ptr< ComponentStateManagerInterface > component_state_manager, const std::function< void(const MeterValue &meter_value, EnhancedTransaction &transaction)> &transaction_meter_value_req, const std::function< void(int32_t evse_id)> &pause_charging_callback) |
| |
| EvseInterface & | get_evse (int32_t id) override |
| | Get a reference to the evse with id. More...
|
| |
| const EvseInterface & | get_evse (const int32_t id) const override |
| | Get a const reference to the evse with id. More...
|
| |
| virtual bool | does_connector_exist (const int32_t evse_id, const ConnectorEnum connector_type) const override |
| | Check if the connector exists on the given evse id. More...
|
| |
| bool | does_evse_exist (const int32_t id) const override |
| | Check if an evse with id exists. More...
|
| |
| bool | are_all_connectors_effectively_inoperative () const override |
| | 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. More...
|
| |
| size_t | get_number_of_evses () const override |
| | Get the number of evses. More...
|
| |
| std::optional< int32_t > | get_transaction_evseid (const CiString< 36 > &transaction_id) const override |
| | Get evseid for the given transaction id. More...
|
| |
| bool | any_transaction_active (const std::optional< EVSE > &evse) const override |
| | Helper function to determine if there is any active transaction for the given evse. More...
|
| |
| bool | is_valid_evse (const EVSE &evse) const override |
| | Check if the given evse is valid. More...
|
| |
| EvseIterator | begin () override |
| | Gets an iterator pointing to the first evse. More...
|
| |
| EvseIterator | end () override |
| | Gets an iterator pointing past the last evse. More...
|
| |
|
virtual | ~EvseManagerInterface ()=default |
| | Default destructor.
|
| |
| virtual EvseInterface & | get_evse (int32_t id)=0 |
| | Get a reference to the evse with id. More...
|
| |
| virtual const EvseInterface & | get_evse (int32_t id) const =0 |
| | Get a const reference to the evse with id. More...
|
| |
| virtual bool | does_connector_exist (const int32_t evse_id, ConnectorEnum connector_type) const =0 |
| | Check if the connector exists on the given evse id. More...
|
| |
| virtual bool | does_evse_exist (int32_t id) const =0 |
| | Check if an evse with id exists. More...
|
| |
| virtual bool | are_all_connectors_effectively_inoperative () const =0 |
| | 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. More...
|
| |
| virtual size_t | get_number_of_evses () const =0 |
| | Get the number of evses. More...
|
| |
| virtual std::optional< int32_t > | get_transaction_evseid (const CiString< 36 > &transaction_id) const =0 |
| | Get evseid for the given transaction id. More...
|
| |
| virtual bool | any_transaction_active (const std::optional< EVSE > &evse) const =0 |
| | Helper function to determine if there is any active transaction for the given evse. More...
|
| |
| virtual bool | is_valid_evse (const EVSE &evse) const =0 |
| | Check if the given evse is valid. More...
|
| |
| virtual EvseIterator | begin ()=0 |
| | Gets an iterator pointing to the first evse. More...
|
| |
| virtual EvseIterator | end ()=0 |
| | Gets an iterator pointing past the last evse. More...
|
| |