|
| FirmwareVersionChecker () |
|
virtual void | handleFirmwareUpdateConfirmation (uavcan::NodeID node_id, const BeginFirmwareUpdate::Response &response) |
|
virtual bool | shouldRequestFirmwareUpdate (uavcan::NodeID node_id, const uavcan::protocol::GetNodeInfo::Response &node_info, FirmwareFilePath &out_firmware_file_path) |
|
virtual bool | shouldRetryFirmwareUpdate (uavcan::NodeID node_id, const BeginFirmwareUpdate::Response &error_response, FirmwareFilePath &out_firmware_file_path) |
|
virtual void | handleFirmwareUpdateConfirmation (NodeID node_id, const protocol::file::BeginFirmwareUpdate::Response &response) |
|
virtual bool | shouldRequestFirmwareUpdate (NodeID node_id, const protocol::GetNodeInfo::Response &node_info, FirmwareFilePath &out_firmware_file_path)=0 |
|
virtual bool | shouldRetryFirmwareUpdate (NodeID node_id, const protocol::file::BeginFirmwareUpdate::Response &error_response, FirmwareFilePath &out_firmware_file_path)=0 |
|
virtual | ~IFirmwareVersionChecker () |
|
Definition at line 12 of file firmware_update_trigger.cpp.
◆ FirmwareVersionChecker()
FirmwareVersionChecker::FirmwareVersionChecker |
( |
| ) |
|
|
inline |
◆ handleFirmwareUpdateConfirmation()
virtual void FirmwareVersionChecker::handleFirmwareUpdateConfirmation |
( |
uavcan::NodeID |
node_id, |
|
|
const BeginFirmwareUpdate::Response & |
response |
|
) |
| |
|
inlinevirtual |
◆ shouldRequestFirmwareUpdate()
virtual bool FirmwareVersionChecker::shouldRequestFirmwareUpdate |
( |
uavcan::NodeID |
node_id, |
|
|
const uavcan::protocol::GetNodeInfo::Response & |
node_info, |
|
|
FirmwareFilePath & |
out_firmware_file_path |
|
) |
| |
|
inlinevirtual |
◆ shouldRetryFirmwareUpdate()
virtual bool FirmwareVersionChecker::shouldRetryFirmwareUpdate |
( |
uavcan::NodeID |
node_id, |
|
|
const BeginFirmwareUpdate::Response & |
error_response, |
|
|
FirmwareFilePath & |
out_firmware_file_path |
|
) |
| |
|
inlinevirtual |
◆ confirmation_cnt
unsigned FirmwareVersionChecker::confirmation_cnt |
◆ expected_node_name_to_update
std::string FirmwareVersionChecker::expected_node_name_to_update |
◆ firmware_path
std::string FirmwareVersionChecker::firmware_path |
◆ last_error_response
BeginFirmwareUpdate::Response FirmwareVersionChecker::last_error_response |
◆ retry_quota
int FirmwareVersionChecker::retry_quota |
◆ should_request_cnt
unsigned FirmwareVersionChecker::should_request_cnt |
◆ should_retry_cnt
unsigned FirmwareVersionChecker::should_retry_cnt |
The documentation for this struct was generated from the following file: