MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / ~OHDInterface

Method ~OHDInterface

OpenHD/ohd_interface/src/ohd_interface.cpp:152–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152OHDInterface::~OHDInterface() {
153 // Terminate the link first
154 m_wb_link = nullptr;
155 // Then give the card(s) back to the system (no monitor mode)
156 // give the monitor mode cards back to network manager
157 openhd::wb::giveback_cards_monitor_mode(m_monitor_mode_cards, m_console);
158 if (m_ethernet_manager) {
159 m_ethernet_manager->stop();
160 m_ethernet_manager = nullptr;
161 }
162}
163
164std::vector<openhd::Setting> OHDInterface::get_all_settings() {
165 std::vector<openhd::Setting> ret;

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected