1 #ifndef ALISHUTTLESTATUS_H
2 #define ALISHUTTLESTATUS_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 // This class stores the status of the Shuttle processing for a given run and a given detector
15 class AliShuttleStatus : public TObject
39 AliShuttleStatus(const AliShuttleStatus& c);
43 AliShuttleStatus& operator=(const AliShuttleStatus& c);
44 virtual void Copy(TObject& c) const;
46 AliShuttleStatus(Status status);
48 UInt_t GetTimeStamp() const { return fTimeStamp; }
49 void SetTimeStamp(UInt_t timeStamp) { fTimeStamp = timeStamp; }
51 Status GetStatus() const { return fStatus; }
52 const char* GetStatusName() const { return GetStatusName(fStatus); }
53 void SetStatus(Status status);
55 Int_t GetCount() const { return fCount; }
56 void SetCount(Int_t count) { fCount = count; }
57 void IncreaseCount() { fCount++; }
59 static const char* GetStatusName(Status status);
62 UInt_t fTimeStamp; // timestamp of the last change
63 Status fStatus; // status of the processing
64 Int_t fCount; // number of retries
66 ClassDef(AliShuttleStatus, 1);