#include <BrokerSingleton.h>
Inherits shared_ptr.
The broker starts the first time an instance of BrokerSingleton is created and runs untill the process exits.
Useful for unit tests that want to share a broker between multiple tests to reduce overhead of starting/stopping a broker for every test.
Tests that need a new broker can create it directly.
THREAD UNSAFE.