]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliDCSValue.cxx
Separate library for CDB (Jan)
[u/mrichter/AliRoot.git] / STEER / AliDCSValue.cxx
CommitLineData
57459306 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17$Log$
18Revision 1.2 2006/03/07 07:52:34 hristov
19New version (B.Yordanov)
20
21Revision 1.2 2005/11/17 14:43:23 byordano
22import to local CVS
23
24Revision 1.1.1.1 2005/10/28 07:33:58 hristov
25Initial import as subdirectory in AliRoot
26
27Revision 1.1.1.1 2005/09/12 22:11:40 byordano
28SHUTTLE package
29
30Revision 1.2 2005/08/30 10:53:23 byordano
31some more descriptions added
32
33*/
34
35//
36// This class represents the main value structure
37// which forms so called 'historical data' in any SCADA system.
38// When a value (which represent a parameter of some real world object)
39// is measured in the time, a value serie (called value set) is formed.
40// Each element of this value series has two fields:
41// fValue - primitive value which represents the real measured value
42// fTimestamp - timestamp when the measurement was made
43//
44
45#include "AliDCSValue.h"
46
47#include "TTimeStamp.h"
48
49ClassImp(AliDCSValue)
50
51AliDCSValue::AliDCSValue() {
52
53}
54
55AliDCSValue::AliDCSValue(const AliSimpleValue& value, UInt_t timeStamp):
56 fValue(value), fTimeStamp(timeStamp)
57{
58
59}
60
61
62TString AliDCSValue::ToString() const {
63
64 return fValue.ToString() + ", Timestmap: " +
65 TTimeStamp(fTimeStamp).AsString();
66}
67
68