#include <HardwareElements.h>
Definition at line 71 of file HardwareElements.h.
Definition at line 85 of file HardwareElements.h.
std::vector< raw::ChannelID_t > fChannelIDs
bool addChannelToSet(raw::ChannelID_t this_channel)
void Hardware::Element::addHardwareID |
( |
HardwareID |
id | ) |
|
|
inline |
Definition at line 91 of file HardwareElements.h.
bool addHardwareIDToSet(HardwareID this_hardwareid)
std::vector< HardwareID > fHardwareIDs
bool Hardware::Element::addHardwareIDToSet |
( |
HardwareID |
this_hardwareid | ) |
|
|
inlineprivate |
std::set<HardwareID> const& Hardware::Element::getHardwareIDsSet |
( |
| ) |
const |
|
inline |
size_t Hardware::Element::getNChannels |
( |
| ) |
const |
|
inline |
size_t Hardware::Element::getNChannelsSet |
( |
| ) |
const |
|
inline |
size_t Hardware::Element::getNHardwareIDs |
( |
| ) |
const |
|
inline |
size_t Hardware::Element::getNHardwareIDsSet |
( |
| ) |
const |
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
Element const & |
rhs |
|
) |
| |
|
friend |
Definition at line 97 of file HardwareElements.h.
99 os << base <<
" has "<< rhs.getNChannels() <<
" channels";
101 std::set<raw::ChannelID_t>
channels = rhs.getChannelsSet();
102 unsigned int max_num_channels = 16;
103 unsigned int this_channel_num = 0;
105 if(this_channel_num==0) os <<
":";
106 if(this_channel_num++ >= max_num_channels) {
114 os <<
"Contains: " << rhs.getNHardwareIDs() <<
" pieces of hardware\n";
115 for(
auto hardwareid : rhs.getHardwareIDsSet()){
116 os << hardwareid <<
"\n";
std::set<HardwareID> Hardware::Element::fHardwareIDsSet |
|
private |
The documentation for this class was generated from the following file: