ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::v2::MeterValuesInterface Class Referenceabstract
Inheritance diagram for ocpp::v2::MeterValuesInterface:
ocpp::v2::MessageHandlerInterface ocpp::v2::MeterValues

Public Member Functions

virtual void update_aligned_data_interval ()=0
 
virtual void on_meter_value (const int32_t evse_id, const MeterValue &meter_value)=0
 Event handler that should be called when a new meter value is present. More...
 
virtual MeterValue get_latest_meter_value_filtered (const MeterValue &meter_value, ReadingContextEnum context, const RequiredComponentVariable &component_variable)=0
 
virtual void meter_values_req (const int32_t evse_id, const std::vector< MeterValue > &meter_values, const bool initiated_by_trigger_message=false)=0
 
- Public Member Functions inherited from ocpp::v2::MessageHandlerInterface
virtual void handle_message (const EnhancedMessage< MessageType > &message)=0
 Handles the given message from the CSMS. This includes dispatching a CALLRESULT as a response to the incoming message . More...
 

Member Function Documentation

◆ on_meter_value()

virtual void ocpp::v2::MeterValuesInterface::on_meter_value ( const int32_t  evse_id,
const MeterValue meter_value 
)
pure virtual

Event handler that should be called when a new meter value is present.

Parameters
evse_id
meter_value

Implemented in ocpp::v2::MeterValues.


The documentation for this class was generated from the following file: