Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JCF: update names as described in today's comment in DUNE-DAQ/daq-rel… #135

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins/DPDKReaderModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "confmodel/DetectorToDaqConnection.hpp"

#include "appmodel/DataReceiverModule.hpp"
#include "appmodel/DataReaderModule.hpp"
#include "appmodel/DPDKReaderConf.hpp"
#include "confmodel/NetworkDevice.hpp"
#include "confmodel/QueueWithSourceId.hpp"
Expand Down Expand Up @@ -91,7 +91,7 @@ tokenize(std::string const& str, const char delim, std::vector<std::string>& out
void
DPDKReaderModule::init(const std::shared_ptr<appfwk::ModuleConfiguration> mcfg )
{
auto mdal = mcfg->module<appmodel::DataReceiverModule>(get_name());
auto mdal = mcfg->module<appmodel::DataReaderModule>(get_name());
m_cfg = mcfg;
if (mdal->get_outputs().empty()) {
auto err = dunedaq::readoutlibs::InitializationError(ERS_HERE, "No outputs defined for NIC reader in configuration.");
Expand Down Expand Up @@ -129,7 +129,7 @@ DPDKReaderModule::do_configure(const data_t& /*args*/)
{
TLOG() << get_name() << ": Entering do_conf() method";
//auto session = appfwk::ModuleManager::get()->session();
auto mdal = m_cfg->module<appmodel::DataReceiverModule>(get_name());
auto mdal = m_cfg->module<appmodel::DataReaderModule>(get_name());
auto module_conf = mdal->get_configuration()->cast<appmodel::DPDKReaderConf>();
auto res_set = mdal->get_connections();
// EAL setup
Expand Down
Loading