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

Method invoke

tests/catch.hpp:3962–3970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3960 OcMethod( Class cls, SEL sel ) : m_cls( cls ), m_sel( sel ) {}
3961
3962 virtual void invoke() const {
3963 id obj = [[m_cls alloc] init];
3964
3965 performOptionalSelector( obj, @selector(setUp) );
3966 performOptionalSelector( obj, m_sel );
3967 performOptionalSelector( obj, @selector(tearDown) );
3968
3969 arcSafeRelease( obj );
3970 }
3971 private:
3972 virtual ~OcMethod() {}
3973

Callers

nothing calls this directly

Calls 2

performOptionalSelectorFunction · 0.85
arcSafeReleaseFunction · 0.85

Tested by

no test coverage detected