Simple class to store name and included channels for this group.
More...
#include <DAQChannels.hpp>
|
| void | add (uint16_t ch) |
| | Adds channel to this group. More...
|
| |
| void | remove (uint16_t ch) |
| | Removes channel from this group. More...
|
| |
| const std::string & | getName () const noexcept |
| | Returns the name of the group. More...
|
| |
| const std::vector< uint16_t > & | getChannels () const noexcept |
| | Returns the vector of channel numbers assigned to this group. More...
|
| |
Simple class to store name and included channels for this group.
◆ add()
| void pottu::DAQChannels::DetectorGroup::add |
( |
uint16_t |
ch | ) |
|
|
inline |
Adds channel to this group.
- Parameters
-
| ch | Data-acquisition channel number. Same channel can be added only once. |
◆ getChannels()
| const std::vector<uint16_t>& pottu::DAQChannels::DetectorGroup::getChannels |
( |
| ) |
const |
|
inlinenoexcept |
Returns the vector of channel numbers assigned to this group.
- Returns
- The vector of channel numbers assigned to this group. Vector is sorted to ascending channel numbers.
◆ getName()
| const std::string& pottu::DAQChannels::DetectorGroup::getName |
( |
| ) |
const |
|
inlinenoexcept |
Returns the name of the group.
- Returns
- Name of the group.
◆ remove()
| void pottu::DAQChannels::DetectorGroup::remove |
( |
uint16_t |
ch | ) |
|
|
inline |
Removes channel from this group.
- Parameters
-
| ch | Data-acquisition channel number |
The documentation for this class was generated from the following file: