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