#include <ros/ros.h>#include <sys/select.h>#include <stdio.h>#include <dirent.h>#include <stdlib.h>#include <vector>#include <string>#include <sstream>
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< ProgramEntry > | programs |
| enum MODE |
Definition at line 11 of file screenrun.cpp.
| 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.
| enum MODE g_mode = MODE_SCREEN |
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.
| vector<ProgramEntry> programs |
Definition at line 162 of file screenrun.cpp.