File indexing completed on 2025-01-18 10:17:39
0001
0002
0003
0004 #include <JANA/JApplication.h>
0005 #include <JANA/JLogger.h>
0006
0007 #include "JControlZMQ.h"
0008
0009
0010 extern "C" {
0011 void InitPlugin(JApplication* app) {
0012
0013 InitJANAPlugin(app);
0014
0015 int JANA_ZMQ_PORT = 11238;
0016 app->SetDefaultParameter("jana:zmq_port", JANA_ZMQ_PORT, "TCP port used to by janacontrol plugin for ZMQ communication.");
0017
0018 LOG << "Loading janacontrol. Listening on port " << JANA_ZMQ_PORT << " (use jana:zmq_port to change)" << LOG_END;
0019
0020
0021 new JControlZMQ( app, JANA_ZMQ_PORT );
0022
0023 }
0024 }
0025