47 lines
958 B
C++
Executable File
47 lines
958 B
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* SetRtProfile
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
* Created by Christian Fröbel, NLE, 2018-12-17
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "set_rt_profile_base.h"
|
|
#include <AudioVideoManagement/rt_state.h>
|
|
#include <vector>
|
|
|
|
|
|
namespace AudioVideoManagement
|
|
{
|
|
|
|
class IAvaComm;
|
|
class IAvaCommandDoneObserver;
|
|
|
|
namespace AvaCommands
|
|
{
|
|
|
|
/**
|
|
* @author Christian Fröbel
|
|
*/
|
|
class SetRtProfile final : public SetRtProfileBase
|
|
{
|
|
public:
|
|
SetRtProfile(IAvaComm *comm, IAvaCommandDoneObserver *observer, RtState *rtState, const QVector<RtState::RadioCircuit> &radioCircuits);
|
|
|
|
void send() override;
|
|
QString debug() const override { return QLatin1String("SetRtProfile"); }
|
|
|
|
protected:
|
|
void done() override;
|
|
|
|
private:
|
|
const QVector<RtState::RadioCircuit> m_radioCircuits;
|
|
RtState *m_rtState;
|
|
IAvaCommandDoneObserver *m_observer;
|
|
};
|
|
|
|
}} // namespace AudioVideoManagement::AvaCommands
|