Logo Search packages:      
Sourcecode: ardour version File versions

ImageFrameTimeAxis::~ImageFrameTimeAxis (  )  [virtual]

Destructor Responsible for destroying any child image items that may have been added to thie time axis

Definition at line 91 of file imageframe_time_axis.cc.

{
       GoingAway() ; /* EMIT_SIGNAL */
      
      // Destroy all the marker views we may have associaited with this TimeAxis
      for(MarkerTimeAxisList::iterator iter = marker_time_axis_list.begin(); iter != marker_time_axis_list.end(); ++iter)
      {
            MarkerTimeAxis* mta = *iter ;
            MarkerTimeAxisList::iterator next = iter ;
            next++ ;
            
            marker_time_axis_list.erase(iter) ;

            delete mta ;
            mta = 0 ;
            
            iter = next ;
      }
      
      if(image_action_menu)
      {
            delete image_action_menu ;
            image_action_menu = 0 ;
      }
      
      if (selection_group)
      {
            delete selection_group;
            selection_group = 0 ;
      }
      
      // Destroy our Axis View helper
      if(view)
      {
            delete view ;
            view = 0 ;
      }
}


Generated by  Doxygen 1.6.0   Back to index