Filippo Gentile
71ccb413b0
XpressNet: fix power state logic
2025-03-18 11:49:22 +01:00
Reinder Feenstra
af6dac1305
replaced tcb::span by std::span
2025-01-29 19:55:05 +01:00
Reinder Feenstra
4f9fdbe206
clang-tidy: fixed readability issues
2024-11-22 00:15:15 +01:00
Reinder Feenstra
161a0e9521
fix: implemented deleteLater for protocol kernels, to make sure all EventLoop work posted by the kernel thread is processed before the kernel is deleted.
2024-06-22 09:05:20 +02:00
Reinder Feenstra
f828066cf2
WIP output system refactor (very big commit...), see #95 and #21
...
Summary of the changes:
- Output channel is now an enum
- Support for different output types: single/pair/aspect
- Outputs are no longer created on the interface and then assigned to a turnout/signal, instead a interface+channel+address is selected for a turnout/signal. Up to eight address can be used.
- Removed some network commands, can now be handled using the generic property/method system.
- Added support for DCCext (RCN-213) for LocoNet, DCC-EX and Z21.
TODO:
- Test/fix MarklinCAN/ECoS.
- Test/fix load old world files.
2024-02-12 23:34:16 +01:00
Reinder Feenstra
6670c774de
refactor: moved common kernel stuff to KernelBase #WIP
2023-09-22 00:39:21 +02:00
Reinder Feenstra
c7361ba98e
decoder: removed 27 from default speed steps, it's only supported by XpressNet
...
see #72
2023-07-01 00:21:23 +02:00
Reinder Feenstra
0883254190
xpressnet: implemented decoder address range
...
short: 0-99
long: 100-9999
see #72
2023-06-29 23:53:09 +02:00
Reinder Feenstra
c71d72442c
DecoderProtocol: split DCC in DCCShort and DCCLong, to get rid of longAddress property
...
see #72
2023-06-25 23:35:07 +02:00
Reinder Feenstra
ab81ad73b3
#72 Decoder.protocol is now limited by DecoderController
2023-06-23 00:19:35 +02:00
Reinder Feenstra
4878765aa7
xpressnet: set default hostname to empty string
2023-06-21 00:04:31 +02:00
Filippo Gentile
0c111c6763
server: further fix compilation after method.hpp split
...
Co-authored-by: Reinder Feenstra <reinderfeenstra@gmail.com>
2023-06-18 13:23:35 +02:00
Filippo Gentile
436e9dbd93
server: forward declare Interface Kernel and Setting
...
Some functions had to be moved to .cpp files but they hardly would be
inlined because they are virtual.
2023-06-18 13:23:28 +02:00
Reinder Feenstra
08639fb371
xpressnet: added error handling to iohandlers
...
on error the interface is now put in error state
2023-05-07 23:08:11 +02:00
Reinder Feenstra
07e71677ca
interface: added status object (for display in client status bar)
2023-04-18 23:23:32 +02:00
Reinder Feenstra
49be24ab9f
Input: added simulate action
...
added SetFalse, SetTrue, Toggle action
simulation will require these actions
2023-04-10 23:23:45 +02:00
Reinder Feenstra
246b27c434
moved ObjectProperty<> implementation to seperate file
...
world.hpp now uses forward decl. for many classes, this reduces built time!
see #43
2023-03-30 15:09:11 +02:00
Reinder Feenstra
34abfafd21
added special serial device property and serial port list
2022-12-19 23:55:24 +01:00
Reinder Feenstra
a308165ed1
fix: input monitor / output monitor didn't work
...
dynamic_cast was used while not fully constructed
2022-08-21 23:33:30 +02:00
Reinder Feenstra
0e466119c3
refactor: moved decoders property to DecoderController, less duplicate code
2022-08-08 23:56:26 +02:00
Reinder Feenstra
71f63a3d05
refactor: moved outputs property to OutputController, less duplicate code
2022-08-08 22:55:46 +02:00
Reinder Feenstra
75d628d14a
refactor: move inputs property to InputController, less duplicate code
2022-08-07 20:19:33 +02:00
Reinder Feenstra
24fbe33bf5
xpressnet: implemented input simulation
2022-04-30 18:26:26 +02:00
Reinder Feenstra
1912c1a6f6
decoderlist: added interface column for world
2022-03-05 23:35:04 +01:00
Reinder Feenstra
9a96b510d0
set interface name when created
2022-03-05 00:14:45 +01:00
Reinder Feenstra
faacd8af3b
Merge branch 'master' into simulate
2022-02-11 23:55:43 +01:00
Reinder Feenstra
ef1e4a9884
added channel support to inputs
2022-02-06 00:45:09 +01:00
Reinder Feenstra
6cca383d87
added support for output channels and implemented it for DCC++EX
2022-02-05 19:44:37 +01:00
Reinder Feenstra
1673e62ea7
xpressnet: added basic simulation support
2022-01-30 15:20:34 +01:00
Reinder Feenstra
fa463f3023
xpressnet: fix: corrected operation/emergency stop commands
2022-01-30 15:18:47 +01:00
Reinder Feenstra
5ca6c73892
replaced world weak_ptr by reference
...
a world must always outlive its objects
2022-01-17 23:31:04 +01:00
Reinder Feenstra
754655aed1
world: added simulation option
2022-01-15 08:49:02 +01:00
Reinder Feenstra
34ccc228e3
fixed many diagnostic/readabilty issues reported by clang-tidy #WIP
2022-01-04 00:09:38 +01:00
Reinder Feenstra
35ea514d61
fixed language issues and added en-us strings
2022-01-03 00:03:57 +01:00
Reinder Feenstra
f52502bcbf
WIP: XpressNet rewrite
2021-10-24 17:22:17 +02:00