74 static void validateHAddress(
int crate,
int slot,
int channel);
Represents an electronic module address (crate/slot/channel) with configurable comparison granularity...
GElectronic(int c, int s, int ch, ComparisonMode comparison_mode)
Constructs a GElectronic with a specific hardware address and comparison mode.
void setHAddress(int c, int s, int ch)
Sets the hardware address fields (crate/slot/channel).
friend std::ostream & operator<<(std::ostream &stream, const GElectronic &ge)
Stream output helper for diagnostics and logging.
std::vector< int > getHAddress() const
Returns the hardware address as a vector of three integers.
ComparisonMode
Selects which hardware-address fields participate in comparison.