Line data Source code
1 : #include "artdaq/Application/LoadParameterSet.hh"
2 : #include "proto/artdaqapp.hh"
3 :
4 0 : int main(int argc, char* argv[])
5 : try
6 : {
7 0 : fhicl::ParameterSet config_ps = LoadParameterSet<artdaq::artdaqapp::Config>(argc, argv, "routing_manager", "This is the artdaq Routing Manager application\nThe Routing Manager receives tokens from the receivers, builds Routing Tables using those tokens and a Routing Policy plugin, then sends the routing tables to the senders.");
8 :
9 0 : artdaq::detail::TaskType task = artdaq::detail::TaskType::RoutingManagerTask;
10 :
11 0 : artdaq::artdaqapp::runArtdaqApp(task, config_ps);
12 :
13 0 : return 0;
14 0 : }
15 0 : catch (...)
16 : {
17 0 : return -1;
18 0 : }
|