RStudio Launcher Plugin SDK
1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
|
Class which may be used to post async work to be performed at a later time. More...
#include <Asio.hpp>
Public Member Functions | |
AsyncDeadlineEvent (const AsioFunction &in_work, const DateTime &in_deadlineTime) | |
Constructor. More... | |
AsyncDeadlineEvent (const AsioFunction &in_work, const TimeDuration &in_waitTime) | |
Constructor. More... | |
~AsyncDeadlineEvent () | |
Destructor. The event will be canceled if this invoked before the deadline time. | |
void | cancel () |
Cancels the event, if invoked before the deadline time. | |
void | start () |
Starts waiting for the event. | |
Class which may be used to post async work to be performed at a later time.
rstudio::launcher_plugins::system::AsyncDeadlineEvent::AsyncDeadlineEvent | ( | const AsioFunction & | in_work, |
const DateTime & | in_deadlineTime | ||
) |
Constructor.
in_work | The work to be performed when the deadline time is reached. |
in_deadlineTime | The time at which the work should be performed. |
rstudio::launcher_plugins::system::AsyncDeadlineEvent::AsyncDeadlineEvent | ( | const AsioFunction & | in_work, |
const TimeDuration & | in_waitTime | ||
) |
Constructor.
in_work | The work to be performed when the deadline time is reached. |
in_waitTime | The amount of time, from the invocation time, that should pass before the work is performed. |