Tame `time_type` proliferation. (#203)
Differing classes had their own time_type and other classes were parameterized on it in ways that were compatibile, but only by chance. With these changes, modifying the time type used in spike will propagate through to all dependent classes. * Rename generic spike<I, T> as basic_spike<I, T>. * Use spike = basic_spike<cell_member_type, float> as the common spike type. * Replace instances of spike_type aliases with just spike. * time_type aliases are defined in terms of spike::time_type. * Remove time_type parameterization in connection. * Remove time_type parameterization in communicator. * Remove time_type parameterization in exporter classes.
Showing
- miniapp/miniapp.cpp 4 additions, 5 deletionsminiapp/miniapp.cpp
- src/cell_group.hpp 4 additions, 6 deletionssrc/cell_group.hpp
- src/communication/communicator.hpp 9 additions, 11 deletionssrc/communication/communicator.hpp
- src/connection.hpp 13 additions, 19 deletionssrc/connection.hpp
- src/io/exporter.hpp 2 additions, 6 deletionssrc/io/exporter.hpp
- src/io/exporter_spike_file.hpp 3 additions, 5 deletionssrc/io/exporter_spike_file.hpp
- src/model.hpp 4 additions, 5 deletionssrc/model.hpp
- src/spike.hpp 15 additions, 9 deletionssrc/spike.hpp
- src/thread_private_spike_store.hpp 5 additions, 15 deletionssrc/thread_private_spike_store.hpp
- tests/global_communication/test_communicator.cpp 1 addition, 2 deletionstests/global_communication/test_communicator.cpp
- tests/global_communication/test_exporter_spike_file.cpp 3 additions, 4 deletionstests/global_communication/test_exporter_spike_file.cpp
- tests/performance/io/disk_io.cpp 3 additions, 4 deletionstests/performance/io/disk_io.cpp
- tests/unit/test_spike_store.cpp 7 additions, 4 deletionstests/unit/test_spike_store.cpp
Please register or sign in to comment