Yet Another Robot Platform
|static bool||terminateByName (const char *name)|
|Send a quit message to a specific socket port. More...|
Send a message to a process that has a corresponding socket port created using the Terminee class to ask to start a graceful quit procedure.
The receiving process must collaborate and take appropriate action after receiving the message. The Terminator/Terminee class pair starts a tcp socket on the server side listening for incoming connections and the magic word "quit" (all lowercase). The ip-port pair is registered with a symbolic name on the Yarp name server and can be queried by the client to send the termination message.