fw4spl
IViewLayoutManager.cpp
Go to the documentation of this file.
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
14 
15 namespace fwGui
16 {
17 namespace layoutManager
18 {
19 
20 //-----------------------------------------------------------------------------
21 
23 {
24 }
25 
26 //-----------------------------------------------------------------------------
27 
29 {
30 }
31 
32 //-----------------------------------------------------------------------------
33 
35 {
36  for( ::fwGui::container::fwContainer::sptr container : m_subViews)
37  {
38  container->destroyContainer();
39  }
40  m_subViews.clear();
41 }
42 
43 //-----------------------------------------------------------------------------
44 
45 std::vector< ::fwGui::container::fwContainer::sptr > IViewLayoutManager::getSubViews()
46 {
47  return this->m_subViews;
48 }
49 
50 //-----------------------------------------------------------------------------
51 
52 } // namespace layoutManager
53 } // namespace fwGui
54 
The namespace fwGui contains the base interface for IHM services.
Definition: SJobBar.hpp:23
This file defines the interface of the base class for managing a layout geometry. ...
virtual FWGUI_API ~IViewLayoutManager()
Destructor. Do nothing.
std::vector< ::fwGui::container::fwContainer::sptr > m_subViews
All sub containers managed by this layout.
FWGUI_API IViewLayoutManager()
Constructor. Do nothing.
virtual FWGUI_API void destroySubViews()
Helper to destroy local sub views.
virtual FWGUI_API std::vector< ::fwGui::container::fwContainer::sptr > getSubViews()
Returns all sub containers managed by this layout.