1#ifndef CH_SEQUENCE_GENERATOR_H
2#define CH_SEQUENCE_GENERATOR_H
8#include <QRandomGenerator>
9#include <QVarLengthArray>
12#include "codec/encdec.h"
14namespace PxCryptPrivate
17class ChSequenceGenerator
29 static constexpr std::array<Channel, 3> ALL_CHANNELS{Channel::Red, Channel::Green, Channel::Blue};
34 ChannelTracker mUnusedChannels;
39 ChSequenceGenerator(
const State& state);
46 bool pixelExhausted()
const;
53 bool operator==(
const State& state)
const;
56class ChSequenceGenerator::State
61 ChannelTracker mChannels;
70 ChannelTracker channels()
const;
QTextStream & reset(QTextStream &stream)