Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
TMPIClientInfo.h
Go to the documentation of this file.
1// @(#)root/io:$Id$
2// Author: Amit Bashyal, August 2018
3
4/*************************************************************************
5 * Copyright (C) 1995-2009, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TMPIClientInfo
13#define ROOT_TMPIClientInfo
14
15#include "TFile.h"
16#include "TTimeStamp.h"
17
19
20private:
26
27 static void MigrateKey(TDirectory *destination, TDirectory *source);
28
29public:
30 TMPIClientInfo(); // default constructor
31 TMPIClientInfo(const char *filename, UInt_t clientID); // another constructor
32 virtual ~TMPIClientInfo();
33
34 TFile *GetFile() const { return fFile; }
35 TString GetLocalName() const { return fLocalName; }
37
38 void SetFile(TFile *file);
39
41};
42#endif
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
Definition RtypesCore.h:60
double Double_t
Double 8 bytes.
Definition RtypesCore.h:73
#define ClassDef(name, id)
Definition Rtypes.h:344
Describe directory structure in memory.
Definition TDirectory.h:45
A file, usually with extension .root, that stores data and code in the form of serialized objects in ...
Definition TFile.h:130
TTimeStamp fLastContact
TFile * GetFile() const
virtual ~TMPIClientInfo()
Double_t fTimeSincePrevContact
TString GetLocalName() const
Double_t GetTimeSincePrevContact() const
void SetFile(TFile *file)
static void MigrateKey(TDirectory *destination, TDirectory *source)
Basic string class.
Definition TString.h:138
The TTimeStamp encapsulates seconds and ns since EPOCH.
Definition TTimeStamp.h:45
auto filename
void file()
Definition file.C:11