List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
sdet::T2Life Class Reference

#include <T2Life.h>

Public Member Functions

const std::vector< unsigned int > & GetValidStations (const unsigned int theGPSSecond)
 

Static Public Member Functions

static T2LifeGetT2Life ()
 Get singleton. More...
 

Private Member Functions

void SetFile (unsigned int theGPSSecond)
 
 T2Life ()
 
 ~T2Life ()
 

Private Attributes

unsigned int fCurrentFileEnd = 0
 
unsigned int fCurrentFileStart = 0
 
unsigned int fCurrentStart = 0
 
unsigned int fCurrentStop = 0
 
std::ifstream * fFile = nullptr
 
std::map< unsigned int,
std::pair< unsigned int,
std::ifstream * > > 
fFiles
 
std::vector< unsigned int > fValidStations
 

Static Private Attributes

static T2LifegfT2Life = nullptr
 

Detailed Description

T2 uptime reader. Singleton class.

This class is the one that implements the reading of T2Life files. The T2LifeFileManager calls this to do the actual reading.

Author
Lukas Nellen
Javier Gonzalez

Definition at line 21 of file T2Life.h.

Constructor & Destructor Documentation

T2Life::T2Life ( )
private
sdet::T2Life::~T2Life ( )
private

Member Function Documentation

T2Life & T2Life::GetT2Life ( )
static

Get singleton.

Definition at line 38 of file T2Life.cc.

const vector< unsigned int > & T2Life::GetValidStations ( const unsigned int  theGPSSecond)

Definition at line 48 of file T2Life.cc.

void T2Life::SetFile ( unsigned int  theGPSSecond)
private

Definition at line 105 of file T2Life.cc.

References file.

Member Data Documentation

unsigned int sdet::T2Life::fCurrentFileEnd = 0
private

Definition at line 40 of file T2Life.h.

unsigned int sdet::T2Life::fCurrentFileStart = 0
private

Definition at line 39 of file T2Life.h.

unsigned int sdet::T2Life::fCurrentStart = 0
private

Definition at line 37 of file T2Life.h.

unsigned int sdet::T2Life::fCurrentStop = 0
private

Definition at line 38 of file T2Life.h.

std::ifstream* sdet::T2Life::fFile = nullptr
private

Definition at line 42 of file T2Life.h.

std::map<unsigned int, std::pair<unsigned int, std::ifstream*> > sdet::T2Life::fFiles
private

Definition at line 45 of file T2Life.h.

std::vector<unsigned int> sdet::T2Life::fValidStations
private

Definition at line 43 of file T2Life.h.

T2Life * T2Life::gfT2Life = nullptr
staticprivate

Definition at line 35 of file T2Life.h.


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.