mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
docs: replace the Markdown docs with links to the site
- Remove docs/*.md and docs/images/ - Rewrite README.md: description, install, first steps and links to the site - Replace the READMEs of the examples, fairmq/shmem, fairmq/devices and fairmq/tools with links to the site pages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,35 +1,5 @@
|
||||
# FairMQ Tools
|
||||
# Tools
|
||||
|
||||
Contains common tools for use by FairMQ and/or users.
|
||||
This folder holds the helpers in `fair::mq::tools`. The documentation lists them:
|
||||
|
||||
## fair::mq::tools::getHostIPs
|
||||
|
||||
Fills a map with the network interfaces and their IP addresses available on the current host.
|
||||
|
||||
#### Example usage
|
||||
|
||||
```c++
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
#include <fairmq/Tools.h>
|
||||
|
||||
void main()
|
||||
{
|
||||
std::map<string,string> IPs;
|
||||
|
||||
fair::mq::tools::getHostIPs(IPs);
|
||||
|
||||
for (std::map<string,string>::iterator it = IPs.begin(); it != IPs.end(); ++it)
|
||||
{
|
||||
std::cout << it->first << ": " << it->second << std::endl;
|
||||
}
|
||||
}
|
||||
```
|
||||
##### Example Output
|
||||
```
|
||||
eth0: 123.123.1.123
|
||||
ib0: 123.123.2.123
|
||||
lo: 127.0.0.1
|
||||
```
|
||||
* [Helpers in fair::mq::tools](https://fairrootgroup.github.io/FairMQ/reference/tools/)
|
||||
|
||||
Reference in New Issue
Block a user