1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
VILLASnode/tests/unit
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
..
CMakeLists.txt Make project REUSE compliant 2023-09-07 11:16:04 +02:00
config.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
config_json.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
format.cpp Fix SampleFlags HAS_ALL and NEW_FRAME 2023-09-19 19:07:22 +02:00
helpers.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
helpers.hpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
json.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
main.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
mapping.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
memory.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
pool.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
queue_signalled.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00