Data structure for UTC time.  
 More...
#include <JDAQUTCExtended.hh>
Data structure for UTC time. 
Definition at line 27 of file JDAQUTCExtended.hh.
 
◆ JUINT32_t
◆ JDAQUTCExtended() [1/3]
  
  
      
        
          | KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JDAQUTCExtended() [2/3]
  
  
      
        
          | KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended  | 
          ( | 
          const JUINT32_t  | 
          seconds,  | 
         
        
           | 
           | 
          const JUINT32_t  | 
          cycles  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | seconds | seconds [s]  | 
    | cycles | cycles [16 ns]  | 
  
   
Definition at line 49 of file JDAQUTCExtended.hh.
 
 
◆ JDAQUTCExtended() [3/3]
  
  
      
        
          | KM3NETDAQ::JDAQUTCExtended::JDAQUTCExtended  | 
          ( | 
          const double  | 
          nanoseconds | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ ~JDAQUTCExtended()
  
  
      
        
          | virtual KM3NETDAQ::JDAQUTCExtended::~JDAQUTCExtended  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ getUTCseconds()
  
  
      
        
          | JUINT32_t KM3NETDAQ::JDAQUTCExtended::getUTCseconds  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getUTC16nanosecondcycles()
  
  
      
        
          | JUINT32_t KM3NETDAQ::JDAQUTCExtended::getUTC16nanosecondcycles  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getTimeNanoSecond()
  
  
      
        
          | double KM3NETDAQ::JDAQUTCExtended::getTimeNanoSecond  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ setTimeNanoSecond()
  
  
      
        
          | void KM3NETDAQ::JDAQUTCExtended::setTimeNanoSecond  | 
          ( | 
          const double  | 
          utc_ns | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ min()
Get minimum possible value. 
- Returns
 - minimum possible value 
 
Definition at line 124 of file JDAQUTCExtended.hh.
 
 
◆ max()
Get maximum possible value. 
- Returns
 - maximum possible value 
 
Definition at line 135 of file JDAQUTCExtended.hh.
  138                              std::numeric_limits<JUINT32_t>::max());
 
 
 
 
◆ getMask()
  
  
      
        
          | static JUINT32_t KM3NETDAQ::JDAQUTCExtended::getMask  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ getTick()
  
  
      
        
          | static double KM3NETDAQ::JDAQUTCExtended::getTick  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ sizeOf()
  
  
      
        
          | static int KM3NETDAQ::JDAQUTCExtended::sizeOf  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ ClassDef()
◆ operator>> [1/2]
Read UTC time. 
- Parameters
 - 
  
    | in | intput stream  | 
    | utc | UTC extended time  | 
  
   
- Returns
 - intput stream 
 
Definition at line 171 of file JDAQUTCExtended.hh.
  173       in >> utc.UTC_seconds;
 
  175       in >> utc.UTC_16nanosecondcycles;
 
 
 
 
◆ operator<< [1/2]
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JDAQUTCExtended &  | 
          utc  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Write UTC time. 
- Parameters
 - 
  
    | out | output stream  | 
    | utc | UTC extended time  | 
  
   
- Returns
 - output stream 
 
Definition at line 188 of file JDAQUTCExtended.hh.
  192       const char c = out.fill();
 
  194       out << setw(10) << utc.getUTCseconds();
 
  196       out << setw(10) << setfill(
'0') << utc.getUTC16nanosecondcycles() << setfill(c);
 
 
 
 
◆ operator>> [2/2]
Read UTC from input. 
- Parameters
 - 
  
  
 
- Returns
 - reader 
 
Definition at line 209 of file JDAQUTCExtended.hh.
  211       in >> utc.UTC_seconds;
 
  212       in >> utc.UTC_16nanosecondcycles;
 
 
 
 
◆ operator<< [2/2]
Write UTC to output. 
- Parameters
 - 
  
  
 
- Returns
 - writer 
 
Definition at line 225 of file JDAQUTCExtended.hh.
  227       out << utc.UTC_seconds;
 
  228       out << utc.UTC_16nanosecondcycles;
 
 
 
 
◆ UTC_seconds
  
  
      
        
          | JUINT32_t KM3NETDAQ::JDAQUTCExtended::UTC_seconds | 
         
       
   | 
  
protected   | 
  
 
 
◆ UTC_16nanosecondcycles
  
  
      
        
          | JUINT32_t KM3NETDAQ::JDAQUTCExtended::UTC_16nanosecondcycles | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: