| 769 | |
| 770 | template <typename T> |
| 771 | void IChannel::SetChannelValues(const std::vector<T>& values) { |
| 772 | const auto array_size = ArraySize(); |
| 773 | uint64_t index = 0; |
| 774 | for (const T& value : values) { |
| 775 | if (index < array_size) { |
| 776 | SetChannelValue(value, true, index); |
| 777 | } |
| 778 | ++index; |
| 779 | } |
| 780 | } |
| 781 | |
| 782 | } // namespace mdf |