$treeview $search $mathjax $extrastylesheet
otsdaq
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #ifndef _ots_SupervisorTableBase_h_ 00002 #define _ots_SupervisorTableBase_h_ 00003 00004 #pragma GCC diagnostic push 00005 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 00006 #include <xdaq/Application.h> 00007 #pragma GCC diagnostic pop 00008 #include "otsdaq-core/Macros/CoutMacros.h" 00009 #include "otsdaq-core/Macros/XDAQApplicationMacros.h" 00010 00011 #include <map> 00012 #include <string> 00013 00014 namespace ots 00015 { 00016 // key is the crate number 00017 typedef std::map<xdata::UnsignedIntegerT, XDAQ_CONST_CALL xdaq::ApplicationDescriptor*> 00018 SupervisorDescriptors; 00019 00020 class SupervisorDescriptorInfoBase 00021 { 00022 public: 00023 SupervisorDescriptorInfoBase(void); 00024 virtual ~SupervisorDescriptorInfoBase(void); 00025 00026 virtual void init(xdaq::ApplicationContext* applicationContext); 00027 00028 const SupervisorDescriptors& getDataManagerDescriptors(void) const; 00029 const SupervisorDescriptors& getFEDescriptors(void) const; 00030 const SupervisorDescriptors& getDTCDescriptors(void) const; 00031 const SupervisorDescriptors& getFEDataManagerDescriptors(void) const; 00032 // const SupervisorDescriptors& getARTDAQFEDescriptors (void) const; 00033 const SupervisorDescriptors& getARTDAQFEDataManagerDescriptors(void) const; 00034 const SupervisorDescriptors& getARTDAQDataManagerDescriptors(void) const; 00035 const SupervisorDescriptors& getARTDAQBuilderDescriptors(void) const; 00036 const SupervisorDescriptors& getARTDAQAggregatorDescriptors(void) const; 00037 const SupervisorDescriptors& getVisualDescriptors(void) const; 00038 00039 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getSupervisorDescriptor(void) const; 00040 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getLogbookDescriptor(void) const; 00041 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getWizardDescriptor(void) const; 00042 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getDataManagerDescriptor( 00043 xdata::UnsignedIntegerT instance) const; 00044 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getFEDescriptor( 00045 xdata::UnsignedIntegerT instance) const; 00046 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getDTCDescriptor( 00047 xdata::UnsignedIntegerT instance) const; 00048 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getFEDataManagerDescriptor( 00049 xdata::UnsignedIntegerT instance) const; 00050 // xdaq::ApplicationDescriptor* getARTDAQFEDescriptor 00051 // (xdata::UnsignedIntegerT instance) const; 00052 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getARTDAQFEDataManagerDescriptor( 00053 xdata::UnsignedIntegerT instance) const; 00054 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getARTDAQDataManagerDescriptor( 00055 xdata::UnsignedIntegerT instance) const; 00056 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getARTDAQBuilderDescriptor( 00057 xdata::UnsignedIntegerT instance) const; 00058 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getARTDAQAggregatorDescriptor( 00059 xdata::UnsignedIntegerT instance) const; 00060 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getVisualDescriptor( 00061 xdata::UnsignedIntegerT instance) const; 00062 00063 std::string getFEURL(xdata::UnsignedIntegerT instance) const; 00064 00065 // std::string getARTDAQFEURL (xdata::UnsignedIntegerT instance) const; 00066 // std::string getARTDAQBuilderURL (xdata::UnsignedIntegerT instance) const; 00067 // std::string getARTDAQAggregatorURL (xdata::UnsignedIntegerT instance) const; 00068 00069 protected: 00070 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theSupervisor_; 00071 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theWizard_; 00072 XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theLogbookSupervisor_; 00073 SupervisorDescriptors theVisualSupervisors_; 00074 SupervisorDescriptors theDataManagerSupervisors_; 00075 SupervisorDescriptors theFESupervisors_; 00076 SupervisorDescriptors theDTCSupervisors_; 00077 SupervisorDescriptors theFEDataManagerSupervisors_; 00078 // SupervisorDescriptors theARTDAQFESupervisors_; 00079 SupervisorDescriptors theARTDAQFEDataManagerSupervisors_; 00080 SupervisorDescriptors theARTDAQDataManagerSupervisors_; 00081 SupervisorDescriptors theARTDAQBuilderSupervisors_; 00082 SupervisorDescriptors theARTDAQAggregatorSupervisors_; 00083 }; 00084 } // namespace ots 00085 #endif