ctp3-mon  0.3.0
 All Classes Functions Variables Pages
Ctp3DimInfoData.h
1 #pragma once
2 
3 #include "Ctp3DimData.h"
4 #include <czmq.h>
5 #include <dic.hxx>
6 #include <spdlog/spdlog.h>
7 
14 
15 class Ctp3DimInfoData : public DimInfo {
16 public:
17  Ctp3DimInfoData(std::string name = "tpc/MONBUSY",
18  std::string group = "monbusy", zsock_t *sub = 0);
19  virtual ~Ctp3DimInfoData();
20 
21  virtual void infoHandler() final;
22 
23 protected:
24  std::shared_ptr<spdlog::logger> _logger;
25  std::string _group;
26  zsock_t *_zmqsub;
27 };
std::shared_ptr< spdlog::logger > _logger
Pointer to spd logger.
virtual void infoHandler() final
virtual ~Ctp3DimInfoData()
Ctp3 dim info object class.
zsock_t * _zmqsub
Pointer to global zmq publisher.
Ctp3DimInfoData(std::string name="tpc/MONBUSY", std::string group="monbusy", zsock_t *sub=0)
std::string _group
groupname