Logo Search packages:      
Sourcecode: patchage version File versions  Download package

void PatchBay::PatchBayArea::destroy (  ) 

Removes all ports and connections and modules.

Definition at line 113 of file PatchBayArea.cpp.

{
      for (ModuleMap::iterator m = m_modules.begin(); m != m_modules.end(); ++m)
            delete (*m).second;
      for (ConnectionList::iterator c = m_connections.begin(); c != m_connections.end(); ++c)
            delete (*c);

      m_modules.clear();
      m_connections.clear();

      m_active_port = NULL;
      m_clicked_port = NULL;
}


Generated by  Doxygen 1.6.0   Back to index