RStudio Launcher Plugin SDK  1.1.3
A software development kit for creating plugins that work the the RStudio Launcher.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
rstudio::launcher_plugins::system::process::ProcessInfo Struct Reference

Represents the details of a process that is running on this machine. More...

#include <Process.hpp>

Public Member Functions

 ProcessInfo ()
 Constructor.
 

Static Public Member Functions

static Error getProcessInfo (pid_t in_pid, ProcessInfo &out_info)
 Gets the process information for the process with the specified PID. More...
 

Public Attributes

std::vector< std::string > Arguments
 
std::string Executable
 
User Owner
 
pid_t PGrp
 
pid_t Pid
 
pid_t PPid
 
std::string State
 

Detailed Description

Represents the details of a process that is running on this machine.

Member Function Documentation

◆ getProcessInfo()

static Error rstudio::launcher_plugins::system::process::ProcessInfo::getProcessInfo ( pid_t  in_pid,
ProcessInfo out_info 
)
static

Gets the process information for the process with the specified PID.

Parameters
in_pidThe PID of the process for which to retrieve the details.
out_infoThe details of the specified process, if no error occurs.
Returns
Success if the process information could be retrieved; Error otherwise.

Member Data Documentation

◆ Arguments

std::vector<std::string> rstudio::launcher_plugins::system::process::ProcessInfo::Arguments

The arguments that were passed to the process.

◆ Executable

std::string rstudio::launcher_plugins::system::process::ProcessInfo::Executable

The executable that was run.

◆ Owner

User rstudio::launcher_plugins::system::process::ProcessInfo::Owner

The process' owner.

◆ PGrp

pid_t rstudio::launcher_plugins::system::process::ProcessInfo::PGrp

The process group ID of the process.

◆ Pid

pid_t rstudio::launcher_plugins::system::process::ProcessInfo::Pid

The PID of the process.

◆ PPid

pid_t rstudio::launcher_plugins::system::process::ProcessInfo::PPid

The PID of the process' parent process.

◆ State

std::string rstudio::launcher_plugins::system::process::ProcessInfo::State

The current state of the process.


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