MCPcopy Create free account
hub / github.com/ImageEngine/cortex / Scope

Method Scope

src/IECore/MessageHandler.cpp:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92ThreadSpecificHandlerStack g_threadHandlers;
93
94MessageHandler::Scope::Scope( MessageHandler *handler )
95{
96 if ( handler )
97 {
98 HandlerStack &stack = g_threadHandlers.local();
99 stack.push( handler );
100 }
101
102 m_handler = handler;
103}
104
105MessageHandler::Scope::~Scope()
106{

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected