120 Commits

Author SHA1 Message Date
Pavel Kirienko
da4c2b524b CRC fix 2014-02-23 20:10:09 +04:00
Pavel Kirienko
0c7d51b9ec Dynamic arrays; not fully tested yet. Tail array optimization is not implemented yet. 2014-02-23 16:53:27 +04:00
Pavel Kirienko
77d3cb3518 StaticArray<> boolean specialization shouldn't have ValueType, so it was removed 2014-02-22 22:35:32 +04:00
Pavel Kirienko
e2e4e420f1 Marshalling headers reorganized 2014-02-22 21:56:24 +04:00
Pavel Kirienko
056791619e StaticArray specialization for std::bitset<> 2014-02-22 21:37:31 +04:00
Pavel Kirienko
ac6456695e StaticArray<> impl and test 2014-02-22 21:10:58 +04:00
Pavel Kirienko
202fa3b58b Minor fixes for FloatSpec, IntegerSpec and types.hpp 2014-02-22 20:47:54 +04:00
Pavel Kirienko
fb32aabb54 Removed enable_tail_array_optimization and init() 2014-02-22 17:08:38 +04:00
Pavel Kirienko
a58e8842e2 FloatSpec made unconstructible 2014-02-22 15:25:52 +04:00
Pavel Kirienko
51e42038c6 FloatSpec<> implementation and tests 2014-02-22 15:06:08 +04:00
Pavel Kirienko
1e1fdc613b IntegerSpec test name fix 2014-02-22 12:54:13 +04:00
Pavel Kirienko
ac2a31b087 Renamed IntegerInfo to IntegerSpec, few minor naming fixes 2014-02-22 11:00:42 +04:00
Pavel Kirienko
0e28a0826c IntegerInfo 2014-02-21 22:03:17 +04:00
Pavel Kirienko
aee9ce238e Type categorization via EnableIfType - for integer info class 2014-02-21 21:41:14 +04:00
Pavel Kirienko
47a2b01a14 Style fix: All constants are CamelCase now 2014-02-21 18:45:23 +04:00
Pavel Kirienko
a155e6f859 StaticIf - needed for standard types 2014-02-21 15:58:44 +04:00
Pavel Kirienko
232b69580f ScalarCodec fix 2014-02-21 15:58:04 +04:00
Pavel Kirienko
df04599ac0 ScalarCodec - added representation correctness test 2014-02-21 00:42:11 +04:00
Pavel Kirienko
dc3111c77d ScalarCodec implementation; more tests to come 2014-02-21 00:29:26 +04:00
Pavel Kirienko
361cf53265 Cleaner error reporting logic for BitStream 2014-02-20 20:58:57 +04:00
Pavel Kirienko
4eb2886ca9 Doc comment 2014-02-20 20:36:40 +04:00
Pavel Kirienko
5d106dfac0 Resolved TODO in BitStream 2014-02-20 20:30:16 +04:00
Pavel Kirienko
cb0ff11eea BitStream::read() - implementation and tests 2014-02-20 20:28:42 +04:00
Pavel Kirienko
3cf6a5ff60 Partially implemented BitStream class - only write() so far. 2014-02-20 19:03:43 +04:00
Pavel Kirienko
e5a8302b9d CMake C rules (for the upcoming BitStream class) 2014-02-20 17:03:38 +04:00
Pavel Kirienko
c10abf53e9 Style fix - DynamicTransferBuffer --> DynamicTransferBufferManagerEntry 2014-02-20 14:09:25 +04:00
Pavel Kirienko
7c4902deb5 StaticTransferBuffer extracted for standalone usage 2014-02-20 14:06:09 +04:00
Pavel Kirienko
4f49d61de6 Style fixes 2014-02-19 17:55:18 +04:00
Pavel Kirienko
195dca3696 Renaming: TransferBufferBase --> ITransferBuffer 2014-02-19 17:11:05 +04:00
Pavel Kirienko
cd851312ff TransferSender implementation and tests 2014-02-19 17:05:19 +04:00
Pavel Kirienko
bb9d21287e makeDataType() moved to generic transfer test helpers 2014-02-19 16:47:48 +04:00
Pavel Kirienko
15d90f72e9 Verbose logging on CRC failure 2014-02-19 16:47:08 +04:00
Pavel Kirienko
c136d92b5d Added Frame::setIndex() 2014-02-19 16:46:50 +04:00
Pavel Kirienko
d330572e37 Style fix: LinkedListRoot<>::length() --> getLength() 2014-02-19 00:50:24 +04:00
Pavel Kirienko
903ec1b0a1 getNum*() Dispatcher methods for testing 2014-02-19 00:45:52 +04:00
Pavel Kirienko
0d50ec077c Cleaned up dynamic memory management, explicit pointer zeroing from destroy() 2014-02-19 00:39:58 +04:00
Pavel Kirienko
2f9c0087ef Dispatcher spin timeout test 2014-02-18 16:48:21 +04:00
Pavel Kirienko
f186888b04 Dispatcher transmission test 2014-02-18 16:42:32 +04:00
Pavel Kirienko
69eadee72b Dispatcher reception test 2014-02-18 16:26:48 +04:00
Pavel Kirienko
0bc595d4a8 Test: Transfer::operator==() - data type comparison 2014-02-18 14:16:29 +04:00
Pavel Kirienko
cd2a13c60d Further test refactoring: data type descriptor moved to transfer object 2014-02-18 14:14:55 +04:00
Pavel Kirienko
7039711027 Tests: refectored IncomingTransferEmulator, CAN iface mock supports pushRx(RxFrame) 2014-02-18 12:20:35 +04:00
Pavel Kirienko
a9a86bc151 CAN iface mock uses monotonic timestamping instead of UTC 2014-02-18 12:03:05 +04:00
Pavel Kirienko
980659ebb5 Minor test refactoring 2014-02-18 12:00:45 +04:00
Pavel Kirienko
06d74d3213 Added test for maximum transfer length 2014-02-17 15:13:05 +04:00
Pavel Kirienko
1886f0a8a9 Frame parsing test 2014-02-17 14:14:08 +04:00
Pavel Kirienko
d3d85a671c Renamed some Frame methods 2014-02-17 12:53:07 +04:00
Pavel Kirienko
9d06a328dc Simplified Frame::parse() 2014-02-17 12:43:47 +04:00
Pavel Kirienko
697a55aebb Refactoring: Frame Index field size increased, Trnasfer ID field size reduced. NodeID class added, Frame class rewritten with stricter runtime checks. All tests were updated accordingly. 2014-02-17 12:35:12 +04:00
Pavel Kirienko
20778f1acb Better explanation of frame filtering logic 2014-02-15 21:08:45 +04:00