33 CanvasConfig(std::string_view name, std::string_view title,
int nPadsX = 1,
int nPadsY = 1);
A class representing a pad config in the message for the Histogram server.
A canvas configuration for the histogram server.
std::string ToString() const
Returns message config.
CanvasConfig & operator=(CanvasConfig &&)=default
Move assignment operator.
CanvasConfig(CanvasConfig &&)=default
Move constructor.
std::vector< std::string > fvsPadConfigs
Vector of pad config messages.
void AddPadConfig(const PadConfig &pad)
Adds a pad to the canvas.
int fNofPadsY
Number of pads along the y-axis.
int fNofPadsX
Number of pads along the x-axis.
~CanvasConfig()=default
Destructor.
std::string fsName
Name of the canvas.
CanvasConfig(std::string_view name, std::string_view title, int nPadsX=1, int nPadsY=1)
Constructor.
CanvasConfig & operator=(const CanvasConfig &)=default
Copy assignment operator.
CanvasConfig(const CanvasConfig &)=default
Copy constructor.
std::string fsTitle
Name of the pad.
A pad configuration for the histogram server.