RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
24 #ifndef LAUNCHER_PLUGINS_ABSTRACT_TIMED_JOB_STATUS_WATCHER_HPP
25 #define LAUNCHER_PLUGINS_ABSTRACT_TIMED_JOB_STATUS_WATCHER_HPP
27 #include <jobs/AbstractJobStatusWatcher.hpp>
34 namespace launcher_plugins {
42 public std::enable_shared_from_this<AbstractTimedJobStatusWatcher>
70 JobRepositoryPtr in_jobRepository,
71 JobStatusNotifierPtr in_jobStatusNotifier);
86 virtual Error pollJobStatus() = 0;
88 PRIVATE_IMPL(m_timedBaseImpl);
~AbstractTimedJobStatusWatcher() noexcept override
Virtual destructor for inheritance. Invokes stop().
AbstractTimedJobStatusWatcher(system::TimeDuration in_frequency, JobRepositoryPtr in_jobRepository, JobStatusNotifierPtr in_jobStatusNotifier)
Constructor.
Manages posting job status updates to the notifier.
Definition: AbstractJobStatusWatcher.hpp:42
Class which represents an error.
Definition: Error.hpp:174
Responsible for polling job statuses on a timer.
Definition: AbstractTimedJobStatusWatcher.hpp:40
Represents an duration of time (e.g. 5 hours, 43 minutes, and 21 seconds) as opposed to a point in ti...
Definition: DateTime.hpp:48
void stop() final
Stops the timed job status watcher.
Error start() final
Starts the timed job status watcher.