$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 friend class SupervisorInfo; //"Friend" class needs access to private members 00023 public: 00024 SupervisorDescriptorInfoBase(void); 00025 SupervisorDescriptorInfoBase(xdaq::ApplicationContext* applicationContext); 00026 virtual ~SupervisorDescriptorInfoBase(void); 00027 00028 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getSupervisorDescriptor (void) 00029 // const; XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getWizardDescriptor 00030 // (void) const; 00031 00032 protected: 00033 virtual void init(xdaq::ApplicationContext* applicationContext); 00034 virtual void destroy(); 00035 00036 const SupervisorDescriptors& getAllDescriptors(void) const; 00037 // const SupervisorDescriptors& getAllFEDescriptors (void) const; 00038 00039 // const SupervisorDescriptors& getDataManagerDescriptors (void) const; 00040 // const SupervisorDescriptors& getFEDescriptors (void) const; 00041 // //const SupervisorDescriptors& getDTCDescriptors (void) const; 00042 // const SupervisorDescriptors& getFEDataManagerDescriptors (void) const; 00043 // //const SupervisorDescriptors& getARTDAQFEDescriptors (void) const; 00044 // const SupervisorDescriptors& getARTDAQFEDataManagerDescriptors(void) const; 00045 // const SupervisorDescriptors& getARTDAQDataManagerDescriptors (void) const; 00046 // const SupervisorDescriptors& getARTDAQBuilderDescriptors (void) const; 00047 // const SupervisorDescriptors& getARTDAQAggregatorDescriptors (void) const; 00048 // const SupervisorDescriptors& getVisualDescriptors (void) const; 00049 00050 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getLogbookDescriptor (void) const; 00051 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getDataManagerDescriptor 00052 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00053 // xdaq::ApplicationDescriptor* getFEDescriptor 00054 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00055 // xdaq::ApplicationDescriptor* getDTCDescriptor 00056 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00057 // xdaq::ApplicationDescriptor* getFEDataManagerDescriptor 00058 // (xdata::UnsignedIntegerT instance) const; 00059 // //xdaq::ApplicationDescriptor* getARTDAQFEDescriptor 00060 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00061 // xdaq::ApplicationDescriptor* 00062 // getARTDAQFEDataManagerDescriptor(xdata::UnsignedIntegerT instance) const; 00063 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* getARTDAQDataManagerDescriptor 00064 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00065 // xdaq::ApplicationDescriptor* getARTDAQBuilderDescriptor 00066 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00067 // xdaq::ApplicationDescriptor* getARTDAQAggregatorDescriptor 00068 // (xdata::UnsignedIntegerT instance) const; XDAQ_CONST_CALL 00069 // xdaq::ApplicationDescriptor* getVisualDescriptor 00070 // (xdata::UnsignedIntegerT instance) const; 00071 00072 // std::string getFEURL 00073 // (xdata::UnsignedIntegerT instance) const; 00074 00075 // std::string getARTDAQFEURL (xdata::UnsignedIntegerT instance) const; 00076 // std::string getARTDAQBuilderURL (xdata::UnsignedIntegerT instance) const; 00077 // std::string getARTDAQAggregatorURL (xdata::UnsignedIntegerT instance) const; 00078 00079 protected: 00080 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theSupervisor_; 00081 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theWizard_; 00082 // XDAQ_CONST_CALL xdaq::ApplicationDescriptor* theLogbookSupervisor_; 00083 // 00084 // SupervisorDescriptors theVisualSupervisors_; 00085 // SupervisorDescriptors theDataManagerSupervisors_; 00086 // SupervisorDescriptors theFESupervisors_; 00087 // SupervisorDescriptors theDTCSupervisors_; 00088 // SupervisorDescriptors theFEDataManagerSupervisors_; 00089 // //SupervisorDescriptors theARTDAQFESupervisors_; 00090 // SupervisorDescriptors theARTDAQFEDataManagerSupervisors_; 00091 // SupervisorDescriptors theARTDAQDataManagerSupervisors_; 00092 // SupervisorDescriptors theARTDAQBuilderSupervisors_; 00093 // SupervisorDescriptors theARTDAQAggregatorSupervisors_; 00094 00095 SupervisorDescriptors allSupervisors_; 00096 // SupervisorDescriptors allFETypeSupervisors_; 00097 }; 00098 } // namespace ots 00099 #endif