#include <yarp/run/Run.h>
#include <yarp/run/impl/RunCheckpoints.h>
#include <yarp/run/impl/RunProcManager.h>
#include <yarp/run/impl/RunReadWrite.h>
#include <yarp/run/impl/PlatformStdlib.h>
#include <yarp/run/impl/PlatformUnistd.h>
#include <yarp/run/impl/PlatformSysPrctl.h>
#include <yarp/conf/environment.h>
#include <yarp/conf/filesystem.h>
#include <yarp/os/Network.h>
#include <yarp/os/Os.h>
#include <yarp/os/LogStream.h>
#include <yarp/os/RpcClient.h>
#include <yarp/os/RpcServer.h>
#include <yarp/os/Semaphore.h>
#include <yarp/os/SystemInfo.h>
#include <yarp/os/SystemInfoSerializer.h>
#include <yarp/os/Time.h>
#include <yarp/os/impl/NameClient.h>
#include <yarp/os/impl/PlatformSignal.h>
#include <yarp/os/impl/PlatformStdio.h>
#include <cstdio>
#include <string>
#include <cstring>
#include <random>
Go to the source code of this file.
Macros | |
#define | C_MAXARGS 128 |
#define | READ_FROM_PIPE 0 |
#define | WRITE_TO_PIPE 1 |
#define | REDIRECT_TO(from, to) yarp::run::impl::dup2(to, from) |
Functions | |
void | sigstdio_handler (int sig) |
static yarp::os::Bottle | parsePaths (const std::string &txt) |
static bool | fileExists (const char *fname) |
static std::string | getProcLabel (const yarp::os::Bottle &msg) |
void | sigint_handler (int sig) |
static void | sigchld_handler (int sig) |
void | splitLine (char *pLine, char **pArgs) |
Split a line into separate words. | |
void | parseArguments (char *io_pLine, int *o_pArgc, char **o_pArgv) |
Breaks up a line into multiple arguments. | |
Variables | |
static RunTerminator * | pTerminator = nullptr |
constexpr fs::value_type | slash = fs::preferred_separator |
constexpr auto | sep = yarp::conf::environment::path_separator |
#define REDIRECT_TO | ( | from, | |
to | |||
) | yarp::run::impl::dup2(to, from) |
|
static |
void parseArguments | ( | char * | io_pLine, |
int * | o_pArgc, | ||
char ** | o_pArgv | ||
) |
|
static |
void splitLine | ( | char * | pLine, |
char ** | pArgs | ||
) |
|
static |
|
constexpr |
|
constexpr |