Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Send / Receive telegrams to/from TX/RX directory
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Christian Ehrlicher, SLSE, 2016-09-26
|
||||
*/
|
||||
|
||||
#include "plugin.h"
|
||||
#include "directory_dispatcher.h"
|
||||
#include <nglsettings/nglsettings_settings.h>
|
||||
|
||||
namespace TetraRadio
|
||||
{
|
||||
|
||||
//
|
||||
// DebugJsonDirPlugin
|
||||
//
|
||||
std::shared_ptr<TrainingAreaBase::Plugin::Interface> DebugJsonDirPlugin::createInterface(TrainingAreaBase::Plugin::DataProvider *pdp,
|
||||
const std::shared_ptr<TrainingAreaBase::RecvFromTab> &recvFromTabCb,
|
||||
const std::shared_ptr<TrainingAreaBase::TxMixin> &,
|
||||
const std::shared_ptr<TrainingAreaBase::DdsHandler> &,
|
||||
NGL::Settings *settings)
|
||||
{
|
||||
const QString dir = QStringLiteral("/ex_%1_json/").arg(pdp->exerciseId());
|
||||
return std::make_shared<DirectoryDispatcher>(recvFromTabCb,
|
||||
settings->zsks_txPath() + dir,
|
||||
settings->zsks_rxPath() + dir);
|
||||
}
|
||||
} // namespace TetraRadio
|
||||
Reference in new issue
Block a user