24 Commits

Author SHA1 Message Date
Vince Woo
48e4720419
Created new SerialBufferBase as a parent of SerializeBufferBase (now renamed LinearBufferBase). (#4288)
* Created new SerialBufferBase as a parent of SerializeBufferBase. Renaming interface functions to be less confusing.

* Deprecating copyRawOffset. No direct use-cases in F' core.

* Make SerialBufferBase a true pure virtual interface.

* Changing Serializable to work with SerialBufferBase parent interface.

* Changing copyRaw and copyRawOffset to work with SerialBufferBase

* Updating documentation for SerialBufferBase usage

* Adding some documentation. Adding missing ASSERT in copyRaw. Fixing some bugs that new ASSERT uncovered.

* Renaming SerializeBufferBase to LinearBufferBase. Add a using declaration to maintain backwards compatability. Properly mark LinearBufferBase functions as override.

* Filling in the rest of the docstrings for the classes in Serializable

* Removing redundant virtual keyword on override function

* Applying clang formatting

* Incorporating PR comments

* Fix compile issues

* Bump version to alpha

* Format

* v

---------

Co-authored-by: M Starch <LeStarch@googlemail.com>
2025-11-06 16:23:20 -08:00
Thomas Boyer-Chammard
c69ff72110
Format Svc and add to CI (#3978)
* Format Svc and add to CI

* Fix comlogger include

* fix assert UTs

* Fix static analysis warning

* formatting
2025-08-04 16:21:47 -07:00
M Starch
ec08d43dd3
Removes NATIVE_INT_TYPE, NATIVE_UINT_TYPE, and POINTER_CAST from Fw (#3286)
* NATIVE_INT_TYPE use in toString

* NATIVE_INT_TYPE use in SimpleObjRegistry

* NATIVE_INT_TYPE use in Asserts

* NATIVE_INT_TYPE use in Fw/Comp

* NATIVE_INT_TYPE use in getCapacity

* NATIVE_INT_TYPE use in getEntries

* NATIVE_INT_TYPE use in size/length

* NATIVE_INT_TYPE use in FILE_NAME_ARG

* NATIVE_INT_TYPE use in Fw (misc)

* NATIVE_INT_TYPE use in identifier

* NATIVE_INT_TYPE use in Fw (misc II)

* POINTER_CAST in Buffer

* POINTER_CAST in Serializable

* sp

* Removing no longer used DefaultTypes.hpp

* Fixes to accomidate Fw refactor

* Unit-test and CI fixes

* Fixing review comments - pt 1
2025-03-04 14:42:48 -08:00
M Starch
a5c853b9cf
NATIVE_INT_TYPE portNum to FwIndexType portNum (#3236) 2025-02-14 12:25:12 -08:00
M Starch
a049743e07
Removing component init() functions where unneeded (#2893)
* Removing component init() functions where unneeded

* Removing spurious assert
2024-09-23 18:39:00 -07:00
Rob Bocchino
c02f35145e
Remove FPP dependencies on native int types (#2548)
* Remove FPP dependencies on native int types

* Revise FpConfig

* Fix errors in FpConfig

* Revise types

Add size type alias to Serializable
Remove type aliases for generated code
2024-03-04 19:34:23 -08:00
Johan Bertrand
7d13cbd8b8
Fix pedantic warnings (#2441)
* Fix macro pedantic warning

* Fixed pedantic warnings
2024-01-04 17:02:36 -08:00
Josh Weadick
37d73806f2 Passing all tests except LogFileValidation due to bug when running on WSL 1 2021-06-14 10:44:01 -07:00
bocchino
4fd9627965 Rename CommandResponse to CmdResponse 2021-06-02 20:47:07 -07:00
bocchino
fd0f278597 Revise command response port
Replace inline enum with XML enum type
Generate XML from FPP
Revise uses to match
2021-01-21 11:08:59 -08:00
Michael D Starch
af1a489737 mstarch: more buffer review fixes 2020-11-16 14:20:27 -08:00
Michael D Starch
fa6a758f6c mstarch: repairing UTs for use with new Fw::Buffer 2020-11-12 15:44:02 -08:00
Joshua Anderson
3cccd731d9
Refactor FW_OBJECT_NAMES switches and fix building without object names
Instead of adding the name argument to a constructor when FW_OBJECT_NAMES
is enabled, always supply a name argument.

Add a marco that conditionally sets the name to "" if FW_OBJECT_NAMES is not set.
This cleans up a lot of the conditional compilation switches that weren't being tested
and would silently break, while still stripping the strings from the binary.
2020-10-07 17:19:05 -07:00
Michael D Starch
136af07edd mstarch: more header cleaning for issue: #189 2019-04-18 14:12:02 -07:00
Timothy Canham
55a101cef7 Updates to Gse/SocketGndIf + Fw::Buffer arguments. From heli 2018-03-30 19:43:15 -07:00
Gene Merewether
a9aee374b9 BufferAccumulator ut's passing 2018-01-23 18:19:09 -08:00
Gene Merewether
4eb6971dab BufferLogger ut's passing 2018-01-23 14:37:38 -08:00
Gene Merewether
171c1d4e66 WIP - unit test building for BufferLogger 2018-01-23 10:56:42 -08:00
Gene Merewether
a45ac400b8 Add sched ports to trigger telemetry push 2018-01-17 13:16:55 -08:00
Gene Merewether
33b6bfa9bc restructure constructors and init calls to have same form as other loggers 2018-01-17 09:32:42 -08:00
Gene Merewether
49a7d59c45 Replaced/eliminated missing types in BufferLogger 2018-01-16 14:59:47 -08:00
Gene Merewether
3b36d95bc9 Replaced/eliminated missing types in BufferAccumulator 2018-01-16 13:34:48 -08:00
Gene Merewether
49115f9808 WIP - renamespace, consolidate autogenerated types, remove standalone nonvolatile state storage 2017-12-13 16:19:19 -08:00
Gene Merewether
cdcdafc519 Merge in buffer accumulator/logger from ASTERIA 2017-12-13 15:10:47 -08:00