ark::logging::LogWriterStage

Defined in header “ark/logging/stages/log_writer_stage.hh”.


This stage will look at all of the publishers in the current system and connect them up to a log writer. All data that is published is redirected to a log.

Methods

  • LogWriterStage(std::string name)
    Constructor.

  • ~LogWriterStage()
    Destructor.

  • void initialize(pipeline::StageInterface & interface)
    Called from the executor when we are initialized.

  • void add_arguments(core::ArgumentParser & parser)
    Called to set command line arguments.

  • void start()
    Indicates that the system has settled and you should begin any threads or processing.

  • void shutdown()
    Stops the log writer, shutting down all threads.

  • void finalize()
    Finalizes the log writer, writing any remaining data out and closing out active logs.