YARP
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.

Functions

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[])
 

Variables

bool verbose = false
 

Function Documentation

◆ addPart()

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

Definition at line 23 of file yarpros.cpp.

◆ announce_port()

bool announce_port ( const char *  name,
PortReader reply 
)

Definition at line 192 of file yarpros.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)
Examples:
bottle/main.cpp, carrier/carrier_stub.cpp, dev/fake_motor.cpp, dev/file_grabber.cpp, dev/grabber_client.cpp, dev/motortest.cpp, external/nameclient.c, framerate/main.cpp, imagemagick/main.cpp, opencv/main.cpp, os/bottle_add.cpp, os/browse_bottle.cpp, os/buffered_port.cpp, os/database.cpp, os/image_process.cpp, os/image_process_module.cpp, os/image_source.cpp, os/make_count.cpp, os/portable_pair.cpp, os/ratethread.cpp, os/simple_receiver.cpp, os/simple_sender.cpp, os/summer.cpp, os/threads.cpp, os/view_count.cpp, port_power/ex0000_receiver.cpp, port_power/ex0001_sender.cpp, port_power/ex0002_connector.cpp, port_power/ex0100_receiver.cpp, port_power/ex0101_sender.cpp, port_power/ex0200_polling.cpp, port_power/ex0300_port_callback.cpp, port_power/ex0301_buffered_callback.cpp, port_power/ex0302_buffered_ext_callback.cpp, port_power/ex0400_expect_reply.cpp, port_power/ex0401_give_reply.cpp, port_power/ex0402_port_callback_reply.cpp, port_power/ex0403_bufferedport_callback_reply.cpp, port_power/ex0500_raw_target_receiver.cpp, port_power/ex0501_raw_target_sender.cpp, port_power/ex0502_raw_target_connector.cpp, port_power/ex0503_serial_target_receiver.cpp, port_power/ex0504_serial_target_sender.cpp, port_power/ex0505_compliant_target_receiver.cpp, port_power/ex0506_compliant_target_sender.cpp, port_power/ex0507_alternative_compliant_target_receiver.cpp, port_power/ex0508_alternative_compliant_target_sender.cpp, portaudio/sound_receiver.cpp, portaudio/sound_sender_mic.cpp, and property/main.cpp.

Definition at line 225 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 202 of file yarpros.cpp.

◆ show_usage()

void show_usage ( )

Definition at line 170 of file yarpros.cpp.

◆ showFormat()

string showFormat ( Bottle b,
string  root 
)

Definition at line 64 of file yarpros.cpp.

◆ usage()

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

Definition at line 156 of file yarpros.cpp.

Variable Documentation

◆ verbose

bool verbose = false

Definition at line 21 of file yarpros.cpp.