ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | List of all members
ocpp::v2::MonitoringUpdater Class Reference

Public Member Functions

 MonitoringUpdater (DeviceModel &device_model, notify_events notify_csms_events, is_offline is_chargepoint_offline)
 Constructs a new variable monitor updater. More...
 
void start_monitoring ()
 Starts monitoring the variables, kicking the timer.
 
void stop_monitoring ()
 Stops monitoring the variables, canceling the timer.
 
void process_triggered_monitors ()
 Processes the variable triggered monitors. Will be called after relevant variable modification operations or will be called periodically in case that processing can not be done at the current moment, for example in the case of an internal variable modification.
 

Constructor & Destructor Documentation

◆ MonitoringUpdater()

ocpp::v2::MonitoringUpdater::MonitoringUpdater ( DeviceModel device_model,
notify_events  notify_csms_events,
is_offline  is_chargepoint_offline 
)

Constructs a new variable monitor updater.

Parameters
device_modelCurrently used variable device model
notify_csms_eventsFunction that can be invoked with a number of alert events
is_chargepoint_offlineFunction that can be invoked in order to retrieve the status of the charging station connection to the CSMS

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