Classes | Enumerations | Functions | Variables
screenrun.cpp File Reference
#include <ros/ros.h>
#include <sys/select.h>
#include <stdio.h>
#include <dirent.h>
#include <stdlib.h>
#include <vector>
#include <string>
#include <sstream>
Include dependency graph for screenrun.cpp:

Go to the source code of this file.

Classes

struct  Params
class  ProgramEntry

Enumerations

enum  MODE { MODE_SCREEN, MODE_X }

Functions

bool command_exists (const std::string &cmd)
bool executeCmd (const string &cmd)
string getScreenPath ()
bool load ()
int main (int argc, char **argv)
bool queryCmd (const string &cmd, string &result)
bool screenRunning ()

Variables

enum MODE g_mode = MODE_SCREEN
Params g_params
string g_screen_cmd = "screen"
vector< ProgramEntryprograms

Enumeration Type Documentation

enum MODE
Enumerator:
MODE_SCREEN 
MODE_X 

Definition at line 11 of file screenrun.cpp.


Function Documentation

bool command_exists ( const std::string &  cmd)

Definition at line 233 of file screenrun.cpp.

bool executeCmd ( const string &  cmd)

Definition at line 44 of file screenrun.cpp.

string getScreenPath ( )

Definition at line 206 of file screenrun.cpp.

bool load ( )

Definition at line 164 of file screenrun.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 240 of file screenrun.cpp.

bool queryCmd ( const string &  cmd,
string &  result 
)

Definition at line 55 of file screenrun.cpp.

bool screenRunning ( )

Definition at line 215 of file screenrun.cpp.


Variable Documentation

Definition at line 17 of file screenrun.cpp.

Definition at line 42 of file screenrun.cpp.

string g_screen_cmd = "screen"

Definition at line 18 of file screenrun.cpp.

Definition at line 162 of file screenrun.cpp.



screenrun
Author(s): Christian Dornhege
autogenerated on Thu Jun 6 2019 21:18:17