/** * Settings for TetraRadio * $Id$ * $HeadURL$ * $Author$ * Created by Christian Ehrlicher, SLSE, 2017-04-07 */ #pragma once #include #include #include 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 socketDataList(); } } // namespace HighLevelArchitecture