Skip to content

Commit

Permalink
Merge pull request #134 from DUNE-DAQ/johnfreeman/daq-release_issue37…
Browse files Browse the repository at this point in the history
…9_renames

JCF: account for new datahandlinglibs package as described in DUNE-DA…
  • Loading branch information
jcfreeman2 authored Jun 25, 2024
2 parents 8292261 + 6a35a2e commit a35109e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ daq_setup_environment()
find_package(ers REQUIRED)
find_package(appfwk REQUIRED)
find_package(logging REQUIRED)
find_package(readoutlibs REQUIRED)
find_package(datahandlinglibs REQUIRED)
find_package(fdreadoutlibs REQUIRED)
find_package(felix REQUIRED)
find_package(opmonlib REQUIRED)
Expand All @@ -19,7 +19,7 @@ daq_codegen( *info.jsonnet DEP_PKGS opmonlib TEMPLATES opmonlib/InfoStructs.hpp.

##############################################################################
# Dependency sets
set(DUNEDAQ_DEPENDENCIES appfwk::appfwk readoutlibs::readoutlibs fdreadoutlibs::fdreadoutlibs appmodel::appmodel confmodel::confmodel)
set(DUNEDAQ_DEPENDENCIES appfwk::appfwk datahandlinglibs::datahandlinglibs fdreadoutlibs::fdreadoutlibs appmodel::appmodel confmodel::confmodel)

# Provide override functionality for FELIX dependencies
option(WITH_FELIX_AS_PACKAGE "FELIX externals as a dunedaq package" ON)
Expand Down
2 changes: 1 addition & 1 deletion cmake/flxlibsConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include(CMakeFindDependencyMacro)
find_dependency(ers)
find_dependency(appfwk)
find_dependency(logging)
find_dependency(readoutlibs)
find_dependency(datahandlinglibs)
find_dependency(fdreadoutlibs)
find_dependency(felix)
find_dependency(opmonlib)
Expand Down
4 changes: 2 additions & 2 deletions src/CardWrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//#include "flxlibs/felixcardreader/Structs.hpp"

#include "appmodel/FelixInterface.hpp"
#include "readoutlibs/utils/ReusableThread.hpp"
#include "datahandlinglibs/utils/ReusableThread.hpp"

#include "flxcard/FlxCard.h"
#include "packetformat/block_format.hpp"
Expand Down Expand Up @@ -107,7 +107,7 @@ class CardWrapper
// Processor
inline static const std::string m_dma_processor_name = "flx-dma";
std::atomic<bool> m_run_lock;
readoutlibs::ReusableThread m_dma_processor;
datahandlinglibs::ReusableThread m_dma_processor;
std::function<void(uint64_t)> m_handle_block_addr; // NOLINT
bool m_block_addr_handler_available{ false };
void process_DMA();
Expand Down
4 changes: 2 additions & 2 deletions src/CreateElink.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "ElinkConcept.hpp"
#include "ElinkModel.hpp"
#include "flxlibs/AvailableParserOperations.hpp"
#include "readoutlibs/ReadoutIssues.hpp"
#include "datahandlinglibs/DataHandlingIssues.hpp"
//#include "fdreadoutlibs/ProtoWIBSuperChunkTypeAdapter.hpp"
//#include "fdreadoutlibs/DUNEWIBSuperChunkTypeAdapter.hpp"
#include "fdreadoutlibs/DAPHNESuperChunkTypeAdapter.hpp"
Expand All @@ -35,7 +35,7 @@ createElinkModel(const std::string& conn_uid)
{
auto datatypes = dunedaq::iomanager::IOManager::get()->get_datatypes(conn_uid);
if (datatypes.size() != 1) {
ers::error(dunedaq::readoutlibs::GenericConfigurationError(ERS_HERE,
ers::error(dunedaq::datahandlinglibs::GenericConfigurationError(ERS_HERE,
"Multiple output data types specified! Expected only a single type!"));
}
std::string raw_dt{ *datatypes.begin() };
Expand Down
4 changes: 2 additions & 2 deletions src/ElinkModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "iomanager/Sender.hpp"
#include "flxlibs/felixcardreaderinfo/InfoNljs.hpp"
#include "logging/Logging.hpp"
#include "readoutlibs/utils/ReusableThread.hpp"
#include "datahandlinglibs/utils/ReusableThread.hpp"

#include <folly/ProducerConsumerQueue.h>
#include <nlohmann/json.hpp>
Expand Down Expand Up @@ -187,7 +187,7 @@ class ElinkModel : public ElinkConcept

// Processor
inline static const std::string m_parser_thread_name = "elinkp";
readoutlibs::ReusableThread m_parser_thread;
datahandlinglibs::ReusableThread m_parser_thread;
void process_elink()
{
while (m_run_marker.load()) {
Expand Down
2 changes: 1 addition & 1 deletion test/apps/test_tp_elinkhandler_app.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "flxlibs/AvailableParserOperations.hpp"

#include "logging/Logging.hpp"
#include "readoutlibs/ReadoutTypes.hpp"
#include "datahandlinglibs/ReadoutTypes.hpp"
#include "detdataformats/wib/RawWIBTp.hpp"

#include "packetformat/block_format.hpp"
Expand Down

0 comments on commit a35109e

Please sign in to comment.