mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
Enable new callback API
- OnData() channel data handler. - ConditionalRun() for devices without incoming data. - Header file with common main(), to be extended with getDevice/addCustomOptions. - Update examples (MQ/Tutorial3) to use the new API and config. - NewSimpleMessage() for simpler creation of small messages (additional copy). - Replace SetProperty/GetProperty with fConfig access. - Runtime configurable channel names for common devices. - Configurable logging interval per channel. - FairMQMultiplier for distributing same data to multiple outputs. - Cleanup state machine messages. - Cmd option to toggle signal handling. - Simpler API for send/receive timeouts. - Enable --log-to-file. - Fix coverity issues, warnings. - Various code cleanup and minor tweaks.
This commit is contained in:
@@ -81,10 +81,11 @@ Set(SRCS
|
||||
"FairMQPoller.cxx"
|
||||
|
||||
"devices/FairMQBenchmarkSampler.cxx"
|
||||
"devices/FairMQSink.cxx"
|
||||
"devices/FairMQProxy.cxx"
|
||||
"devices/FairMQSplitter.cxx"
|
||||
"devices/FairMQMerger.cxx"
|
||||
"devices/FairMQMultiplier.cxx"
|
||||
"devices/FairMQProxy.cxx"
|
||||
"devices/FairMQSink.cxx"
|
||||
"devices/FairMQSplitter.cxx"
|
||||
|
||||
"options/FairProgOptions.cxx"
|
||||
"options/FairMQProgOptions.cxx"
|
||||
@@ -106,6 +107,8 @@ EndIf(NANOMSG_FOUND)
|
||||
# manual install (globbing add not recommended)
|
||||
Set(FAIRMQHEADERS
|
||||
FairMQParts.h
|
||||
# FairMQPlugin.h
|
||||
runFairMQDevice.h
|
||||
options/FairProgOptionsHelper.h
|
||||
options/FairMQEventManager.h
|
||||
tools/FairMQTools.h
|
||||
@@ -142,7 +145,7 @@ If(DDS_FOUND)
|
||||
Set(DEPENDENCIES
|
||||
${DEPENDENCIES}
|
||||
${DDS_INTERCOM_LIBRARY_SHARED}
|
||||
${DDS_PROTOCOL_LIBRARY_SHARED} # also link the two DDS dependency libraries to avoid linking issues on some osx systems
|
||||
${DDS_PROTOCOL_LIBRARY_SHARED}
|
||||
${DDS_USER_DEFAULTS_LIBRARY_SHARED}
|
||||
)
|
||||
EndIf(DDS_FOUND)
|
||||
@@ -153,10 +156,11 @@ GENERATE_LIBRARY()
|
||||
|
||||
Set(Exe_Names
|
||||
bsampler
|
||||
merger
|
||||
multiplier
|
||||
proxy
|
||||
sink
|
||||
splitter
|
||||
merger
|
||||
proxy
|
||||
runConfigExample
|
||||
)
|
||||
|
||||
@@ -169,10 +173,11 @@ EndIf(DDS_FOUND)
|
||||
|
||||
Set(Exe_Source
|
||||
run/runBenchmarkSampler.cxx
|
||||
run/runMerger.cxx
|
||||
run/runMultiplier.cxx
|
||||
run/runProxy.cxx
|
||||
run/runSink.cxx
|
||||
run/runSplitter.cxx
|
||||
run/runMerger.cxx
|
||||
run/runProxy.cxx
|
||||
options/runConfigEx.cxx
|
||||
)
|
||||
|
||||
@@ -197,4 +202,3 @@ EndForEach(_file RANGE 0 ${_length})
|
||||
|
||||
configure_file( ${CMAKE_SOURCE_DIR}/fairmq/options/startConfigExample.sh.in
|
||||
${CMAKE_BINARY_DIR}/bin/startConfigExample.sh )
|
||||
|
||||
|
Reference in New Issue
Block a user