FDR
4.2.7(6ecbe5a21b71ab020e8fcaeccfe5ebaad0599f4f)
|
9 typedef int64_t TaskId;
51 virtual void task_started(TaskId task_id, TaskId parent_task_id,
const std::string& task_name);
64 std::unique_ptr<Data> data;
78 void task_started(TaskId task_id, TaskId parent_task_id,
const std::string& task_name)
override;
92 enum class StreamIdentifier
108 void task_started(TaskId task_id, TaskId parent_task_id,
const std::string& task_name)
override;
115 std::ostream& stream;
void deactivate() override
Deactivates this progress reporter, unsubscribing it from updates.
A simple progress reporter that logs all progress reports to a file.
Definition: progress_reporter.h:69
void task_status_updated(TaskId task_id, const std::string &new_status) override
Called when a task's status message has been updated.
virtual void task_message_output(TaskId task_id, const std::string &message)
Called when a task generates a relevant message.
void task_status_updated(TaskId task_id, const std::string &new_status) override
Called when a task's status message has been updated.
virtual void deactivate()
Deactivates this progress reporter, unsubscribing it from updates.
FileProgressReporter(const std::string &file_name)
Creates a new progress reporter.
Recieves status reports from FDR about ongoing tasks.
Definition: progress_reporter.h:18
void task_started(TaskId task_id, TaskId parent_task_id, const std::string &task_name) override
Called when a new task is started.
void task_message_output(TaskId task_id, const std::string &message) override
Called when a task generates a relevant message.
virtual void task_status_updated(TaskId task_id, const std::string &new_status)
Called when a task's status message has been updated.
void task_started(TaskId task_id, TaskId parent_task_id, const std::string &task_name) override
Called when a new task is started.
void task_finished(TaskId task_id) override
Called when a new task is finished.
virtual void task_started(TaskId task_id, TaskId parent_task_id, const std::string &task_name)
Called when a new task is started.
virtual void activate()
Actives this progress reporter, subscribing it to any updates.
void task_finished(TaskId task_id) override
Called when a new task is finished.
void activate() override
Actives this progress reporter, subscribing it to any updates.
void task_message_output(TaskId task_id, const std::string &message) override
Called when a task generates a relevant message.
StreamProgressReporter(std::ostream &output_stream)
Creates a new StreamProgressReporter.
void activate() override
Actives this progress reporter, subscribing it to any updates.
void deactivate() override
Deactivates this progress reporter, unsubscribing it from updates.
virtual void task_finished(TaskId task_id)
Called when a new task is finished.
A progress reporter that sends reports to a stream.
Definition: progress_reporter.h:90