MCPcopy Create free account
hub / github.com/carbonengine/trinity / HandleEvent

Method HandleEvent

trinity/Controllers/Tr2TimelineController.cpp:251–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void Tr2TimelineController::HandleEvent( const char* eventName )
252{
253 if( !m_isActive )
254 {
255 return;
256 }
257 for( auto& handler : m_eventHandlers )
258 {
259 if( strcmp( eventName, handler->GetName() ) == 0 )
260 {
261 handler->Execute( *this );
262 }
263 }
264}
265
266IRoot* Tr2TimelineController::GetOwner() const
267{

Callers

nothing calls this directly

Calls 2

GetNameMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected