ark::supervisor::ArkosUpdaterStage
Defined in header “ark/supervisor/stages/arkos_updater_stage.hh”.
This class allows you to spawn an updater, which can be used for managing things like ArkOS updates. It’s different from the supervisor, which expects to not just do updates, but launch processes as well.
Methods
-
ArkosUpdaterStage(std::string name)
Constructor. -
~ArkosUpdaterStage()
Destructor. -
void add_arguments(core::ArgumentParser & parser)
Adds the command line arguments for this stage. -
void initialize(pipeline::StageInterface & interface)
Initializes the stage’s publishers/subscribers. -
void start()
Starts the background thread that does updates. -
void shutdown()
Stops all of the threads.