RStudio Launcher Plugin SDK  1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
Public Member Functions | List of all members
rstudio::launcher_plugins::api::JobLock Class Reference

RAII class for locking access to a Job object. Should be used every time a Job is modified. More...

#include <Job.hpp>

Inheritance diagram for rstudio::launcher_plugins::api::JobLock:
rstudio::launcher_plugins::Noncopyable

Public Member Functions

 JobLock (JobPtr in_job)
 Constructor. More...
 
 JobLock (ConstJobPtr in_job)
 Constructor. More...
 

Detailed Description

RAII class for locking access to a Job object. Should be used every time a Job is modified.

Constructor & Destructor Documentation

◆ JobLock() [1/2]

rstudio::launcher_plugins::api::JobLock::JobLock ( JobPtr  in_job)
explicit

Constructor.

May throw a std::system_error.

Parameters
in_jobThe job to lock.

◆ JobLock() [2/2]

rstudio::launcher_plugins::api::JobLock::JobLock ( ConstJobPtr  in_job)
explicit

Constructor.

May throw a std::system_error.

Parameters
in_jobThe job to lock.

The documentation for this class was generated from the following file: