1
0
Fork 0
Commit Graph

998 Commits

Author SHA1 Message Date
Kevin Matz 455ce23681 whitespace cleanup 2023-05-18 15:50:13 -04:00
Kevin Matz de346b15b4 shared pointer aliases require correct base class types 2023-05-18 15:39:26 -04:00
Kevin Matz 74815726bf only PDU derived classes are elegible to be Messages 2023-05-18 15:38:43 -04:00
Kevin Matz f01b3c8a56 be explicit when using shared pointers 2023-05-18 15:37:27 -04:00
Kevin Matz c4ab516efe set badbit if stream is corrupt 2023-05-18 14:45:38 -04:00
Kevin Matz 8dc6c36e36 use auto to prevent length truncation/rollover 2023-05-18 14:45:10 -04:00
Kevin Matz 41c89e06e0 initialize at allocation 2023-05-18 14:44:31 -04:00
Kevin Matz f7a79c5a40 omit length bytes from flag data 2023-05-18 14:44:06 -04:00
Kevin Matz 7315070462 pdu block members are owned by the block and do not require separate memory management. 2023-05-18 14:43:35 -04:00
Kevin Matz 0c442b74a2 whitespace cleanup 2023-05-18 14:42:06 -04:00
Kevin Matz 4a067ad66b evaluate unsigned integer as a bool 2023-05-18 14:39:05 -04:00
Kevin Matz 13981ff727 consider native byte order when interpreting data 2023-05-18 14:38:32 -04:00
Kevin Matz 14e4bdc5b5 immitate the C++20 byteorder enum 2023-05-18 14:37:50 -04:00
Kevin Matz 17f9ee21d6 use size type for size attributes 2023-05-18 14:36:14 -04:00
Kevin Matz 45c2e5c116 convenient streaming of null-terminated strings 2023-05-18 14:33:40 -04:00
Kevin Matz c0e7464919 remove unused alias, which just masked what was actually happening 2023-05-18 14:33:04 -04:00
Kevin Matz 999026abb7 whitespace cleanup 2023-05-18 14:32:33 -04:00
Kevin Matz bd15cbd5aa reorder header 2023-05-16 10:28:14 -04:00
Kevin Matz 7029286883 tolerate addresses that don't begin with a '/' 2023-05-16 10:27:56 -04:00
Kevin Matz d5bd61c35b introspection is public 2023-05-16 10:15:08 -04:00
Kevin Matz 79e9e2f360 rearrange header 2023-05-16 10:09:14 -04:00
Kevin Matz 7e679f3016 decouple address matching from message dispatching 2023-05-16 09:52:18 -04:00
Kevin Matz 0398b63907 capture less when scheduling bundles 2023-05-16 09:50:14 -04:00
Kevin Matz 39bba1f5b0 local include with quotes 2023-05-16 09:49:26 -04:00
Kevin Matz 1d2a3b7941 add loopback test for OSC #bundle 2023-05-16 08:44:10 -04:00
Kevin Matz 4fa70b4ff2 tests cleanup 2023-05-16 08:43:43 -04:00
Kevin Matz 16f3c66562 whitespace cleanup 2023-05-15 11:42:17 -04:00
Kevin Matz ba2927e6ee sending methods are constant 2023-05-15 11:40:43 -04:00
Kevin Matz 654dfed224 always offer parameter descriptions 2023-05-15 11:39:24 -04:00
Kevin Matz 7e4734f56a checksums are simply additive 2023-05-15 11:38:05 -04:00
Kevin Matz 258910efe1 loopback test for Tx->Rx 2023-05-15 11:29:22 -04:00
Kevin Matz 216a08f100 sender for bundles 2023-05-15 11:28:53 -04:00
Kevin Matz fdf801c962 use callbacks to send the byte stream 2023-05-15 11:28:39 -04:00
Kevin Matz 0bd30d1151 the received packet may be a message or a bundle 2023-05-15 11:24:19 -04:00
Kevin Matz 31ec3ade78 add documentation for the spec 1.0 stream format 2023-05-15 11:23:49 -04:00
Kevin Matz bf61bd9c3e recieve methods are public 2023-05-15 11:22:33 -04:00
Kevin Matz ac1c5d64d7 remove duplicate allocation 2023-05-15 11:21:49 -04:00
Kevin Matz 4fd1c4de29 introspection is protected 2023-05-15 11:21:08 -04:00
Kevin Matz 64901a27cb adding children doen't need to be virtual 2023-05-15 11:20:47 -04:00
Kevin Matz f0d5556230 name match a const string 2023-05-15 11:20:16 -04:00
Kevin Matz f72ca7e9f6 root dispatching doesn't pop the pattern list 2023-05-15 11:19:29 -04:00
Kevin Matz 6853a2af5c name matching is protected, and not virtual 2023-05-15 11:18:28 -04:00
Kevin Matz 0c22c70b38 check if method is root 2023-05-15 11:12:45 -04:00
Kevin Matz 767c0a9e34 remove unnecessary headers 2023-05-15 10:55:39 -04:00
Kevin Matz fe4d94628c use message string i/o 2023-05-15 10:55:24 -04:00
Kevin Matz 5b65fd8187 corrected initializer for blob data 2023-05-15 10:54:19 -04:00
Kevin Matz 6022d4bbc6 consistant patterns for byte alignment 2023-05-15 10:52:54 -04:00
Kevin Matz 745222cbf9 be wrong instead of throwing exemptions 2023-05-15 10:50:59 -04:00
Kevin Matz e638b09be6 fast integer types 2023-05-15 10:48:59 -04:00
Kevin Matz b64b185d73 independent checksum calculation 2023-05-13 11:38:41 -04:00