File indexing completed on 2025-08-03 08:20:55
0001 #ifndef CLIENTHISTOLIST_H__
0002 #define CLIENTHISTOLIST_H__
0003
0004 #include <iostream>
0005 #include <string>
0006
0007 class TH1;
0008
0009 class ClientHistoList
0010 {
0011 public:
0012 ClientHistoList();
0013 explicit ClientHistoList(const std::string &subsys);
0014
0015 virtual ~ClientHistoList();
0016
0017 TH1 *Histo() const;
0018 void Histo(TH1 *Histo);
0019 const std::string ServerHost() const;
0020 void ServerHost(const std::string &ServerHost);
0021 const std::string SubSystem() const;
0022 void SubSystem(const std::string &SubSystem);
0023 void ServerPort(const int port);
0024 int ServerPort() const;
0025 void identify(std::ostream &os = std::cout) const;
0026
0027 protected:
0028 TH1 *histo;
0029 int serverport;
0030 std::string serverhost;
0031 std::string subsystem;
0032 };
0033
0034 #endif