Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TTimeStamp.h File Reference
#include "Rtypes.h"
#include <ctime>
Include dependency graph for TTimeStamp.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TTimeStamp
 The TTimeStamp encapsulates seconds and ns since EPOCH. More...
 

Typedefs

typedef struct timespec timespec_t
 
typedef struct tm tm_t
 

Functions

Bool_t operator!= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator< (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
std::ostream & operator<< (std::ostream &os, const TTimeStamp &ts)
 Write time stamp to std::ostream.
 
TBufferoperator<< (TBuffer &buf, const TTimeStamp &ts)
 Write time stamp to TBuffer.
 
Bool_t operator<= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator== (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator> (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator>= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
TBufferoperator>> (TBuffer &buf, TTimeStamp &ts)
 Read time stamp from TBuffer.
 

Variables

R__EXTERN TVirtualMutexgTimeMutex
 

Typedef Documentation

◆ timespec_t

typedef struct timespec timespec_t

Definition at line 27 of file TTimeStamp.h.

◆ tm_t

typedef struct tm tm_t

Definition at line 28 of file TTimeStamp.h.

Function Documentation

◆ operator!=()

Bool_t operator!= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 159 of file TTimeStamp.h.

◆ operator<()

Bool_t operator< ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 163 of file TTimeStamp.h.

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  os,
const TTimeStamp ts 
)

Write time stamp to std::ostream.

Definition at line 60 of file TTimeStamp.cxx.

◆ operator<<() [2/2]

TBuffer & operator<< ( TBuffer buf,
const TTimeStamp ts 
)

Write time stamp to TBuffer.

Definition at line 83 of file TTimeStamp.cxx.

◆ operator<=()

Bool_t operator<= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 168 of file TTimeStamp.h.

◆ operator==()

Bool_t operator== ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 155 of file TTimeStamp.h.

◆ operator>()

Bool_t operator> ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 173 of file TTimeStamp.h.

◆ operator>=()

Bool_t operator>= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 178 of file TTimeStamp.h.

◆ operator>>()

TBuffer & operator>> ( TBuffer buf,
TTimeStamp ts 
)

Read time stamp from TBuffer.

Definition at line 74 of file TTimeStamp.cxx.

Variable Documentation

◆ gTimeMutex

R__EXTERN TVirtualMutex* gTimeMutex

Definition at line 43 of file TTimeStamp.h.