Dennis Klein
c2bea85b90
Bump coolness factor
...
Log ascii logo with some metadata.
Metadata added to header <fairmq/Version.h>.
2018-09-13 22:25:05 +02:00
Alexey Rybalchenko
2c6b2e7f04
Fix race condition in the control plugin
2018-09-12 16:03:18 +02:00
Alexey Rybalchenko
4aae1ad8d4
Allow DDS command UI to target parts of the topology
2018-09-05 15:15:18 +02:00
Alexey Rybalchenko
b89c309768
Fix missing header install
2018-08-30 22:54:03 +02:00
Dennis Klein
c02fbed331
Require msgpack 3.1.0
...
Since 3.1.0 msgpack ships a proper CMake package exporting a target
for the header-only C++ library. Allows us to get rid of our custom
find module.
2018-08-30 17:39:56 +02:00
Alexey Rybalchenko
b814e40c87
Fix multipart transfer timeout and enable its tests
2018-08-27 18:12:02 +02:00
Alexey Rybalchenko
7d5e76dece
Add more tests for custom main()
2018-08-27 17:37:22 +02:00
Alexey Rybalchenko
2498837b8e
Use new RateLimiter for ConditionalRun
2018-08-27 17:37:22 +02:00
Alexey Rybalchenko
6545daeda7
Use new RateLimiter in BenchmarkSampler
2018-08-27 17:37:22 +02:00
Matthias Kretz
e95096eb37
Add RateLimiter class to tools
2018-08-27 17:37:22 +02:00
Alexey Rybalchenko
1bb558a457
Refactor initialization
...
- add device constructor that accepts FairMQProgOptions object.
- Initialize config values in INIT state (to allow their update).
- Simplify FairMQProgOptions handling in FairMQDevice.
- Simplify SetTransport/SetConfig - refactor duplicated code.
- Add FairMQDevice methods to add channels.
2018-08-27 17:37:22 +02:00
Dennis Klein
8b3e3bbe28
Fix coverage reporting for FAST_BUILD
2018-08-09 16:15:15 +02:00
Dennis Klein
fc0adba26b
Support unity build
2018-08-09 16:15:15 +02:00
Dennis Klein
70ffc0d8c6
Guard list operation for the case the list is empty
2018-08-09 16:15:15 +02:00
Dennis Klein
ff701006fd
Reflect dev version in the installed artifacts
2018-08-09 16:15:15 +02:00
Dennis Klein
c8bd19b7a1
Add experimental FAST_BUILD option
...
Significantly reduces compile time for the FairMQ target with
precompiled headers and unity build. For maximum improvement, use
a multi-core-aware build tool, e.g. Ninja.
Leave it undocumented for now, let's first test it internally for a while.
2018-08-09 16:15:15 +02:00
Dennis Klein
9184d5bdae
clean
2018-08-09 16:15:15 +02:00
Dennis Klein
6f22ccf4c1
Fix -Wsign-compare
2018-08-09 16:15:15 +02:00
Dennis Klein
b2034c20cf
Fix -Wshadow
2018-08-09 16:15:15 +02:00
Dennis Klein
ab6fd35a86
Add header-only target for msgpack
2018-08-09 16:15:15 +02:00
Dennis Klein
4a8e46c65c
Fix -Wunused-parameter
2018-08-09 16:15:15 +02:00
Dennis Klein
90e00730b1
Update clang-format
2018-08-09 16:15:15 +02:00
Dennis Klein
1e0159b775
Link against system threads library
2018-08-08 16:13:41 +02:00
Alexey Rybalchenko
ef3eb5f83e
Simplify structure in DeviceRunner and plugin classes
2018-08-08 16:13:41 +02:00
Alexey Rybalchenko
ee8afd7d2b
Fix race in plugin manager/services
2018-08-08 16:13:41 +02:00
Alexey Rybalchenko
a53ef79552
Run state handlers on the main thread (breaking change for control).
2018-08-08 16:13:41 +02:00
Dennis Klein
e403d18cb9
Add codecov reports to PRs
2018-07-20 17:21:23 +02:00
mkrzewic
f05118f4eb
Make ";" the separateor in multi-point channel config
...
This is to avoid parsing problems using "," in e.g. multi-point configuration using Suboptparser
2018-06-18 15:26:31 +02:00
Alexey Rybalchenko
21419adb40
Change unregistered options warning to debug
2018-06-16 17:40:05 +02:00
Alexey Rybalchenko
1554c1c273
Change missing options in transport from warning to debug
...
Transport has meaningful defaults if FairMQProgOptions is missing
2018-06-13 18:03:16 +02:00
Alexey Rybalchenko
59b04a1a64
Handle Receive differently when switching transports
...
No need for buffer+size message on Receive.
2018-06-12 13:55:18 +02:00
Alexey Rybalchenko
653e82cab4
Avoid copy (where possible) when switching transports
2018-06-08 13:10:06 +02:00
Dennis Klein
96e2076300
Only install public header files
...
Resolves #15
2018-06-08 11:25:03 +02:00
Alexey Rybalchenko
2894af803b
Add getter for cmd line args & align channel names in log
2018-06-06 16:04:08 +02:00
Alexey Rybalchenko
8b88e67360
Refactor FairMQProgOptions
2018-06-06 16:04:08 +02:00
Dennis Klein
72f5cdef58
Fix various warnings
...
-Wunused-parameter
-Wreorder
-Wsign-compare
-Wunused-private-field
2018-05-24 13:03:06 +02:00
Dennis Klein
811e716731
Add missing header
2018-05-23 08:26:23 +02:00
Alexey Rybalchenko
e4c349888d
Improve compilation speed
2018-05-17 16:32:49 +02:00
Alexey Rybalchenko
436f79bee5
Control plugin: add ability to switch log levels interactively
2018-05-17 10:30:18 +02:00
Alexey Rybalchenko
e295978b3e
further shorten shm names
2018-05-15 19:18:37 +02:00
Alexey Rybalchenko
d93dc2f7f7
Use enum transport types instead of strings in Channel/Device
2018-05-15 19:18:11 +02:00
Alexey Rybalchenko
7a4fd96b27
Fix namespaces in Transports.h and add conversion map
2018-05-15 19:18:11 +02:00
Alexey Rybalchenko
155618af57
Used cached default transport in FairMQDevice::Transport()
2018-05-15 19:18:11 +02:00
Alexey Rybalchenko
de7ddc0ddd
Fix type conflict for some environments
2018-05-04 16:59:50 +02:00
Alexey Rybalchenko
a5ff7d5a1e
Add resolver for hostname -> ip, use it before bind/connect
2018-05-03 18:33:13 +02:00
Alexey Rybalchenko
166e537d9f
Fix incomplete initialization in CreateOwnConfig()
2018-05-02 22:09:42 +02:00
Alexey Rybalchenko
bf5983d8f6
provide location for general fairmq devices/tools
2018-05-02 16:12:57 +02:00
Alexey Rybalchenko
f68b5425a6
prefix general executables with 'fairmq-'
2018-05-02 16:12:57 +02:00
Alexey Rybalchenko
bab7e13737
Refactor the examples after move from FairRoot
2018-05-02 16:12:57 +02:00
Dennis Klein
7bb4b0625e
Depend on ZeroMQ via CMake package
2018-04-23 17:38:47 +02:00
Dennis Klein
ff9618765f
Always build multipart support in nanomsg transport
2018-04-22 19:53:39 +02:00
Dennis Klein
a01aac4467
Add library versioning
2018-04-18 02:25:44 +02:00
Dennis Klein
d98207b475
Install uuidGen
2018-04-18 01:42:04 +02:00
Dennis Klein
f2a753e1bd
Support package components and drop transitive dependency discovery
2018-04-17 20:24:15 +02:00
Dennis Klein
c6ea5a5631
Fix build of protobuf sources
2018-04-17 20:22:53 +02:00
Dennis Klein
b9651437c3
Improve summary and implement find_package2
2018-04-16 20:32:44 +02:00
Dennis Klein
5e39011a5b
Fix build
2018-04-15 18:04:52 +02:00
Dennis Klein
2327fd2115
Move test directory one up
2018-04-12 17:46:18 +02:00
Dennis Klein
c98cef8270
Add CMake project
2018-04-10 19:47:30 +02:00
Dennis Klein
c0ebd58ee3
Update README
2018-04-10 18:52:57 +02:00
Dennis Klein
ff16a28686
FairMQ: Fix regression bug introduced with PR#728
2018-03-28 09:04:30 +02:00
Dennis Klein
548ef4e617
FairMQ: For some reason the definition does not work, drop it
2018-03-26 13:58:20 +02:00
Dennis Klein
2a606ee8de
FairMQ: Fix issues from rebase
2018-03-26 13:58:20 +02:00
Dennis Klein
08581e49e1
Add BUILD_OFI_TRANSPORT build switch, default OFF
2018-03-26 13:58:20 +02:00
Dennis Klein
727b76bb1d
FairMQ: Fix unit test on GCC 4.9
2018-03-26 13:58:20 +02:00
Dennis Klein
697c440aa0
FairMQ: Switch to verbs:ofi_rxm provider
...
RDM endpoints seem buggy on pure verbs provider. Switch on RDM emulator
for now.
2018-03-26 13:58:20 +02:00
Dennis Klein
811fe50a48
FairMQ: Enable ofi/verbs provider
2018-03-26 13:58:20 +02:00
Dennis Klein
c113e4c951
FairMQ: Disable control socket timeouts for now
2018-03-26 13:58:20 +02:00
Dennis Klein
de8f32e9f9
FairMQ: Fix ofi::Message allocation
2018-03-26 13:58:20 +02:00
Dennis Klein
e8994dfa0f
FairMQ: Disable post buffer ack on control band
...
Seems to be unnecessary.
2018-03-26 13:58:20 +02:00
Dennis Klein
cb447bde38
FairMQ: Implement ofi::Socket data/message metrics
2018-03-26 13:58:20 +02:00
Dennis Klein
c5072ea425
FairMQ: Fix missing ofi completion events
2018-03-26 13:58:20 +02:00
Dennis Klein
144aa912d7
FairMQ: Implement blocking ofi::Socket Send/Receive with FI_MSG
...
Completion events are not yet working.
2018-03-26 13:58:20 +02:00
Dennis Klein
8f5b888314
FairMQ: Fix Operation not permitted error
2018-03-26 13:58:20 +02:00
Dennis Klein
5b3a5b9709
FairMQ: Implement ofi address exchange
...
Control messages are encoded with protobuf.
2018-03-26 13:58:20 +02:00
Dennis Klein
df5d5d4086
FairMQ: Monitor Meta socket connection and insert address vector
2018-03-26 13:58:20 +02:00
Dennis Klein
92320604a9
FairMQ: Add ofi address vector
...
Translates between native and ofi addresses. Needed for unconnected
endpoints.
2018-03-26 13:58:20 +02:00
Dennis Klein
630a1dbbce
FairMQ: Setup ofi objects
...
FI_MSG API
FI_EP_RDM, reliable datagram message (unconnected)
2018-03-26 13:58:20 +02:00
Dennis Klein
4250e3d45b
FairMQ: Implement simple ofi Send/Receive with meta com only
2018-03-26 13:58:20 +02:00
Dennis Klein
eaebfc6933
FairMQ: Partially implement ofi::Message
2018-03-26 13:58:20 +02:00
Alexey Rybalchenko
fed7601be4
replace cmd socket with transport specific unblock mechanism
2018-03-26 13:58:20 +02:00
Dennis Klein
209e521046
FairMQ: Implement ofi::Poller
2018-03-26 13:58:20 +02:00
Dennis Klein
e73fcbd595
FairMQ: Parameterize the command interface initializing with sub socket
...
! THIS PATCH BREAKS NANOMSG TRANSPORT !
The subscriber command socket was created using the transport factory of
the channel which might not implement sub sockets. This patch creates
the subscriber command sockets in the device initialization and passes
them down (move) to the command interface initialization.
This patch puts more focus on the GetSocket interface of FairMQSocket,
because all command sockets are now implemented with the default
transport - the channels use an internal poller which polls over sockets
of potentially different transports now (e.g. zeromq command socket and
nanomsg data socket). Basically, all transports need to return file
descriptors compatible to be used in a single poll set. THIS IS NOT THE CASE!
! THIS PATCH BREAKS NANOMSG TRANSPORT !
2018-03-26 13:58:20 +02:00
Dennis Klein
43a06e3cc7
FairMQ: Explicitely mark dtor throwing to get rid of warning
2018-03-26 13:58:20 +02:00
Dennis Klein
d9595adf45
FairMQ: Implement ofi::Socket
2018-03-26 13:58:20 +02:00
Dennis Klein
3670dd8835
FairMQ: Remove unused Attach method and unused socket flags
2018-03-26 13:58:20 +02:00
Dennis Klein
3785c0e369
FairMQ: Implement ofi::TransportFactory ctor/dtor
2018-03-26 13:58:20 +02:00
Dennis Klein
72bc86f006
FairMQ: Add unit tests for PAIR channel type
2018-03-26 13:58:20 +02:00
Dennis Klein
9b7841e89e
FairMQ: Remove deprecated TransportFactory factory method
2018-03-26 13:58:20 +02:00
Dennis Klein
7cfd93c998
FairMQ: Add ofi transport factory skeleton
2018-03-26 13:58:20 +02:00
Alexey Rybalchenko
7b4976898a
include FairMQProgOptions.h in FairMQDevice.h
2018-03-22 14:11:34 +01:00
Alexey Rybalchenko
5af82f80c1
DDS command UI: update to 2.0 (include session arg)
2018-03-22 14:11:14 +01:00
Alexey Rybalchenko
010520dac7
Logger: handle nullptr.
2018-03-22 14:11:00 +01:00
Alexey Rybalchenko
95112dac02
add CountProperty() to plugin APIs, throw is GetProperty doesn't find key
2018-03-22 14:10:48 +01:00
Alexey Rybalchenko
243352d717
dds plugin: handling for same channel names from multiplied collections
2018-03-22 14:10:48 +01:00
Dennis Klein
665ab104bb
FairMQ: Add new contributor
2018-03-21 19:06:50 +01:00
Gvozden Neskovic
850ec92b5a
SHM: coalesce multipart messages
...
Transmit meta info of an shm multipart message in a single zmq message.
2018-03-19 10:53:33 +01:00
Alexey Rybalchenko
83f81a0d9f
fix regression in DDS plugin
2018-03-02 05:45:07 +01:00
Alexey Rybalchenko
6e40011a18
DDS plugin: handle n to m on single channel name case
2018-02-28 11:22:19 +01:00
Alexey Rybalchenko
13678f9f6d
monitor update
2018-02-19 14:03:42 +01:00
Alexey Rybalchenko
abcc5083f2
FairMQ DDS plugin: fix incomplete shutdown when dds server is terminated
2018-02-15 10:31:47 +01:00
Alexey Rybalchenko
f8d4fe01d0
FairMQProgOptions fixes and cleanup
...
- Remove singular key names from JSON schema.
- Align the property tree created by `FairMQSuboptParser` with the format required by the main parser (plural names).
- Fix `--print-options` to print all options (not only those that have their value set).
- remove XML parser (outdated and unused).
- various code cleanup.
2018-02-07 16:34:21 +01:00
Alexey Rybalchenko
4e2a195289
Fix warnings
2018-02-01 09:59:11 +01:00
Alexey Rybalchenko
e5c4ad31c7
Fix typos and ommissions in logger docs
2018-02-01 09:59:11 +01:00
Alexey Rybalchenko
b228788cc0
Logger: Allow adding custom sinks
...
(example in logger/loggerTest.cxx, docs in fairmq/docs/Logging.md)
2018-01-26 16:06:19 +01:00
Alexey Rybalchenko
7e6bd91467
Fix reorder warnings
2018-01-24 14:36:52 +01:00
Alexey Rybalchenko
2c2770204f
Fix missing session name resize if running without FairMQProgOptions
2018-01-24 14:36:52 +01:00
Alexey Rybalchenko
efdec0f6ba
FairMQProgOptions: initialize defaults in the constructor, not in ParseAll
2018-01-24 14:36:52 +01:00
Alexey Rybalchenko
778c8e16bb
Replace pstreams with Boost.Process
2018-01-23 18:35:09 +01:00
Alexey Rybalchenko
e462d6f597
Fix wrong argument order in file sink initialization
2018-01-17 14:41:35 +01:00
Alexey Rybalchenko
a91c481abf
remove custom timestamp stuff from logger wrapper
2018-01-16 22:53:26 +01:00
Alexey Rybalchenko
a3393e600e
convert log severities use to lowercase and remove use of MQLOG
2018-01-16 22:53:26 +01:00
Alexey Rybalchenko
4e942e489b
Single Logger implementation for FairLogger & FairMQLogger
2018-01-16 22:53:26 +01:00
Alexey Rybalchenko
d3e0b9fc97
Give ipc tests better address name
2018-01-13 07:49:08 +01:00
Alexey Rybalchenko
b59f1b950d
FairMQ: Add hint argument to the region callback, settable per message.
2017-12-18 12:53:58 +01:00
Alexey Rybalchenko
ba78964e29
FairMQ: add FairMQMessage::Copy(const FairMQMessage& msg), deprecate the old one.
2017-12-10 17:37:53 +01:00
Alexey Rybalchenko
e340a52bf2
Use FairMQ tools for string creation.
2017-12-10 17:37:53 +01:00
Alexey Rybalchenko
848ebf2ff3
FairMQ: Add test for setting used message size functionality
2017-12-10 17:37:53 +01:00
Alexey Rybalchenko
ea7ae3ded9
remove Get/SetMessage from interface (internal transport detail)
2017-12-10 17:37:53 +01:00
Alexey Rybalchenko
e5aa85b61d
FairMQ: Add functionality to set used message size
2017-12-10 17:37:53 +01:00
laphecet
ac4695b215
Missing explicit reference to lib boost_signals
2017-12-06 13:04:58 +01:00
Alexey Rybalchenko
fd19480a2e
FairMQ: Fix missing region acks if receiver doesn't call OnData & clean includes.
2017-11-30 13:56:06 +01:00
Dennis Klein
5c0178e882
FairMQ: Remove deprecated header <tools/FairMQTools.h>
2017-11-29 16:40:25 +01:00
Mohammad Al-Turany
b5e32403ea
correct typo in copyright section
2017-11-29 13:11:35 +01:00
Alexey Rybalchenko
b967de4a57
FairMQ: Fix session name modification shm transport.
2017-11-29 11:00:31 +01:00
Alexey Rybalchenko
0dc4000187
FairMQ: Add uuid generator to tools & let tests use it for session names.
2017-11-29 09:06:17 +01:00
Alexey Rybalchenko
85aab51bd4
FairMQ: Add test for example/advanced/Region.
...
Also fix a regression in nanomsg transport.
2017-11-29 09:06:17 +01:00
Alexey Rybalchenko
eddfd0d1bd
FairMQ: Introduce configurable session name per device.
...
Session name is given to each device via `--session`,
which must be synchronized from a higher level,
e.g. from start script or command & control entity.
2017-11-29 09:06:17 +01:00
Alexey Rybalchenko
58a312b730
FairMQ: Introduce callbacks for the FairMQUnmanagedRegion.
...
Callbacks are called when the data buffer of the message assiciated
with the corresponding region is no longer needed by the transport.
Example in examples/advanced/Region/
2017-11-29 09:06:17 +01:00
Dennis Klein
378c47c5e5
FairMQ: Implement config API for string subscriptions
...
This API auto converts property values to strings and allows a more
convenient one catches all subscription.
2017-11-17 16:24:29 +01:00
Dennis Klein
80332583ee
FairMQ: Add state subscription to DDS plugin
2017-11-17 16:24:29 +01:00
Dennis Klein
56c0b2fd2b
FairMQ: Add heartbeats to DDS plugin
2017-11-17 16:24:29 +01:00
Matthias Richter
72cdd1e3d7
using steady_clock instead of system_clock
2017-11-17 16:23:38 +01:00
Matthias Richter
4351f3df0d
adding missing variable initialisation in second constructor
2017-11-17 16:23:38 +01:00
Matthias Richter
2a134b9206
Changing '--rate' option to type float, remove stringstream from argument scan
...
This correction to the previous commit leaves the <sstream> header in, because
std::stringstream has been using already before and the header was missing.
2017-11-17 16:23:38 +01:00
Matthias Richter
9b2b1cf9f1
Adding rate control for ConditionalRun function
...
Devices implementing the conditional run method are typically source
devices and a rate control can be desireable. New option '--rate' with
a float number argument in Hz can be used to configure rate control.
By default it is switched off.
2017-11-17 16:23:38 +01:00
Dennis Klein
7429f7a326
FairMQ: Add dump-config functionality to DDS plugin
2017-11-01 15:32:35 +01:00
Dennis Klein
511141c851
FairMQ: Install DDS plugin
2017-11-01 15:32:17 +01:00
Dennis Klein
ba5d40fd71
FairMQ: Fix visibility of include dirs of DDS plugin targets
2017-11-01 15:32:17 +01:00
Dennis Klein
864a41502f
FairMQ: Support the case with multiple default routes
2017-11-01 15:32:17 +01:00
Alexey Rybalchenko
0bb866ff36
FairMQ: shared memory unmanaged region updates:
...
- use same mapping for sender/receiver (created/remote) region.
- rename FairMQRegion -> FairMQUnmanagedRegion.
2017-10-20 14:17:15 +02:00
Alexey Rybalchenko
f7d3a5e8ae
FairMQ: fix shm transport placement new alignment issue
2017-10-18 21:15:14 +02:00
Alexey Rybalchenko
f277db2354
FairMQ: shm region & monitor bugfixes
2017-10-17 21:31:12 +02:00
Alexey Rybalchenko
aa8d16ff9a
Move shmem prototype out of MQ examples
2017-10-16 09:49:38 +02:00
Dennis Klein
b7d97f6306
FairMQ: Support Apple Compiler 8.0
...
In fact, this commit will workaround a bug with template alias compilation
from Clang 3.4 to Clang 3.8.
2017-10-12 12:16:50 +02:00
Dennis Klein
b63e2ee153
Remove outdated build flag -Weffc++
2017-10-10 17:17:05 +02:00
Alexey Rybalchenko
fb0996268a
Fix coverity issues - unchecked return val, uncaught excepts
2017-10-10 17:15:14 +02:00
Dennis Klein
896a8d6b7f
FairMQ: Revert regression introduced by f1513f5169d335c17ccdfdb27f0f0c4edbeb8b65
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
e3cb1dd9e5
FairMQ: remove runSimpleMQStateMachine (now via control plugin).
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
d175a732a6
FairMQ: fix const qualifier for DeviceRunner
2017-10-05 15:32:12 +02:00
Dennis Klein
1bc5771bf3
Fix compilation for GCC 4.9.2
2017-10-05 15:32:12 +02:00
Dennis Klein
4ae2e025c9
FairMQ: Implement DeviceRunner
2017-10-05 15:32:12 +02:00
Dennis Klein
7f23a70670
FairMQ: Implement property change event config API
...
Replaced the old event manager implementation, which changed the
subscription semantics to bulk event subscriptions.
2017-10-05 15:32:12 +02:00
Dennis Klein
8c8ee45914
FairMQ: Implement GetPropertyKeys config API
2017-10-05 15:32:12 +02:00
Dennis Klein
2589ca5ced
FairMQ: Rewrite the state machine
...
* Simplify the code
* Drop Boost.MSM dependency
* Drop threaded execution
* Support deferred state changes
* Monitor state changes/queues via callbacks
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
179968db1e
Remove FairMQConfigurable
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
26cfe69b41
Revert refactoring that releases lock too early.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
6d7009b331
Refactor FairMQLogger
2017-10-05 15:32:12 +02:00
Dennis Klein
6ecd0e9085
FairMQ: Rewrite event manager to support multiple subscribers
2017-10-05 15:32:12 +02:00
Dennis Klein
88b3b8ef18
FairMQ: Make sure --catch-signals is always handled
2017-10-05 15:32:12 +02:00
Dennis Klein
fd08167a4c
FairMQ: Print Entering STATE log lines when user perceived state begins.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
e37e559dce
Fix warnings and remove deleted file from installation.
2017-10-05 15:32:12 +02:00
Dennis Klein
44a59f25a7
FairMQ: Move --catch-signals logic to control plugin
...
* Add StealDeviceControl() API to plugin services
2017-10-05 15:32:12 +02:00
Dennis Klein
7dcd09692c
FairMQ: Move static and interactive control modes to plugin (3)
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
01327426c3
Port DDS plugin to the new plugin system.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
2db114bc5c
Eliminate warnings in FairLink and FairMQ Plugins.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
f6365d013e
Refactor state machine.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
70e46a0b86
Cleanup base/MQ.
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
334b91785b
FairMQ: Move static and interactive control modes to plugin (2)
2017-10-05 15:32:12 +02:00
Dennis Klein
10f67e4c72
FairMQ: Move static and interactive control modes to plugin
...
NOT YET FINISHED
2017-10-05 15:32:12 +02:00
Dennis Klein
2af3ae99eb
FairMQ: Implement Take/ReleaseDeviceControl plugin API
...
The main function of this API is to make sure only one plugin is
controlling the device state transitions at a time. The
ReleaseDeviceControl() signal is used to implement a function
WaitForPluginsToReleaseDeviceControl() which is used to block the main
thread if a control plugin is used.
2017-10-05 15:32:12 +02:00
Dennis Klein
dfb2bac4bc
FairMQ: Add test coverage for PluginServices
2017-10-05 15:32:12 +02:00
Dennis Klein
052ac8487d
FairMQ: Add static plugin mechanism
...
* Add skeleton for Take/ReleaseControl API
* Add skeleton for control_static builtin plugin
2017-10-05 15:32:12 +02:00
Alexey Rybalchenko
17d7cd8ce4
Fix name conflict with FairLogger+FairMQStateMachine
2017-10-04 13:54:44 +02:00
Alexey Rybalchenko
6349438829
Run InitTask in the worker thread (same as all other state handlers).
2017-09-07 14:22:50 +02:00
Alexey Rybalchenko
bfb9feab03
Update shared memory transport documentation.
2017-09-04 16:33:55 +02:00
Alexey Rybalchenko
09e45e27ab
Add introspection docs.
2017-09-04 16:33:55 +02:00
Alexey Rybalchenko
7b37eaa507
Revert the parser changes.
2017-09-04 16:33:39 +02:00
Alexey Rybalchenko
5e44273531
Add docs for common devices
2017-08-30 08:38:00 +02:00
Alexey Rybalchenko
9be5a20df6
Add doxygen comment about state handlers running in worker thread
2017-08-30 08:38:00 +02:00
Alexey Rybalchenko
3ab7ee5f02
FairMQParser: Disable deprecated parsing for singular JSON keys
2017-08-30 08:38:00 +02:00
Alexey Rybalchenko
4c7f119ce8
Configuration docs
2017-08-30 08:38:00 +02:00
Alexey Rybalchenko
4dd08051cc
simplify state change callback handling
2017-08-30 08:38:00 +02:00
Alexey Rybalchenko
eeb994a584
Tests for MQ examples
2017-08-28 10:53:41 +02:00
Alexey Rybalchenko
221d2567f0
FairMQRegion and examples/advanced/Region
2017-08-08 14:18:10 +02:00
Alexey Rybalchenko
65f1b96dc3
Add Version member to FairMQDevice, settable via constructor
2017-07-17 13:25:16 +02:00
Alexey Rybalchenko
3d8175bfd6
base/MQ and Lmd example cleanup
2017-07-04 15:59:36 +02:00
Alexey Rybalchenko
6f18cf23da
Merge channels from config to device, instead of replace
2017-07-04 07:13:01 +02:00
Dennis Klein
a26925cbf5
FairMQ: Fix various errors from CI
...
* move Plugins::Version to fair::mq::tools
* fix Parser interface
* make device a shared pointer in main
* provide std::hash template specialization
* fix FairMQ.Plugins/FairMQ.PluginsStatic when run with ctest
* fix MQ/serialization example
* add --no-as-needed flag
* GCC 4 does not support member refs, move to pointer types
2017-07-04 07:05:11 +02:00
Dennis Klein
ad0f050c99
FairMQ: Implement PluginServices - Config
2017-07-04 07:05:11 +02:00
Dennis Klein
739460b2fe
FairMQ: Implement PluginServices - Control
2017-07-04 07:05:11 +02:00
Dennis Klein
9b61b924b2
FairMQ: Integration of Plugins through PluginServices
2017-07-04 07:05:11 +02:00
Dennis Klein
60d929b0bd
FairMQ: Add plugin mechanism (Plugin and PluginManager classes)
2017-07-04 07:05:11 +02:00
Alexey Rybalchenko
ac69607250
make FairProgOptions calls thread safe
2017-07-04 07:05:11 +02:00
Alexey Rybalchenko
b47cc8b29c
add callback on state change
2017-07-04 07:05:11 +02:00
Alexey Rybalchenko
b311b0c6da
FairMQLogger: undefine DEBUG if it has been previously defined
2017-06-26 16:35:58 +02:00
Alexey Rybalchenko
035d5fb353
Provide accessors for device members that are part of publiv API
2017-06-23 11:45:46 +02:00
Alexey Rybalchenko
92cae6f9a4
FairMQProxy: remove outdated code
2017-06-23 11:45:46 +02:00
Alexey Rybalchenko
a60fac80d9
FairMQProgOptions: add a method to check key existence
2017-06-23 11:45:46 +02:00
Alexey Rybalchenko
4bc54ad32b
add --print-channels
to print registered channels of the device
2017-06-23 11:45:46 +02:00