FairRoot/PandaRoot
Functions
runPndMQMergerTest.cxx File Reference
#include <PndMQMergerTest.h>
#include <csignal>
#include "FairMQLogger.h"
#include "runSimpleMQStateMachine.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 std More...
 

Function Documentation

int main ( int  argc,
char **  argv 
)

std

FairRoot - FairMQ - base/MQ

Definition at line 15 of file runPndMQMergerTest.cxx.

16 {
17  try
18  {
19 
20  po::options_description merger_options("Merger options");
21 
22  FairMQProgOptions config;
23  config.AddToCmdLineOptions(merger_options);
24 
25  config.ParseAll(argc, argv);
26 
27  PndMQMergerTest testMerger;
28 
29 
30  runStateMachine(testMerger, config);
31 
32 
33  }
34  catch (std::exception& e)
35  {
36  LOG(ERROR) << "Unhandled Exception reached the top of main: "
37  << e.what() << ", application will now exit";
38  return 1;
39  }
40 
41  return 0;
42 }