| 175 | |
| 176 | template <typename T> |
| 177 | T* find_component() const { |
| 178 | for (auto* component : m_components) { |
| 179 | if (auto* typed = dynamic_cast<T*>(component)) { |
| 180 | return typed; |
| 181 | } |
| 182 | } |
| 183 | return nullptr; |
| 184 | } |
| 185 | |
| 186 | protected: |
| 187 | std::string get_name() const override { return "HarnessMemorySystem"; } |
nothing calls this directly
no outgoing calls
no test coverage detected