fw4spl
fwGui::layoutManager::IViewLayoutManager Class Referenceabstract

Defines the generic layout manager for IHM. More...

#include <IViewLayoutManager.hpp>

+ Inheritance diagram for fwGui::layoutManager::IViewLayoutManager:
+ Collaboration diagram for fwGui::layoutManager::IViewLayoutManager:

Public Types

typedef ::fwRuntime::ConfigurationElement::sptr ConfigurationType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUI_API IViewLayoutManager ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IViewLayoutManager ()
 Destructor. Do nothing.
 
virtual FWGUI_API void initialize (ConfigurationType configuration)=0
 Configure the layout before creation.
 
virtual FWGUI_API void createLayout (::fwGui::container::fwContainer::sptr parent)=0
 Instantiate layout with parent container. More...
 
virtual FWGUI_API void destroyLayout ()=0
 Destroy local layout with sub containers. More...
 
virtual FWGUI_API std::vector< ::fwGui::container::fwContainer::sptr > getSubViews ()
 Returns all sub containers managed by this layout.
 
- Public Member Functions inherited from fwGui::GuiBaseObject
- Public Member Functions inherited from fwCore::BaseObject
virtual const std::string & getLeafClassname () const
 return object's classname without its namespace, i.e. BaseObject
 

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::GuiBaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
- Static Public Member Functions inherited from fwCore::BaseObject
static bool isTypeOf (const std::string &type)
 
static const std::string & leafClassname ()
 return object's classname without its namespace, i.e. BaseObject
 
static const std::string & classname ()
 return object's classname without its namespace, i.e. BaseObject
 

Protected Member Functions

virtual FWGUI_API void destroySubViews ()
 Helper to destroy local sub views.
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 

Protected Attributes

std::vector< ::fwGui::container::fwContainer::sptr > m_subViews
 All sub containers managed by this layout.
 

Demangling methods

virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
static const std::string & classname ()
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 

Detailed Description

Defines the generic layout manager for IHM.

Date
2009-2010.

Definition at line 36 of file IViewLayoutManager.hpp.

Member Function Documentation

virtual FWGUI_API void fwGui::layoutManager::IViewLayoutManager::createLayout ( ::fwGui::container::fwContainer::sptr  parent)
pure virtual

Instantiate layout with parent container.

Precondition
LayoutManager must be initialized before.
parent containers must be instanced.

Implemented in fwGui::CardinalLayoutManager, fwGui::TabLayoutManager, fwGui::LineLayoutManager, and fwGui::ToolboxLayoutManager.

virtual FWGUI_API void fwGui::layoutManager::IViewLayoutManager::destroyLayout ( )
pure virtual

Destroy local layout with sub containers.

Precondition
services using this sub containers must be stopped before.

Implemented in fwGui::CardinalLayoutManager, fwGui::TabLayoutManager, fwGui::LineLayoutManager, and fwGui::ToolboxLayoutManager.


The documentation for this class was generated from the following files: