You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: PopulationInterface has already been migrated as a reference implementation (see PR #N). This issue covers the remaining interface classes.
In every interface class, replace SharedInt, SharedBoolean, SharedReal, and SharedString fields that hold scalar configuration values with their plain C++ equivalents (int, bool, double, std::string). This is only safe to do in conjunction with Step 3 (removal of constructor copies), because without the copy there is no synchronization problem to solve.
Files to update
rcpp_fleet.hpp — SharedInt data ID fields, SharedString name, SharedString observed_units
For each class: remove SharedPrimitive field declarations, add plain-type equivalents with sensible defaults, update all .get() / .set() call sites, and update add_to_fims_tmb_internal() accordingly.
Labels: refactor, C++
Parent: #1644
Note: PopulationInterface has already been migrated as a reference implementation (see PR #N). This issue covers the remaining interface classes.
In every interface class, replace SharedInt, SharedBoolean, SharedReal, and SharedString fields that hold scalar configuration values with their plain C++ equivalents (int, bool, double, std::string). This is only safe to do in conjunction with Step 3 (removal of constructor copies), because without the copy there is no synchronization problem to solve.
Files to update