Commit Graph

35 Commits

Author SHA1 Message Date
7d1c756d89 patch Personalities, not devices. 2023-04-01 15:31:22 -04:00
3ee4cbb858 basic operations for managing a patch 2023-04-01 11:17:56 -04:00
6486775626 allow devices to be sorted by startaddress 2023-04-01 11:17:29 -04:00
40a3342317 use preferred naming convention for build 2023-03-31 01:49:38 -04:00
db81ecefdc add namespace aliases to cmake 2023-03-31 01:42:40 -04:00
c2ab4d9b22 remove unnecessary cmake directives 2023-03-31 01:37:37 -04:00
d87fbcf25d unify the callback handlers 2022-12-12 11:29:41 -05:00
293b2060b8 don't hold the control lock when doing callbacks 2022-12-10 13:34:45 -05:00
849da8cecb take the control lock when running callbacks 2022-12-10 11:30:23 -05:00
dbcde09616 more of making thing constant 2022-12-10 11:12:44 -05:00
37367cb6b4 explicit constructors and virtual destructors 2022-12-10 11:07:13 -05:00
1d1be459c8 rename mutex for consistency 2022-12-09 11:54:52 -05:00
7f8e9ce4ac shared lock for universe access control 2022-12-09 11:18:27 -05:00
f1d3fe0256 use a shared mutex to lock the dimmer data 2022-12-09 10:28:02 -05:00
6237a9ef37 refactor for naming consistency 2022-12-08 17:41:07 -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
e7297c42ff use the same callback runner for all callback types 2022-12-06 13:35:18 -05:00
5ad7b5505e give all universe callbacks the same signature 2022-12-06 13:30:40 -05:00
738ced6964 fix off-by-one in range check 2022-12-06 13:24:09 -05:00
3135c0ae6c rename call back registration function for consistancy 2022-12-02 16:35:05 -05:00
a03ef79d5d add note about the need to collapse the superposition of status 2022-12-02 15:47:51 -05:00
be17ea9bb5 remove redundant local variable 2022-12-02 15:35:08 -05:00
a443299204 set timeout state based solely on age 2022-12-02 15:33:22 -05:00
9548145629 rename function to remove implication of rx use only 2022-12-02 15:32:26 -05:00
6a977bbf01 prefer the copy_n method for readability 2022-12-02 13:09:18 -05:00
11c6013a00 unify formatting and comments 2022-12-02 13:08:08 -05:00
db7bf1dcb3 add status change callbacks for listeners that want to be notified 2022-12-02 13:06:22 -05:00
2491054e1d cleanup universe status setting 2022-12-02 13:04:06 -05:00
4745458b87 rename callback list to better indicate the type of callback 2022-12-02 12:57:01 -05:00
6a2d1242be rename variable to reflect validity for both rx and tx 2022-12-02 12:52:52 -05:00
13d1251511 move DMX to submodule 2022-11-28 14:55:05 -05:00