95 static int start(
const std::string &node,
yarp::os::Property &command, std::string &keyv);
102 static int sigterm(
const std::string &node,
const std::string &keyv);
108 static int sigterm(
const std::string &node);
116 static int kill(
const std::string &node,
const std::string &keyv,
int s);
132 static bool isRunning(
const std::string &node, std::string &keyv);
149#ifndef DOXYGEN_SHOULD_SKIP_THIS
151 static int main(
int argc,
char *argv[]);
154 static bool mStresstest;
159 static std::string mLoggerPort;
168 static void CleanZombie(
int pid);
174 static void Help(
const char* msg=
"");
181 static inline bool IS_PARENT_OF(
int pid){
return pid>0; }
182 static inline bool IS_NEW_PROCESS(
int pid){
return !pid; }
183 static inline bool IS_INVALID(
int pid){
return pid<0; }
186 static std::string mPortName;
190 static void cleanBeforeExec();
191 static void writeToPipe(
int fd, std::string str);
192 static int readFromPipe(
int fd,
char* &data,
int& buffsize);
195 static void cmdcpy(
char* &dst,
const char* src)
197 dst=
new char[(strlen(src)/8+2)*16];
201 static void cmdclean(
char **cmd)
A simple collection of objects that can be described and transmitted in a portable way.
A class for storing options and configuration information.
A port that is specialized as an RPC server.
#define YARP_DISABLE_DLL_INTERFACE_WARNING
Disable MSVC C4251 warnings in the following code.
#define YARP_WARNING_POP
Ends a temporary alteration of the enabled warnings.
#define YARP_SUPPRESS_DLL_INTERFACE_WARNING
Suppress MSVC C4251 warning for the next line.
#define YARP_WARNING_PUSH
Starts a temporary alteration of the enabled warnings.