Alexey Rybalchenko
5721ea9510
SDK: send heartbeats when subscribed to state changes
2020-04-10 18:40:14 +02:00
Alexey Rybalchenko
274ba5ec00
Commands: Add task id to subscription status cmds
2020-04-07 14:44:51 +02:00
Alexey Rybalchenko
926ee743ed
DDS plugin: refactor for better readability
2020-03-25 09:53:22 +01:00
Alexey Rybalchenko
c7b1304a2c
DDS plugin: Update property instead of set to avoid errors
2020-03-25 09:53:22 +01:00
Alexey Rybalchenko
32764e1b12
DDS plugin: refactor for better readability
2020-03-25 09:53:22 +01:00
Alexey Rybalchenko
96348b8462
DDS plugin: improve error message on unexpected update
2020-03-25 09:53:22 +01:00
Alexey Rybalchenko
cd83efadea
DDS plugin: refactor to load DDS task id only once
2020-03-25 09:53:22 +01:00
Alexey Rybalchenko
539b088ade
DDS Plugin: Simplify subchannel bookkeeping
2020-03-11 14:51:19 +01:00
Alexey Rybalchenko
beff0af51b
DDS plugin: fix exiting timeout
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
c1719eb285
SDK Commands: remove heartbeat commands
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
0e72a9bf54
SDK::DDSSession: remove channel id to task id association
2020-02-21 18:37:33 +01:00
Alexey Rybalchenko
264a178424
SDK: Add Topology::AsyncGetProperties
...
Co-Author: Dennis Klein <d.klein@gsi.de>
2020-01-27 20:50:11 +01:00
Dennis Klein
1c8ad03f3c
SDK: Add Topology::AsyncSetProperties
...
Co-Author: Alexey Rybalchenko <alexryba@gmail.com>
2020-01-27 20:50:11 +01:00
Alexey Rybalchenko
b0b271d1f4
DDS plugin: remove static mode
2019-12-03 15:44:25 +01:00
Alexey Rybalchenko
073f5e5c0e
Fix regression in the DDS plugin shutdown handling
2019-11-20 14:07:44 +01:00
Alexey Rybalchenko
c34d1f0946
Cleanup includes
2019-10-29 20:06:31 +01:00
Alexey Rybalchenko
a53e95b5f6
Add flatbuffers-based command format to SDK/plugin
2019-09-30 12:18:49 +02:00
Alexey Rybalchenko
9544d9665b
DDS plugin: Prefix channel properties
2019-09-18 18:06:46 +02:00
Alexey Rybalchenko
dc72262af1
DDS Plugin: reset channel containers before filling
2019-09-16 16:02:47 +02:00
Dennis Klein
e3890a4033
DDS plugin: Do not block the DDS KeyValue callback
2019-09-13 14:53:42 +02:00
Dennis Klein
8a2c7fb601
DDS plugin: Wait for IDLE->EXITING state-change to be acknowledged
...
Sometimes devices shut down too fast when entering the EXITING state so
that the publication of that state-change will never be sent. The plugin
now waits for an acknowledgement by the external controller with a
configurable timeout.
2019-09-04 21:17:35 +02:00
Dennis Klein
1bb77bf47b
DDS plugin: Automatically set session and device id if not provided
...
Resolves #187
2019-07-29 09:22:02 +02:00
Dennis Klein
9cbccface7
DDS plugin: Synchronize FillChannelContainers and DDSKeyValue updates
...
This was a regression after introducing external control mode in f7cdf5e
.
2019-07-29 09:22:02 +02:00
Dennis Klein
98aeb16dc7
SDK: Adapt to new DDS plugin external mode
2019-07-26 14:55:32 +02:00
Dennis Klein
6c07920fc6
DDS plugin: Adapt command ui to changes in DDS plugin
...
* Add COMPLETE INIT support
* Add -n option, shall be replaced with inspecting DDS topo spec in the
future
* Update DDS example to work again
2019-07-26 14:55:32 +02:00
Dennis Klein
b54df715ea
DDS plugin: Do not auto-transition after Initializing
2019-07-26 14:55:32 +02:00
Dennis Klein
f7cdf5ee23
DDS plugin: Implement --control external
2019-07-26 14:55:32 +02:00
Alexey Rybalchenko
ac8cd19915
SDK: wait for devices to be in running
2019-07-24 16:42:36 +02:00
Alexey Rybalchenko
8789664cfd
First working version of SDK ChangeState
2019-07-23 16:08:15 +02:00
Alexey Rybalchenko
f515eb1100
Extract state queue into own class. Use in device, plugins
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
8bb6a9518a
Use TransitionTo in Plugins
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
63c02657c1
Fix SHUTDOWN & STARTUP listed as a transition in plugin
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
07f7142ae2
Rebased, cleaned up
2019-07-19 14:45:27 +02:00
Dennis Klein
14980d7486
Implement old_state->new_state notifications
2019-07-19 14:45:27 +02:00
Alexey Rybalchenko
fc94342db8
Update state machine
...
- Split INITIALIZING state into Init+Bind+Connect
- Remove PAUSE state
- Convert state/transitions to enum classes (CamelCase)
- Transition to a state only once previous handler is complete
- Add CompleteInit transition to notify Initializing state
that config updates are complete
- Deprecate WaitForEndOfState(transition) in favor of
WaitForState(state)/WaitForNextState()
- Update tests/plugins to new APIs
- Deprecate CheckCurrentState() in favor of NewStatePending()
2019-02-25 12:19:50 +01:00
Alexey Rybalchenko
ffbe90b638
Update to new DDS 2.2 API
...
- require DDS 2.2
- fix regressions in automatic port binding
- fix regression in channel API
- update DDS example readme
2018-11-28 16:55:34 +01:00
Alexey Rybalchenko
e1f555bc05
Fix issues found by Codacy
2018-10-08 17:20:02 +02:00
Alexey Rybalchenko
21419adb40
Change unregistered options warning to debug
2018-06-16 17:40:05 +02:00
Alexey Rybalchenko
e4c349888d
Improve compilation speed
2018-05-17 16:32:49 +02: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
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
abcc5083f2
FairMQ DDS plugin: fix incomplete shutdown when dds server is terminated
2018-02-15 10:31:47 +01:00
Alexey Rybalchenko
4e2a195289
Fix warnings
2018-02-01 09:59:11 +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
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
Dennis Klein
7429f7a326
FairMQ: Add dump-config functionality to DDS plugin
2017-11-01 15:32:35 +01:00