YARP
Yet Another Robot Platform
yarpros.cpp File Reference
#include "RosSlave.h"
#include "RosLookup.h"
#include "TcpRosStream.h"
#include <yarp/os/Vocab.h>
#include <yarp/os/LogComponent.h>
#include <yarp/os/LogStream.h>
#include <cstdio>
#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[])
 

Function Documentation

◆ addPart()

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

Definition at line 61 of file yarpros.cpp.

◆ announce_port()

bool announce_port ( const char *  name,
PortReader reply 
)

Definition at line 228 of file yarpros.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)
Examples
bottle/main.cpp, carrier/carrier_stub.cpp, dev/fake_motor/fake_motor.cpp, dev/file_grabber/file_grabber.cpp, dev/grabber_client/grabber_client.cpp, dev/motortest/motortest.cpp, external/nameclient.c, framerate/main.cpp, imagemagick/main.cpp, opencv/main.cpp, os/bottle_add/bottle_add.cpp, os/browse_bottle/browse_bottle.cpp, os/buffered_port/buffered_port.cpp, os/database/database.cpp, os/image_process/image_process.cpp, os/image_process_module/image_process_module.cpp, os/image_source/image_source.cpp, os/make_count/make_count.cpp, os/periodicthread/periodicthread.cpp, os/portable_pair/portable_pair.cpp, os/simple_receiver/simple_receiver.cpp, os/simple_sender/simple_sender.cpp, os/summer/summer.cpp, os/threads/threads.cpp, os/view_count/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, and property/main.cpp.

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

◆ show_usage()

void show_usage ( )

Definition at line 208 of file yarpros.cpp.

◆ showFormat()

string showFormat ( Bottle b,
string  root 
)

Definition at line 102 of file yarpros.cpp.

◆ usage()

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

Definition at line 194 of file yarpros.cpp.