#include <layout.h>


Public Member Functions | |
| Layout () | |
| Constructs a new Layout. | |
| Layout (const Layout &from, Config *config) | |
| Creates a new, deep copy of a layout. | |
| virtual | ~Layout () |
| Destruct this layout. | |
Data Access | |
| void | addView (View *view) |
| Add a new view to this layout. | |
| bool | removeView (View *view) |
| remove the view from this layout. | |
| const ViewVector & | getViews () const |
| Get the list of views. | |
| View * | findView (const std::string &name) |
| Find the first view of a given name. | |
| Config * | getConfig () |
| const Config * | getConfig () const |
| View * | getView (const ViewPath &path) |
| LayoutPath | getPath () const |
Operations | |
| VisitorResult | accept (LayoutVisitor &visitor) |
| Traverse this layout and all children using a layout visitor. | |
| VisitorResult | accept (ConstLayoutVisitor &visitor) const |
| void | unmap () |
| Unmap this layout and all its children. | |
Protected Member Functions | |
| virtual void | serialize (net::DataOStream &os, const uint64_t dirtyBits) |
Friends | |
| class | Config |
Definition at line 39 of file server/layout.h.
Creates a new, deep copy of a layout.
Definition at line 40 of file server/layout.cpp.
References _views, eq::server::Config::addLayout(), and addView().

| eq::server::Layout::~Layout | ( | ) | [virtual] |
Destruct this layout.
Definition at line 54 of file server/layout.cpp.
References eq::server::View::_layout.
| void eq::server::Layout::addView | ( | View * | view | ) |
Add a new view to this layout.
Definition at line 171 of file server/layout.cpp.
References eq::server::View::_layout.
Referenced by Layout().

| bool eq::server::Layout::removeView | ( | View * | view | ) |
remove the view from this layout.
Definition at line 178 of file server/layout.cpp.
References eq::server::View::_layout.
| const ViewVector& eq::server::Layout::getViews | ( | ) | const [inline] |
Get the list of views.
Definition at line 64 of file server/layout.h.
Referenced by eq::server::Config::addCanvas(), and eq::server::View::getPath().

| View * eq::server::Layout::findView | ( | const std::string & | name | ) |
Find the first view of a given name.
| name | the name of the view to find |
0 if no view with the name exists. Definition at line 189 of file server/layout.cpp.
References accept().

| View * eq::server::Layout::getView | ( | const ViewPath & | path | ) |
| LayoutPath eq::server::Layout::getPath | ( | ) | const |
Definition at line 104 of file server/layout.cpp.
References eq::server::Config::getLayouts().
Referenced by eq::server::Canvas::Canvas(), and eq::server::View::getPath().


| VisitorResult eq::server::Layout::accept | ( | LayoutVisitor & | visitor | ) |
Traverse this layout and all children using a layout visitor.
| visitor | the visitor. |
Definition at line 162 of file server/layout.cpp.
Referenced by findView().

| void eq::server::Layout::unmap | ( | ) |
Unmap this layout and all its children.
Definition at line 196 of file server/layout.cpp.
References eq::net::Object::getID(), eq::net::Object::getSession(), and eq::net::Session::unmapObject().

| void eq::server::Layout::serialize | ( | net::DataOStream & | os, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
Reimplemented from eq::Object.
Definition at line 76 of file server/layout.cpp.
References eq::net::Object::getID().

0.9 by
1.5.8