Minor bugfixes and extensions for the onlineDiplay Interface
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManager.h
CommitLineData
a82a31af 1//-*- Mode: C++ -*-
2
d810d0de 3// $Id$
4// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
5
6/**************************************************************************
7 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
8 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 9 * full copyright notice. *
d810d0de 10 **************************************************************************/
a15e6d7d 11
a82a31af 12#ifndef ALIEVEHOMERMANAGER_H
13#define ALIEVEHOMERMANAGER_H
059c30e4 14
15/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
16 * See cxx source for full Copyright notice */
17
d810d0de 18/** @file AliEveHOMERManager.h
059c30e4 19 @author Jochen Thaeder
51346b82 20 @date
a82a31af 21 @brief Manager for HOMER in offline. Inherits most functionalitye
22 from AliHLTHOMERManager, with small additions for alieve interface
059c30e4 23*/
a82a31af 24#include <AliHLTHOMERManager.h>
25#include <TEveEventManager.h>
46eadbb4 26#include "AliEveHOMERSourceList.h"
6612c5b3 27
059c30e4 28
a82a31af 29class AliEveHOMERManager : public AliHLTHOMERManager, public TEveElementList
059c30e4 30{
31public:
32
33 /*
34 * ---------------------------------------------------------------------------------
51346b82 35 * Constructor / Destructor
36 * ---------------------------------------------------------------------------------
059c30e4 37 */
38
46eadbb4 39 /** constructor */
a82a31af 40 AliEveHOMERManager();
46eadbb4 41
059c30e4 42 /** destructor */
d810d0de 43 virtual ~AliEveHOMERManager();
059c30e4 44
059c30e4 45
059c30e4 46 /*
47 * ---------------------------------------------------------------------------------
a82a31af 48 * Source Handling - public
51346b82 49 * ---------------------------------------------------------------------------------
059c30e4 50 */
51346b82 51
a82a31af 52 /** Create Sources List from HOMER-Proxy
53 * @return 0 on success, <0 for failure, 1 for no active service
059c30e4 54 */
a82a31af 55 Int_t CreateEveSourcesList();
9e78371d 56
57 Int_t CreateEveSourcesListLoop();
46eadbb4 58
703482d8 59 Int_t ConnectEVEtoHOMER(TString detector="ALL");
51346b82 60
9e78371d 61 void SetRetryCount(Int_t count, Int_t sleeptime) { fRetryCount = count; fRetrySleeptime = sleeptime; }
62
46eadbb4 63 ///////////////////////////////////////////////////////////////////////////////////
059c30e4 64
65private:
66
a82a31af 67 /** copy constructor prohibited */
68 AliEveHOMERManager(const AliEveHOMERManager&);
059c30e4 69
a82a31af 70 /** assignment operator prohibited */
71 AliEveHOMERManager& operator=(const AliEveHOMERManager&);
059c30e4 72
73 /*
74 * ---------------------------------------------------------------------------------
75 * Members - private
51346b82 76 * ---------------------------------------------------------------------------------
059c30e4 77 */
78
059c30e4 79 // == sources ==
a82a31af 80 AliEveHOMERSourceList* fSrcList; // List of Connected HOMER Sources
059c30e4 81
9e78371d 82 Int_t fRetryCount;
83
84 Int_t fRetrySleeptime;
85
a82a31af 86 ClassDef(AliEveHOMERManager, 0); // Manage connections to HLT data-sources.
51346b82 87
a82a31af 88};
059c30e4 89
6612c5b3 90
059c30e4 91
92#endif