Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
+72
@@ -0,0 +1,72 @@
|
||||
/**
|
||||
* Settings for TetraRadio
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2017-04-07
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <IObserver.h>
|
||||
#include <Common/hlacommon_export.h>
|
||||
|
||||
namespace NGL
|
||||
{
|
||||
class Settings;
|
||||
}
|
||||
|
||||
namespace HighLevelArchitecture
|
||||
{
|
||||
|
||||
namespace Settings
|
||||
{
|
||||
|
||||
struct SocketData {
|
||||
int port;
|
||||
QString hostname;
|
||||
int hlaRequestIdentifier;
|
||||
};
|
||||
|
||||
struct Orientation
|
||||
{
|
||||
float phi = 0.;
|
||||
float psi = 0.;
|
||||
float theta = 0.;
|
||||
Orientation(float _phi, float _psi, float _theta): phi(_phi), psi(_psi), theta(_theta){}
|
||||
Orientation(){}
|
||||
};
|
||||
|
||||
|
||||
//!< The real NGL::Settings - object
|
||||
NGL::Settings *settings();
|
||||
|
||||
HLACOMMON_EXPORT void setIniFile(const QString &ini);
|
||||
|
||||
HLACOMMON_EXPORT QString federationName();
|
||||
HLACOMMON_EXPORT ngs::IObserver::ProtocolType hlaProtocol();
|
||||
|
||||
quint16 siteId();
|
||||
quint16 applicationId();
|
||||
HLACOMMON_EXPORT int guezHitGraceTimeMSecs();
|
||||
|
||||
HLACOMMON_EXPORT QString fomIdentifier();
|
||||
HLACOMMON_EXPORT QString rtiIdentifier();
|
||||
HLACOMMON_EXPORT QString swConfFileName();
|
||||
|
||||
HLACOMMON_EXPORT QByteArray hlaLicenseServer();
|
||||
|
||||
HLACOMMON_EXPORT Orientation spatialStructOrientation();
|
||||
|
||||
|
||||
HLACOMMON_EXPORT quint16 webSocketListenPort();
|
||||
|
||||
HLACOMMON_EXPORT quint16 hlaPlayerIdIDT();
|
||||
HLACOMMON_EXPORT quint16 hlaPlayerIdExcon();
|
||||
|
||||
HLACOMMON_EXPORT QVector<SocketData> socketDataList();
|
||||
|
||||
|
||||
}
|
||||
|
||||
} // namespace HighLevelArchitecture
|
||||
Reference in new issue
Block a user