$treeview $search $mathjax $extrastylesheet
otsdaq_components
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 #ifndef _ots_FEPurdueFSSRInterfaceTable_h_ 00002 #define _ots_FEPurdueFSSRInterfaceTable_h_ 00003 00004 #include <string> 00005 #include "otsdaq-core/TableDataFormats/FEInterfaceTableBase.h" 00006 00007 namespace ots 00008 { 00009 class FEPurdueFSSRInterfaceTable : public FEInterfaceTableBase 00010 { 00011 public: 00012 FEPurdueFSSRInterfaceTable(void); 00013 virtual ~FEPurdueFSSRInterfaceTable(void); 00014 00015 // Methods 00016 void init(ConfigurationManager* configManager); 00017 00018 // Getters 00019 bool getStatus(std::string interfaceID) const; 00020 bool getChannelStatus(std::string interfaceID, unsigned int channel) const; 00021 unsigned int getFirmwareVersion(std::string interfaceID) const; 00022 std::string getIPAddress(std::string interfaceID) const; 00023 unsigned int getPort(std::string interfaceID) const; 00024 std::string getInterfaceIPAddress(std::string interfaceID) const; 00025 unsigned int getInterfacePort(std::string interfaceID) const; 00026 std::string getClockSelect(std::string interfaceID) const; 00027 double getClockSpeedMHz(std::string interfaceID) const; 00028 std::string getStreamingIPAddress(std::string interfaceID) const; 00029 unsigned int getStreamingPort(std::string interfaceID) const; 00030 00031 private: 00032 enum 00033 { 00034 InterfaceID, 00035 Status, 00036 FirmwareVersion, 00037 IPAddress, 00038 Port, 00039 InterfaceIPAddress, 00040 InterfacePort, 00041 StreamingIPAddress, 00042 StreamingPort, 00043 ClockSelect, 00044 ClockSpeedMHz, 00045 ChannelStatus0, 00046 ChannelStatus1, 00047 ChannelStatus2, 00048 ChannelStatus3, 00049 ChannelStatus4, 00050 ChannelStatus5 00051 }; 00052 }; 00053 } 00054 #endif