Commit Graph
302 Commits
Author SHA1 Message Date
sani7 fd160d9143 message parser
add cmd name to response
2024-08-23 00:34:53 +02:00
sani7 88fe68ad33 server
bump magic enum version
2024-08-22 22:57:26 +02:00
sani7 bd9f7e7fe6 CMake
fix dev warning
2024-08-22 22:51:38 +02:00
sani7 6d76d0174c main
implement the message_parser function
2024-08-22 13:58:18 +02:00
sani7 e12263b8d2 message parser
Add magic enum
Add function to parse commands
Add function to parse events
Add function to feed json input to there corresponding parse functions and return there result
2024-08-22 13:57:32 +02:00
sani7 45263970fc protocol
update names to snake case
2024-08-22 13:48:07 +02:00
sani7 81cadfce17 simulators
Add function to retrieve active sim name
2024-08-22 13:47:50 +02:00
sani7 afdba524c2 main
better comment
2024-08-22 13:17:22 +02:00
sani7 f910643e04 simulator_base
add Doxygen documentation for the people using this class
2024-08-22 13:12:22 +02:00
sani7 33eb776c57 simulator_base
Add timer interval as parameter in the constructor
2024-08-22 13:11:42 +02:00
sani7 f4d8246bc8 simulators
change from returning diff to returning a list of ui_elements by extracting the index out of the diff and pushing the item in the list
2024-08-22 12:54:01 +02:00
sani7 4f6b060c54 main
broadcast is now working
2024-08-22 11:20:52 +02:00
sani7 835dc2c0a8 simulators
use diff instead of custom garbage
2024-08-22 11:20:20 +02:00
sani7 619f565480 simulators
use already defined function instead of code duplication
2024-08-22 11:20:03 +02:00
sani7 aed0d52dbd websocket
split broadcast out of message function
2024-08-22 11:19:31 +02:00
sani7 a6ec23fb24 main
add prefix to simulators
2024-08-22 11:06:36 +02:00
sani7 23c5d1df22 Add initial protocol 2024-08-22 10:12:00 +02:00
sani7 1d89d5b1e1 simulators
add changed_ui_items
2024-08-22 10:11:09 +02:00
sani7 aaff6802c3 simulators
change prefix p to m
add list_simulators
2024-08-22 10:10:27 +02:00
sani7 94a5d5c69f sim base
add is_ui_id_unique
implement it in the  add_ui_item function
2024-08-22 10:02:37 +02:00
sani7 afcbc0f231 UI
Add virtual event methods to UI_item and override them in derived class
2024-08-20 00:49:49 +02:00
sani7 7cf109904e Using broadcast server example for server 2024-08-20 00:16:56 +02:00
sani7 bbf434b73e CMake
rename simulators to server
2024-08-20 00:14:09 +02:00
sani7 ca6adcdd29 Format signal handler 2024-08-20 00:13:45 +02:00
sani7 d740d54f86 update on shutdown 2024-08-20 00:13:01 +02:00
sani7 37ee64d3e1 websocket
Move listen to run
2024-08-19 23:05:54 +02:00
sani7 d67108542e Add websocket class 2024-08-19 21:29:22 +02:00
sani7 352f25abe4 Add simulators 2024-08-19 12:22:31 +02:00
sani7 5760a1f97f simulator base
rename
add name getter
2024-08-19 12:21:35 +02:00
sani7 4120d032af Add unused to ui 2024-08-19 12:21:05 +02:00
sani7 7233ea487b Add custom websocketpp 2024-08-19 11:43:29 +02:00
sani7 7331a562e3 update color submodule 2024-08-19 11:00:36 +02:00
sani7 b2dacb6868 simulator base
adds stop
2024-08-19 09:48:21 +02:00
sani7 61ba25ea98 b UI_combobox
fix missing selected field in json
2024-08-19 01:58:10 +02:00
sani7 fea99e99d5 b UI_checkbox
fix bad implementation of toggle_selected
2024-08-19 01:57:52 +02:00
sani7 895aa66b82 Add initial simulator base 2024-08-19 01:41:51 +02:00
sani7 a6c0f1c406 Fix check bugs for UI_combobox and UI_slider 2024-08-19 01:35:32 +02:00
sani7 2ae7845e7c Fix initialiser bug for UI_checkbox 2024-08-19 01:33:49 +02:00
sani7 d257dc154f Move from function pointers to std::function 2024-08-19 01:07:52 +02:00
sani7 45aa67473f Fix inheritance issue 2024-08-19 01:06:56 +02:00
sani7 62ab0e7eb7 Update timer submodule 2024-08-19 01:06:39 +02:00
sani7 f7f5826bc1 Move timer to submodule 2024-08-18 22:27:21 +02:00
sani7 52f2ea4c0a Move color to submodule 2024-08-18 22:23:05 +02:00
sani7 2616ffbf21 b fix warnings generated from previous commit 2024-08-18 22:05:09 +02:00
sani7 ade502e221 Add cmake debug compile warings 2024-08-18 21:58:46 +02:00
sani7 2a80bed0ca Add external timer class 2024-08-18 21:56:23 +02:00
sani7 2adab0caec initial tests 2024-08-17 23:22:51 +02:00
sani7 505ec2b171 Initial UI in src 2024-08-17 23:22:44 +02:00
sani7 2af5280415 Initial tools files 2024-08-17 23:22:24 +02:00
sani7 334ae06060 Initial external color library 2024-08-17 23:21:53 +02:00