| 901 | } |
| 902 | |
| 903 | bool |
| 904 | Singleton::removeTLESource(std::string const &name) |
| 905 | { |
| 906 | if (this->tleSources.find(name) == this->tleSources.end()) |
| 907 | return false; |
| 908 | |
| 909 | // Non-user TLEs cannot be removed |
| 910 | if (!this->tleSources[name].user) |
| 911 | return false; |
| 912 | |
| 913 | this->tleSources.remove(name); |
| 914 | |
| 915 | return true; |
| 916 | } |
| 917 | |
| 918 | bool |
| 919 | Singleton::registerSpectrumUnit( |
no test coverage detected