Dennis Klein
99ed61a58b
Tools: Introduce semaphore
2019-07-23 16:08:15 +02:00
Dennis Klein
69268eecfb
Tools: Fix various clang-tidy warnings
2019-07-10 19:35:18 +02:00
Dennis Klein
a8c76accdc
Split StateMachine and Tools into separate targets
...
This change is needed to share the functionality between
the core library and the SDK library. We want to support building/installing
just the SDK without having a dependency on the core library which adds
additional dependencies.
2019-07-02 21:30:37 +02:00
Gvozden Neskovic
9b326c7a71
add array variant of fair::mq::tools::make_unique()
2019-05-14 14:56:08 +02:00
Alexey Rybalchenko
ef4d6a3310
Process tools: add print helper, support signals
2019-03-19 18:09:01 +01:00
Alexey Rybalchenko
cdc1ba084c
Fix broken pipe errors in tools::execute
2019-03-15 15:51:50 +01:00
Alexey Rybalchenko
922f7e9a92
Use Asio to launch processes in fair::mq::tools::execute
2019-03-14 18:15:17 +01:00
Alexey Rybalchenko
25fcf13985
Move Bind/Connect/Attach to FairMQChannel
2018-11-13 11:08:48 +01:00
Alexey Rybalchenko
3ca0d7236a
Add safety checks for process tools
2018-11-06 11:14:01 +01:00
Teo Mrnjavac
227a302903
Avoid boost::uuids::entropy_error on some systems
2018-11-05 13:18:08 +01:00
Alexey Rybalchenko
0b199e779a
Add test for interface IP detection tools
2018-11-01 15:43:40 +01:00
Dennis Klein
3a1b769937
Support feeding the child process data on stdin
2018-10-10 19:35:18 +02:00
Alexey Rybalchenko
e1f555bc05
Fix issues found by Codacy
2018-10-08 17:20:02 +02:00
Alexey Rybalchenko
7d5e76dece
Add more tests for custom main()
2018-08-27 17:37:22 +02:00
Matthias Kretz
e95096eb37
Add RateLimiter class to tools
2018-08-27 17:37:22 +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
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
778c8e16bb
Replace pstreams with Boost.Process
2018-01-23 18:35:09 +01:00
Alexey Rybalchenko
a3393e600e
convert log severities use to lowercase and remove use of MQLOG
2018-01-16 22:53:26 +01:00
Dennis Klein
5c0178e882
FairMQ: Remove deprecated header <tools/FairMQTools.h>
2017-11-29 16:40:25 +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
Dennis Klein
864a41502f
FairMQ: Support the case with multiple default routes
2017-11-01 15:32:17 +01: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
Alexey Rybalchenko
179968db1e
Remove FairMQConfigurable
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
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
Alexey Rybalchenko
65f1b96dc3
Add Version member to FairMQDevice, settable via constructor
2017-07-17 13:25:16 +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
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
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
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
Alexey Rybalchenko
085de240c2
FairMQ: fix missing includes.
2017-04-28 13:30:51 +02:00
Dennis Klein
365a68010f
various fixes
...
* fix include paths
* print on stderr
2017-04-20 11:07:47 +02:00
Alexey Rybalchenko
b237b3f9d7
Remove unused code.
...
- Remove unused code in FairMQTools.
- Remove obsolete device options (now in device config).
2017-03-14 17:51:26 +01:00
Alexey Rybalchenko
91b7a72ac5
get default network interface from the default route
2017-03-02 13:25:06 +01:00
Alexey Rybalchenko
07b760218f
Fix coverity #157658
2017-02-27 13:09:16 +01:00
Alexey Rybalchenko
a332d9fc83
First version of the shared memory transport.
...
Use via `--transport shmem` cmd option. No pub/sub.
2016-12-18 14:50:58 +01:00
Alexey Rybalchenko
79fba8ec4c
Update JSON files & readme, use FairMQDevicePtr, cleanup.
2016-11-09 15:01:40 +01:00
Alexey Rybalchenko
da3010b20c
Move config & control DDS functionality into plugins.
2016-10-28 14:14:13 +02:00
Alexey Rybalchenko
16fd63cd5b
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.
2016-09-30 14:36:35 +02:00
Alexey Rybalchenko
5e5ddd5b7b
Fix further effc++ and reorder warnings.
2016-09-19 11:10:46 +02:00
Alexey Rybalchenko
a05dc80402
Refactor DDS example and tools to be able to run with/without DDS
2016-05-20 14:09:53 +02:00
Alexey Rybalchenko
e9f09143b2
Gracefully end the device also in the termination case (instead of abort).
2016-05-17 12:27:18 +02:00
Alexey Rybalchenko
ce42f36126
Remove redundant state change call and revert the termination handler.
2016-05-12 17:28:33 +02:00