Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* @RDE_HEADER@
|
||||
* StreamNameMappingToAva
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Fröbel, NLSE, 2018-03-12
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "avm_export.h"
|
||||
#include <QObject>
|
||||
#include <cstdint>
|
||||
|
||||
class QString;
|
||||
|
||||
namespace AudioVideoManagement
|
||||
{
|
||||
|
||||
class AvaSession;
|
||||
class StreamNameMapping;
|
||||
|
||||
/**
|
||||
* This class observes the StreamNameMapping and communicates it to AVS_Workstation.
|
||||
*
|
||||
* @author Christian Fröbel
|
||||
*/
|
||||
class AVM_COMMON_EXPORT StreamNameMappingToAva : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
StreamNameMappingToAva(AvaSession *avaSession, StreamNameMapping *mapping);
|
||||
|
||||
private slots:
|
||||
void onSessionEstablished();
|
||||
void onDisconnected();
|
||||
void onNamesChanged(int32_t mountingPointId, const QString &internalName, const QString &displayName);
|
||||
|
||||
private:
|
||||
AvaSession *m_avaSession;
|
||||
StreamNameMapping *m_mapping;
|
||||
bool m_established{false};
|
||||
};
|
||||
|
||||
} // namespace AudioVideoManagement
|
||||
Reference in new issue
Block a user