|
|
virtual void | boot_notification_req (const BootReasonEnum &reason, const bool initiated_by_trigger_message=false)=0 |
| |
|
virtual void | stop_bootnotification_timer ()=0 |
| |
| virtual void | on_variable_changed (const SetVariableData &set_variable_data)=0 |
| | Event handler that will update the variable internally when it has been changed on the fly. More...
|
| |
| virtual std::vector< GetVariableResult > | get_variables (const std::vector< GetVariableData > &get_variable_data_vector)=0 |
| | Gets variables specified within get_variable_data_vector from the device model and returns the result. This function is used internally in order to handle GetVariables.req messages and it can be used to get variables externally. More...
|
| |
| virtual std::map< SetVariableData, SetVariableResult > | set_variables (const std::vector< SetVariableData > &set_variable_data_vector, const std::string &source)=0 |
| | Sets variables specified within set_variable_data_vector in the device model and returns the result. More...
|
| |
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...
|
| |
◆ get_variables()
Gets variables specified within get_variable_data_vector from the device model and returns the result. This function is used internally in order to handle GetVariables.req messages and it can be used to get variables externally.
- Parameters
-
| get_variable_data_vector | contains data of the variables to get |
- Returns
- Vector containing a result for each requested variable
Implemented in ocpp::v2::Provisioning.
◆ on_variable_changed()
| virtual void ocpp::v2::ProvisioningInterface::on_variable_changed |
( |
const SetVariableData & |
set_variable_data | ) |
|
|
pure virtual |
Event handler that will update the variable internally when it has been changed on the fly.
- Parameters
-
| set_variable_data | contains data of the variable to set |
Implemented in ocpp::v2::Provisioning.
◆ set_variables()
Sets variables specified within set_variable_data_vector in the device model and returns the result.
- Parameters
-
| set_variable_data_vector | contains data of the variables to set |
- Returns
- Map containing the SetVariableData as a key and the SetVariableResult as a value for each requested change
Implemented in ocpp::v2::Provisioning.
The documentation for this class was generated from the following file: