1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
Commit graph

67 commits

Author SHA1 Message Date
Philipp Jungkamp
043ff81eb5 Fix SampleFlags HAS_ALL and NEW_FRAME
SampleFlags::HAS_ALL was not including the NEW_* style flags.
The NEW_SIMULATION flag is now independent from the NEW_FRAME flag,
since the dependency made checking that flag unnecessarily difficult.

Checking a composite flag like this

 if ((smp->flags & SampleFlags::NEW_SIMULATION) == SampleFlags::NEW_SIMULATION);

is more verbose than checking a simple flag like

 if (smp->flags & SampleFlags::NEW_SIMULATION);

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2023-09-19 19:07:22 +02:00
Steffen Vogel
02a2aa4f94 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-08 11:37:42 +02:00
Steffen Vogel
0735eb0f89 Make project REUSE compliant
And various other cleanups and harmonizations

Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
Steffen Vogel
78727be952 Use C++ style comments
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-09-07 11:16:04 +02:00
7eec1bb753 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-12-16 23:44:07 +01:00
b94746effb relicense VILLASnode to Apache 2.0 2022-07-04 18:23:57 +02:00
11a25f6fb7 update mail address 2022-03-15 09:29:20 -04:00
17ac92aa21 update copyright year 2022-03-15 09:28:57 -04:00
b402048082 add support for plugin sub-registries 2022-03-04 03:47:46 -05:00
26ff62a594 hook: fix eof handling 2022-02-24 08:02:20 -05:00
784e970bfe port large parts of VILLASnode to C++ and fix tests alongside 2022-01-11 09:19:53 -05:00
32e016ebcb log: use spdlog custom formatters for basic VILLASnode types (closes #308) 2021-07-07 09:10:23 +00:00
00a9e92b0a remove old plugin code 2021-06-21 16:11:42 -04:00
b2aab0b823 several minor fixes 2021-06-18 14:32:03 -04:00
731909c3a8 ported io/format code to C++ 2021-06-17 08:26:46 -04:00
081195a080 villas-hook: allow separate input/output formats 2021-03-17 14:58:45 +00:00
0d1f8576dc villas-hook: allow configuration via JSON file 2021-03-17 14:58:45 +00:00
4f370ee1b2 drop legacy logger 2021-03-17 14:58:45 +00:00
Felix Wege
f00c225b26 io: removed CHECKED state and fixed sprintf/sscan 2021-01-08 14:49:28 +01:00
c7c513a5f6 ci: fix all remaining cppcheck warnings and errors 2020-09-11 15:15:36 +02:00
e895d1479c fixed a bunch of errors found by cppcheck 2020-09-10 18:24:27 +02:00
8e259516a3 add more nullptr checks after memory allocations 2020-07-06 14:03:43 +02:00
037bfcb81e fix initialization errors 2020-07-01 17:07:17 +02:00
f8850b4110 refactor: improve code-style 2020-07-01 17:07:16 +02:00
e53661a62c update copyright year to 2020 2020-01-20 17:17:00 +01:00
995e4b5ec9 memory: use default value for memory type 2019-10-26 13:34:03 +02:00
ef17ec19a2 refactor enums to class enums 2019-06-23 16:13:23 +02:00
2e6ca2de94 avoid calling copy constructors 2019-06-18 17:53:09 +02:00
492004bf34 use new villas::Tool class as common top-level entrypoint 2019-05-28 17:31:58 +02:00
3ae112095d fix changes to villas-hook 2019-05-24 10:51:10 +02:00
Divya Rajashekhar Laxetti
0e86d41267 Update villas-hook.cpp 2019-05-21 17:33:03 +02:00
71995642a9 add missing include villas/colors.hpp 2019-04-23 13:11:19 +02:00
dabb1c5454 src: catch unhandled exceptions 2019-04-17 18:46:18 +02:00
15c3f04c5d cmake: more fixes 2019-04-05 22:10:46 +02:00
5bb428704f fix indetion of top-level try/catch blocks 2019-03-26 17:04:57 +01:00
2dafb25639 port hook subsystem to C++ 2019-03-26 15:39:08 +01:00
618b25bf4f port config_helper.c to C++ 2019-03-26 07:15:07 +01:00
116ef7f153 catch std::runtime_error 2019-03-22 13:45:04 +01:00
4a5b0b65b2 add new option to command line utilities to specify signal type 2019-03-16 09:41:50 +01:00
49fd6d89f5 hooks: simplify hook processing system so that ever hook only processes a single sample at once 2019-03-16 09:05:42 +01:00
b7d0f174ca remove auto signal type detection 2019-03-09 13:34:51 +01:00
4942d8ee74 bunch of bugfixes and refactoring for preperation of hooks 2019-03-09 00:32:22 +01:00
d19ae55c71 hook: propagate error in hook_process() 2019-02-18 01:11:16 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
c2f83b01fd Merge branch 'ws-relay' into develop
# Conflicts:
#	include/villas/node/config.h.in
#	include/villas/utils.h
#	lib/CMakeLists.txt
#	lib/nodes/websocket.c
#	lib/utils.c
#	lib/web.c
#	src/CMakeLists.txt
#	src/villas-pipe.cpp
2019-01-12 13:48:29 +01:00
029ccd2e09 Merge branch 'node-uldaq' into develop 2019-01-09 17:02:43 +01:00
a63b15609a do not throw dynamically allocated exceptions 2018-12-02 03:11:32 +01:00
c3c37c267f avoid global storage as far as possible 2018-11-30 21:37:52 +01:00
c30009b96f cpp: use new supernode class 2018-11-30 21:35:14 +01:00
e625926d7d refactor: cout over multiple lines 2018-11-30 21:00:53 +01:00