YARP
Yet Another Robot Platform
yarpbroker.cpp File Reference
#include <yarp/manager/yarpbroker.h>
#include <csignal>
#include <cstring>
+ Include dependency graph for yarpbroker.cpp:

Go to the source code of this file.

Macros

#define YARPRUN_OK   0
 
#define YARPRUN_NORESPONSE   1
 
#define YARPRUN_NOCONNECTION   2
 
#define YARPRUN_CONNECTION_TIMOUT   3
 
#define YARPRUN_SEMAPHORE_PARAM   4
 
#define YARPRUN_UNDEF   5
 
#define CONNECTION_TIMEOUT   2.0
 
#define RUN_TIMEOUT   10.0
 
#define STOP_TIMEOUT   15.0
 
#define KILL_TIMEOUT   10.0
 
#define EVENT_THREAD_PERIOD   0.5
 

Variables

const char * yarprun_err_msg []
 

Macro Definition Documentation

◆ CONNECTION_TIMEOUT

#define CONNECTION_TIMEOUT   2.0

Definition at line 21 of file yarpbroker.cpp.

◆ EVENT_THREAD_PERIOD

#define EVENT_THREAD_PERIOD   0.5

Definition at line 25 of file yarpbroker.cpp.

◆ KILL_TIMEOUT

#define KILL_TIMEOUT   10.0

Definition at line 24 of file yarpbroker.cpp.

◆ RUN_TIMEOUT

#define RUN_TIMEOUT   10.0

Definition at line 22 of file yarpbroker.cpp.

◆ STOP_TIMEOUT

#define STOP_TIMEOUT   15.0

Definition at line 23 of file yarpbroker.cpp.

◆ YARPRUN_CONNECTION_TIMOUT

#define YARPRUN_CONNECTION_TIMOUT   3

Definition at line 17 of file yarpbroker.cpp.

◆ YARPRUN_NOCONNECTION

#define YARPRUN_NOCONNECTION   2

Definition at line 16 of file yarpbroker.cpp.

◆ YARPRUN_NORESPONSE

#define YARPRUN_NORESPONSE   1

Definition at line 15 of file yarpbroker.cpp.

◆ YARPRUN_OK

#define YARPRUN_OK   0

Definition at line 14 of file yarpbroker.cpp.

◆ YARPRUN_SEMAPHORE_PARAM

#define YARPRUN_SEMAPHORE_PARAM   4

Definition at line 18 of file yarpbroker.cpp.

◆ YARPRUN_UNDEF

#define YARPRUN_UNDEF   5

Definition at line 19 of file yarpbroker.cpp.

Variable Documentation

◆ yarprun_err_msg

const char* yarprun_err_msg[]
Initial value:
= { " (Ok) ",
" (Remote host does not respond) ",
" (Remote host does no exist) ",
" (Timeout while connecting to the remote host) ",
" (Blocked in broker semaphor) ",
" (Undefined message) " }

Definition at line 31 of file yarpbroker.cpp.