MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / addSingleton

Function addSingleton

tests/catch.hpp:10895–10897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10893 ISingleton::~ISingleton() {}
10894
10895 void addSingleton(ISingleton* singleton ) {
10896 getSingletons()->push_back( singleton );
10897 }
10898 void cleanupSingletons() {
10899 auto& singletons = getSingletons();
10900 for( auto singleton : *singletons )

Callers 1

getInternalMethod · 0.85

Calls 1

getSingletonsFunction · 0.85

Tested by

no test coverage detected