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

Method StopCurveSet

trinity/Eve/SpaceObject/Children/EveChildContainer.cpp:746–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746void EveChildContainer::StopCurveSet( const std::string& name )
747{
748 if( !IsUpdating() )
749 {
750 return;
751 }
752
753 for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ )
754 {
755 if( ( *it )->GetName() == name )
756 {
757 ( *it )->Stop();
758 }
759 }
760
761 for( auto it = m_objects.begin(); it != m_objects.end(); it++ )
762 {
763 if( auto owner = dynamic_cast<ITr2CurveSetOwner*>( *it ) )
764 {
765 owner->StopCurveSet( name );
766 }
767 }
768}
769
770void EveChildContainer::UpdateCurveSet( const std::string& name, Be::Time time )
771{

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
GetNameMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected