Yet Another Robot Platform
yarpros.cpp File Reference
#include <cstdio>
#include <yarp/os/all.h>
#include "RosSlave.h"
#include "RosLookup.h"
#include "TcpRosStream.h"
#include <string>
+ Include dependency graph for yarpros.cpp:

Go to the source code of this file.


string addPart (string t, string name, int code, Value *val, string orig, string mode="")
string showFormat (Bottle &b, string root)
void usage (const char *action, const char *msg, const char *example=nullptr, const char *explanation=nullptr)
void show_usage ()
bool announce_port (const char *name, PortReader &reply)
bool register_port (const char *name, const char *carrier, const char *hostname, int portnum, PortReader &reply)
int main (int argc, char *argv[])


bool verbose = false

Function Documentation

◆ addPart()

string addPart ( string  t,
string  name,
int  code,
Value val,
string  orig,
string  mode = "" 

Definition at line 22 of file yarpros.cpp.

◆ announce_port()

bool announce_port ( const char *  name,
PortReader reply 

Definition at line 191 of file yarpros.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 

Definition at line 224 of file yarpros.cpp.

◆ register_port()

bool register_port ( const char *  name,
const char *  carrier,
const char *  hostname,
int  portnum,
PortReader reply 

Definition at line 201 of file yarpros.cpp.

◆ show_usage()

void show_usage ( )

Definition at line 169 of file yarpros.cpp.

◆ showFormat()

string showFormat ( Bottle b,
string  root 

Definition at line 63 of file yarpros.cpp.

◆ usage()

void usage ( const char *  action,
const char *  msg,
const char *  example = nullptr,
const char *  explanation = nullptr 

Definition at line 155 of file yarpros.cpp.

Variable Documentation

◆ verbose

bool verbose = false

Definition at line 20 of file yarpros.cpp.