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

Method Unlink

trinity/Controllers/Tr2StateMachine.cpp:95–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void Tr2StateMachine::Unlink( UnlinkReason reason )
96{
97 if( !m_controller )
98 {
99 return;
100 }
101 if( reason != UnlinkReason::DELETING )
102 {
103 Stop();
104 }
105 for( auto it = begin( m_states ); it != end( m_states ); ++it )
106 {
107 ( *it )->Unlink( reason );
108 }
109 m_controller = nullptr;
110}
111
112void Tr2StateMachine::FollowTransitions( uint64_t variableDirtyMask )
113{

Callers 1

OnListModifiedMethod · 0.45

Calls 3

StopFunction · 0.85
beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected