MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / removeTLESource

Method removeTLESource

Suscan/Library.cpp:903–916  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

901}
902
903bool
904Singleton::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
918bool
919Singleton::registerSpectrumUnit(

Callers 1

onRemoveTLESourceMethod · 0.80

Calls 2

removeMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected