otsdaq_components  v2_02_00
InterfaceTestMain.cc
1 /*
2 #include "otsdaq-demo/FEInterfaces/FEWInterfacesManager.h"
3 #include "otsdaq-core/ConfigurationInterface/ConfigurationManager.h"
4 #include "otsdaq-core/ConfigurationDataFormats/ConfigurationKey.h"
5 
6 #include "otsdaq-demo/FEInterfaces/FEWOtsGenericInterface.h"
7 #include "otsdaq-demo/FEInterfaces/FEWPurdueFSSRInterface.h"
8 #include "otsdaq-core/FECore/FEVInterface.h"
9 
10 #include "otsdaq-core/ConfigurationInterface/ConfigurationInterface.h"
11 #include "otsdaq-core/ConfigurationPluginDataFormats/Configurations.h"
12 //#include "otsdaq-core/ConfigurationDataFormats/FrontEndConfiguration.h"
13 #include "otsdaq-core/ConfigurationDataFormats/FEWOtsUDPHardwareConfiguration.h"
14 
15 #include <iostream>
16 
17 #include "../FEInterfaces/FEWOtsUDPFSSRInterface.h"
18 #include "../FEInterfaces/FEWOtsUDPHCALInterface.h"
19 
20 using namespace ots;
21 */
22 int main()
23 {
24  return 1;
25 }
26 /*
27  //Variables
28  const int supervisorInstance_ = 1;
29  const int configurationKeyValue_ = 0;
30  const ConfigurationKey* theConfigurationKey_ = new ConfigurationKey(configurationKeyValue_);
31 
33  //INSERTED GLOBALLY IN THE CODE
34 // ConfigurationManager* theConfigurationManager_ = new ConfigurationManager;
35 // FEWInterfacesManager theFEWInterfacesManager_(theConfigurationManager_, supervisorInstance_);
36 //
37 // theConfigurationManager_->setupFEWSupervisorConfiguration(theConfigurationKey_,supervisorInstance_);
38 // theFEWInterfacesManager_.configure();
40 
42  //Getting just the informations about the FEWInterface
43 
44 // const int fecInterfaceNumber_ = 0;
45 // ConfigurationInterface* theInterface_;
46 // theInterface_ = ConfigurationInterface::getInstance(true);//FIXME This will be variable because if false it takes it from the database
47 // Configurations* configurations = 0;
48 // theInterface_->get(configurations);
49 // FEConfiguration* frontEndConfiguration = 0;
50 // theInterface_->get(frontEndConfiguration, theConfigurationKey_, configurations);
51 // FEWOtsUDPHardwareConfiguration* interfaceConfiguration_ = 0;
52 //
53 // if(configurations->findKOC(theConfigurationKey_->key(),"FEWOtsUDPHardwareConfiguration"))
54 // theInterface_->get(interfaceConfiguration_, theConfigurationKey_, configurations);
57 // FEVInterface* theFEWInterface = new FEWOtsGenericInterface(fecInterfaceNumber_, "OTS_UDP", "FSSR", interfaceConfiguration_);
59 //
60 // theFEWInterface->configureFEW();
61 // // theFEWInterface->start();
62 // //theFEWInterface->configureDetector();
64 
65  return 0;
66 }
67 */