Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,55 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* GetElokaList
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Fröbel, SLSE, 2017-10-23
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AudioVideoManagement/icommand.h>
|
||||
#include <AudioVideoManagement/list_response_collector.h>
|
||||
#include <QVector>
|
||||
#include <QString>
|
||||
|
||||
namespace AudioVideoManagement
|
||||
{
|
||||
|
||||
class IAvaComm;
|
||||
class IAvaCommandDoneObserver;
|
||||
|
||||
namespace AvaCommands
|
||||
{
|
||||
|
||||
/**
|
||||
* @author Christian Fröbel
|
||||
*/
|
||||
class GetElokaList final : public ICommand
|
||||
{
|
||||
public:
|
||||
GetElokaList(IAvaComm *comm, IAvaCommandDoneObserver *observer, const QString &streamName);
|
||||
|
||||
void send() override;
|
||||
QString debug() const override { return QLatin1String("GetElokaList"); }
|
||||
|
||||
const QVector<QString> &elokaSignals() const { return m_elokaSignals; }
|
||||
|
||||
private slots:
|
||||
void onOk();
|
||||
|
||||
private:
|
||||
void done();
|
||||
void onElokaListReceived(QVector<QString> &&elokaSignals);
|
||||
|
||||
const QString m_streamName;
|
||||
bool m_ok{false};
|
||||
QVector<QString> m_elokaSignals; //!< available ELOKA-signals
|
||||
ElokaListCollector m_collector;
|
||||
IAvaComm *m_comm;
|
||||
IAvaCommandDoneObserver *m_observer;
|
||||
};
|
||||
|
||||
} // namespace AvaCommands
|
||||
} // namespace AudioVideoManagement
|
||||
Reference in new issue
Block a user