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
Alexey Rybalchenko
1d38a2350f
add --print-options
to print available options in short format
2017-06-23 11:45:46 +02:00
Alexey Rybalchenko
cae3fd6aa3
Catch any exception type in the main of runFairMQDevice.h
2017-06-23 11:36:20 +02:00
Dennis Klein
25a75c1f82
add channel, poller and testing docs
2017-06-04 01:14:10 +02:00
Alexey Rybalchenko
5e2926e0da
FairMQShmMonitor docs
2017-06-04 01:12:30 +02:00
Alexey Rybalchenko
f05ed326a6
Update FairMQShmMonitor
2017-06-04 01:12:30 +02:00
Alexey Rybalchenko
764514a35a
Test devices without config & two in a process
2017-06-04 01:06:12 +02:00
Alexey Rybalchenko
f4e5a74f23
Always have access to FairMQProgOptions from device.
2017-06-04 01:06:12 +02:00
Dennis Klein
7bb6a2eed9
add default subchannel index
2017-05-24 16:37:33 +02:00
Dennis Klein
8bc21675af
Refactor TransportFactory to RAII
...
* Remove explicit Initialize and Terminate states,
map them onto ctor/dtor
* Remove no longer needed Shutdown state
* Remove deprecated SetTransport()
2017-05-24 16:37:33 +02:00
Dennis Klein
733794657c
update docs
2017-05-23 14:10:34 +02:00
Dennis Klein
89423eb737
enable shmem tests
2017-05-23 14:10:34 +02:00
Dennis Klein
8b93b4f8ed
do not call nn_term()
...
nn_term() will globally lock down the nanosmsg library. The nn_init()
interface is no longer available to reset the global state. Subsequent unit
tests after the first nn_term() call are failing.
2017-05-23 14:10:34 +02:00
Dennis Klein
d2c78479f0
Refactor FairMQTools
...
* Split header, add common header
* Transform to canonical namespace
* Deprecate old header
* Adapt to new Tools.h
2017-05-23 13:42:56 +02:00
Dennis Klein
9215c81362
Deprecate old TransportFactory factory
2017-05-23 08:37:52 +02:00
Alexey Rybalchenko
9288a2c3d5
Add tests for poller.
2017-05-23 08:32:13 +02:00
Alexey Rybalchenko
6b221d950c
Add NewPoller() wrapper.
2017-05-23 08:32:13 +02:00
Dennis Klein
3be2f297f3
generate id if no device id available
...
* CreateSocket factory no longer accepts id param, but the
TransportFactory has an id member instead
2017-05-18 20:01:44 +02:00
Dennis Klein
eb614b6005
do not copy strings
2017-05-18 20:01:44 +02:00
Dennis Klein
b5dab60a82
add more single and multithreaded unit tests
2017-05-18 20:01:44 +02:00
Dennis Klein
3205e0c378
refactor to more idiomatic RAII
...
* FairMQTransportFactoryZMQ: move the config invariant
initialization to ctor
* FairMQChannel: add new ctor that creates usable channel
* FairMQSocket*: close sockets in dtor
* FairMQTransportFactory*: terminate context in dtor
* FairMQChannel: add Bind/Connect facades (for explicit control, e.g. timing)
2017-05-18 20:01:44 +02:00