fw4spl
fwGui::LineLayoutManager Class Reference

Defines the line layout manager. More...

#include <LineLayoutManager.hpp>

+ Inheritance diagram for fwGui::LineLayoutManager:
+ Collaboration diagram for fwGui::LineLayoutManager:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWGUIQT_API LineLayoutManager (::fwGui::GuiBaseObject::Key key)
 
virtual FWGUIQT_API void createLayout (::fwGui::container::fwContainer::sptr parent) override
 Instantiate layout with parent container. More...
 
virtual FWGUIQT_API void destroyLayout () override
 Destroy local layout with sub containers. More...
 
- Public Member Functions inherited from fwGui::layoutManager::LineLayoutManagerBase
FWGUI_API LineLayoutManagerBase ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~LineLayoutManagerBase ()
 Destructor. Do nothing.
 
virtual FWGUI_API void initialize (ConfigurationType configuration) override
 Initialize Line layout manager before the creation of layout. More...
 
Orientation getOrientation ()
 
- Public Member Functions inherited from fwGui::layoutManager::IViewLayoutManager
FWGUI_API IViewLayoutManager ()
 Constructor. Do nothing.
 
virtual FWGUI_API ~IViewLayoutManager ()
 Destructor. Do nothing.
 
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

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from fwGui::layoutManager::LineLayoutManagerBase
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 fwGui::layoutManager::IViewLayoutManager
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 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
 

Friends

template<class , class , class >
class ::fwTools::ClassFactory
 
class ::fwTools::Factory
 

Demangling methods

virtual const std::string & getLeafClassname () const override
 return object's classname without its namespace, i.e. BaseObject
 
virtual const std::string & getClassname () const override
 return full object's classname with its namespace, i.e. fwCore::BaseObject
 
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
 

Additional Inherited Members

- Public Types inherited from fwGui::layoutManager::LineLayoutManagerBase
enum  Orientation { VERTICAL, HORIZONTAL }
 Defines all possible orientation for a LineLayout.
 
typedef std::string RegistryKeyType
 
- Public Types inherited from fwGui::layoutManager::IViewLayoutManager
typedef ::fwRuntime::ConfigurationElement::sptr ConfigurationType
 
- Public Types inherited from fwGui::GuiBaseObject
typedef ::fwGui::factory::Key Key
 
- Static Public Attributes inherited from fwGui::layoutManager::LineLayoutManagerBase
static FWGUI_API const RegistryKeyType REGISTRY_KEY = "::fwGui::LineLayoutManager"
 
- Protected Member Functions inherited from fwGui::layoutManager::LineLayoutManagerBase
std::list< ViewInfogetViewsInfo ()
 
- Protected Member Functions inherited from fwGui::layoutManager::IViewLayoutManager
virtual FWGUI_API void destroySubViews ()
 Helper to destroy local sub views.
 
- Protected Member Functions inherited from fwGui::GuiBaseObject
 GuiBaseObject ()
 
virtual ~GuiBaseObject ()
 
- Protected Attributes inherited from fwGui::layoutManager::IViewLayoutManager
std::vector< ::fwGui::container::fwContainer::sptr > m_subViews
 All sub containers managed by this layout.
 

Detailed Description

Defines the line layout manager.

Definition at line 23 of file LineLayoutManager.hpp.

Member Function Documentation

void fwGui::LineLayoutManager::createLayout ( ::fwGui::container::fwContainer::sptr  parent)
overridevirtual

Instantiate layout with parent container.

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

Implements fwGui::layoutManager::IViewLayoutManager.

Definition at line 37 of file LineLayoutManager.cpp.

References fwGui::layoutManager::IViewLayoutManager::m_subViews, SLM_ASSERT, and SLM_TRACE_FUNC.

void fwGui::LineLayoutManager::destroyLayout ( )
overridevirtual

Destroy local layout with sub containers.

Precondition
services using this sub containers must be stopped before.

Implements fwGui::layoutManager::IViewLayoutManager.

Definition at line 108 of file LineLayoutManager.cpp.

References fwGui::layoutManager::IViewLayoutManager::destroySubViews().

+ Here is the call graph for this function:


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