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_RESOURCE_STREAM_HPP
25 #define LAUNCHER_PLUGINS_ABSTRACT_TIMED_RESOURCE_STREAM_HPP
27 #include <api/stream/AbstractResourceStream.hpp>
32 #include <system/DateTime.hpp>
35 namespace launcher_plugins {
40 public std::enable_shared_from_this<AbstractTimedResourceStream>
65 const ConstJobPtr& in_job,
66 comms::AbstractLauncherCommunicatorPtr in_launcherCommunicator);
75 virtual Error onInitialize();
88 PRIVATE_IMPL(m_timedBaseImpl);
Error initialize() override
Initializes the timed resource utilization stream.
Streams job resource utilization data to the Launcher.
Definition: AbstractResourceStream.hpp:42
Represents the current resource utilization of a job.
Definition: ResponseTypes.hpp:111
AbstractTimedResourceStream(system::TimeDuration in_frequency, const ConstJobPtr &in_job, comms::AbstractLauncherCommunicatorPtr in_launcherCommunicator)
Constructor.
Class which represents an error.
Definition: Error.hpp:174
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
Definition: AbstractTimedResourceStream.hpp:38
virtual ~AbstractTimedResourceStream()
Virtual destructor.