8 #include <boost/signals2.hpp> 10 #include "uptane/tuf.h" 25 BaseEvent(std::string variant_in) : variant(std::move(variant_in)) {}
43 explicit PutManifestComplete(
bool success_in) : success(success_in) { variant =
"PutManifestComplete"; }
53 variant =
"UpdateCheckComplete";
83 : target{std::move(target_in)}, description{std::move(description_in)}, progress{progress_in} {
84 variant =
"DownloadProgressReport";
88 std::string description;
89 unsigned int progress;
98 : update(std::move(update_in)), success(success_in) {
99 variant =
"DownloadTargetComplete";
112 variant =
"AllDownloadsComplete";
133 : serial(std::move(serial_in)), success(success_in) {
134 variant =
"InstallTargetComplete";
147 variant =
"AllInstallsComplete";
159 variant =
"CampaignCheckComplete";
173 using Channel = boost::signals2::signal<void(std::shared_ptr<event::BaseEvent>)>;
Device data has been sent to the server.
A campaign has been accepted.
All ECU installation attempts for an update have completed.
An update is available for download from the server.
A download in progress has been paused.
A manifest has been sent to the server.
The server has been queried for available campaigns.
PauseResult
Result of an attempt to pause or resume a download.
A report for a download in progress.
An ECU has begun installation of an update.
A paused download has been resumed.
Container for information about downloading an update.
Container for information about available campaigns.
All targets for an update have been downloaded.
An installation attempt on an ECU has completed.
Container for information about available updates.
Container for information about installing an update.
Base class for all event objects.
A target has been downloaded.