33 lines
555 B
C++
Executable File
33 lines
555 B
C++
Executable File
#pragma once
|
|
|
|
#include <ExerciseManagement/exm_ftc.h>
|
|
|
|
#include <QObject>
|
|
|
|
#include <memory>
|
|
|
|
|
|
class QRandomGenerator;
|
|
namespace LtsSession { class LtsSession; }
|
|
|
|
|
|
namespace DeveloperTools
|
|
{
|
|
class FtcMock : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit FtcMock(LtsSession::LtsSession *session, int min, int max, int timers);
|
|
void mock();
|
|
~FtcMock();
|
|
|
|
private:
|
|
LtsSession::LtsSession *m_session;
|
|
std::shared_ptr<ExerciseManagement::Interface::Ftc> m_exmFtc;
|
|
QRandomGenerator *m_gen;
|
|
int m_min;
|
|
int m_max;
|
|
};
|
|
|
|
} // namespace DeveloperTools
|