RSC  0.17.1
ProcessInfo.h File Reference
#include <string>
#include <vector>
#include <boost/date_time/posix_time/ptime.hpp>
#include "rsc/rscexports.h"
Include dependency graph for ProcessInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 rsc
 
 rsc::os
 

Typedefs

typedef unsigned int rsc::os::PID
 

Functions

PID rsc::os::currentProcessId ()
 Return the id the current process. More...
 
std::string rsc::os::getProgramName (PID pid)
 Return the name of the program executed in the process designated by pid. More...
 
std::string rsc::os::currentProgramName ()
 Return the name of the program executed in the current process. More...
 
std::string rsc::os::getExecutablePath (PID pid)
 Return the absolute path of the executable file that is executed in the process designated by pid. More...
 
std::string rsc::os::currentExecutablePath ()
 Return the absolute path of the executable file that is executed in the current process. More...
 
std::vector< std::string > rsc::os::getCommandlineArguments (PID pid)
 Return the list of commandline arguments of the process designated by pid. More...
 
std::vector< std::string > rsc::os::currentCommandlineArguments ()
 Return the list of commandline arguments of the current process. More...
 
boost::posix_time::ptime rsc::os::getProcessStartTime (PID pid)
 Return the start time of the process designated by pid. More...
 
boost::posix_time::ptime rsc::os::currentProcessStartTime ()
 Return the start time of the current process. More...
 
std::string rsc::os::getExecutingUser (PID pid)
 Return login- or account-name of the user executing pid. More...
 
std::string rsc::os::currentExecutingUser ()
 Return the login- or account-name of the user executing the current process. More...