Skip to content

msgflo/msgflo-cpp

Repository files navigation

Build Status

msgflo-cpp: C++ participant support for MsgFlo

MsgFlo is a distributed, polyglot FBP (flow-based-programming) runtime. It integrates with other FBP tools like the Flowhub visual programming IDE. This library makes it easy to create MsgFlo participants in C++.

msgflo-cpp is written in C++11 and is built on top of AMQP-CPP, libmosquitto and json11.

msgflo-cpp is primarily used on Embedded Linux, but should also be portable to other operating systems.

Status

In production

  • Basic Participant support, sends MsgFlo discover message periodically
  • Supports MQTT 3.1.1 and AMQP 0-9-0 (RabbitMQ)
  • Used in production at Bitraf hackerspace for electronic doorlocks since 2016

Usage

See ./examples/repeat.cpp

mkdir build
cmake ..
make
./examples/repeat

License

MIT, see ./LICENSE

Debugging

To enable debug logging, set the MSGFLO_CPP_DEBUG environment variable.

export MSGFLO_CPP_DEBUG=1

About

C++11 library for easily creating MsgFlo participants

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published