![]() |
|
|||
File indexing completed on 2025-08-03 08:20:50
0001 #ifndef __PACKET_CDEVBPM_H__ 0002 #define __PACKET_CDEVBPM_H__ 0003 0004 #include <packet_w124.h> 0005 0006 /** 0007 This is the packet decoding the CDEV BPM data. 0008 It inherits from Packet\_w4 because the data are 32bit entities. 0009 */ 0010 #ifndef __CINT__ 0011 class WINDOWSEXPORT Packet_cdevbpm : public Packet_w4 { 0012 #else 0013 class Packet_cdevbpm : public Packet_w4 { 0014 #endif 0015 0016 public: 0017 Packet_cdevbpm(PACKET_ptr); 0018 /** with the "what" parameter you can decide which aspect of 0019 the data is made available. This class is one of those which have 0020 several different "kinds" of data; we use this to bring up 0021 the misc. . 0022 0023 \begin{verbatim} 0024 packet->iValue(i,"NOREADINGS") returns the number of bpm devices 0025 packet->iValue(i, "avgOrbTimeStamp") you get the avgOrbTimeStamp - int 0026 packet->rValue(i, "avgOrbPosition") gives you the avgOrbPosition - float 0027 packet->rValue(i, "avgOrbVariance") you get the avgOrbVariance - float 0028 packet->rValue(i, "avgOrbStat") you get the avgOrbStat - float 0029 \end{verbatim} 0030 0031 */ 0032 0033 0034 int iValue(const int channel,const char *what); 0035 float rValue(const int channel,const char *what); 0036 // float rValue(const int channel,const int y); 0037 0038 0039 void dump ( OSTREAM& ) ; 0040 0041 protected: 0042 virtual int *decode (int *); 0043 struct cdevBPMData *ps; 0044 int no_structures; 0045 0046 }; 0047 0048 #endif /* __PACKET_CDEVBPM_H__ */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |