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/lib
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
..
api Apply clang-format changes 2023-09-08 11:37:42 +02:00
formats Apply clang-format changes 2023-09-08 11:37:42 +02:00
hooks Fix SampleFlags HAS_ALL and NEW_FRAME 2023-09-19 19:07:22 +02:00
kernel Apply clang-format changes 2023-09-08 11:37:42 +02:00
memory Apply clang-format changes 2023-09-08 11:37:42 +02:00
nodes Fix broken include due to auto-formatting 2023-09-08 11:37:42 +02:00
api.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
capabilities.cpp Apply clang-format changes 2023-09-08 11:37:42 +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_helper.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
dumper.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
format.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
hook.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
hook_list.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
mapping_list.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
node.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
node_capi.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
node_compat.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
node_direction.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
node_list.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path_destination.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path_list.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
path_source.cpp Replace SampleFlags IS_FIRST/IS_LAST with NEW_SIMULATION 2023-09-19 19:07:22 +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
sample.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
shmem.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
signal_data.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal_list.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
signal_type.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
socket_addr.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
stats.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
super_node.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
usb.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00
web.cpp Apply clang-format changes 2023-09-08 11:37:42 +02:00