This is an example of creating a simple node with one publisher
#include <b0/node.h>
#include <b0/publisher.h>
#include <iostream>
int main(int argc, char **argv)
{
int i = 0;
{
std::string msg = (boost::format("msg-%d") % i++).str();
std::cout << "Sending: " << msg << std::endl;
boost::this_thread::sleep_for(boost::chrono::milliseconds(500));
}
return 0;
}