Commit Graph

651 Commits

Author SHA1 Message Date
dbcde09616 more of making thing constant 2022-12-10 11:12:44 -05:00
52758cc904 use the volatile global enabled flag 2022-12-10 11:08:18 -05:00
37367cb6b4 explicit constructors and virtual destructors 2022-12-10 11:07:13 -05:00
19df7540c1 set organization name before loading settings 2022-12-10 11:05:31 -05:00
eb47f6543f correct locking semantics 2022-12-09 23:09:52 -05:00
8221c90e24 remove commented code 2022-12-09 23:09:26 -05:00
16416ff10f mark as const 2022-12-09 23:09:11 -05:00
45cee71b19 become more constant 2022-12-09 21:27:27 -05:00
c4cf9768ab use scoped mutex locking 2022-12-09 21:08:35 -05:00
1f57ef1029 use seperate sockets for rx and tx 2022-12-09 21:00:38 -05:00
fe8bc039bc rename private variable 2022-12-09 18:17:04 -05:00
c9dec23ea9 initialize the DMP data segment from the sending thread 2022-12-09 16:08:16 -05:00
0c9c85830e use dynamic casts if RTTI is an available feature 2022-12-09 16:04:31 -05:00
4975c7e809 rearrange in header order 2022-12-09 15:16:03 -05:00
1d1be459c8 rename mutex for consistency 2022-12-09 11:54:52 -05:00
e6146e9efe standard timing intervals are constant 2022-12-09 11:46:18 -05:00
7f8e9ce4ac shared lock for universe access control 2022-12-09 11:18:27 -05:00
d11e136247 use locking guards 2022-12-09 10:29:01 -05:00
f1d3fe0256 use a shared mutex to lock the dimmer data 2022-12-09 10:28:02 -05:00
b7ca5c36f5 reuse the sACN framing layer PDU 2022-12-09 09:26:42 -05:00
4fa5a2794a use initializer list to create sender 2022-12-09 09:25:29 -05:00
4d7413b949 move all of transmitting to the helper class 2022-12-08 21:22:20 -05:00
47bc2c9ffd immediately delete the terminated universe 2022-12-08 21:21:04 -05:00
466efd7477 move tx to a helper class 2022-12-08 19:09:39 -05:00
d67b3b8f40 adapt to the DMP rx/tx mechanism 2022-12-08 18:05:33 -05:00
f9896ff5f3 add synchronization reset helper 2022-12-08 18:04:37 -05:00
85a7ec4762 strictly enforce recieved sequence numbers 2022-12-08 17:56:02 -05:00
8a83107ee7 follow rename in base class 2022-12-08 17:52:24 -05:00
0ac22b232d inherit from DMP::Component 2022-12-08 17:50:29 -05:00
46938de0f5 refactor for readability 2022-12-08 17:47:37 -05:00
6237a9ef37 refactor for naming consistency 2022-12-08 17:41:07 -05:00
67e4472751 refactor to less ambigous name 2022-12-08 17:40:15 -05:00
e34a5acb5c metadata is a more descriptive property name 2022-12-08 10:12:25 -05:00
63ee24d334 add a non-standard 0 value failure reason 2022-12-07 21:58:10 -05:00
382f2d26fd add some accesses'ors for the range metadata 2022-12-07 21:57:32 -05:00
2b5db0febd initialize the address_type members 2022-12-07 21:56:49 -05:00
ce3e1ebf7c capitalize the Range struct 2022-12-07 21:56:17 -05:00
433e91f70c refactor over DMP Component 2022-12-07 21:53:39 -05:00
8f42e0bca6 a base class for DMP components 2022-12-07 21:51:15 -05:00
26ae455a07 check that the block was created before assigning parents 2022-12-06 18:05:12 -05:00
7434ac3d91 fix off-by-one error 2022-12-06 18:04:37 -05:00
f496b89e44 prefer the block setting code path 2022-12-06 18:04:19 -05:00
97ef3d5078 allocate loop control variables before the loop 2022-12-06 15:38:20 -05:00
b07d505bce only send 3 terminated universe frames 2022-12-06 14:52:06 -05:00
8a2e838916 only reset the sequence number for received terminated universes 2022-12-06 14:51:43 -05:00
1cad61ffc7 protected convenience calls can be inlined 2022-12-06 14:51:03 -05:00
635dc36ada cleanup documentation 2022-12-06 14:50:20 -05:00
39a6bcbfbf rearrange header 2022-12-06 14:04:18 -05:00
f9f0d1298e any optimization of separate handling is overshadowed by duplicating the code 2022-12-06 13:37:40 -05:00
ed40a3b666 catch the range exception instead of implementing seperate bounds checks 2022-12-06 13:36:27 -05:00