#include <layout.h>


Public Member Functions | |
| Layout () | |
| Constructs a new Layout. | |
| virtual | ~Layout () |
| Destruct this layout. | |
Data Access | |
| const ViewVector & | getViews () const |
| Get the list of views. | |
| Config * | getConfig () |
| const Config * | getConfig () const |
Operations | |
| VisitorResult | accept (LayoutVisitor &visitor) |
| Traverse this layout and all children using a layout visitor. | |
| virtual void | deregister () |
| Deregister this layout, and all children, from its net::Session. | |
Protected Types | |
| enum | DirtyBits { DIRTY_VIEWS = Object::DIRTY_CUSTOM << 0, DIRTY_FILL1 = Object::DIRTY_CUSTOM << 1, DIRTY_FILL2 = Object::DIRTY_CUSTOM << 2, DIRTY_CUSTOM = Object::DIRTY_CUSTOM << 3 } |
| The changed parts of the object since the last pack(). More... | |
Protected Member Functions | |
| virtual void | deserialize (net::DataIStream &is, const uint64_t dirtyBits) |
Friends | |
| class | server::Layout |
| class | Config |
A layout is applied to a Canvas. If no layout is applied to a canvas, nothing is rendered on this canvas, i.e, the canvas is inactive. The layout assignment can be changed at run-time by the application. The intersection between views and segments defines which output (sub-)channels are available. These channels are typically used as destination channels in a compound. They are automatically created during configuration load.
Definition at line 46 of file lib/client/layout.h.
enum eq::Layout::DirtyBits [protected] |
The changed parts of the object since the last pack().
Subclasses should define their own bits, starting at DIRTY_CUSTOM.
Reimplemented from eq::Object.
Definition at line 89 of file lib/client/layout.h.
| eq::Layout::~Layout | ( | ) | [virtual] |
| const ViewVector& eq::Layout::getViews | ( | ) | const [inline] |
| VisitorResult eq::Layout::accept | ( | LayoutVisitor & | visitor | ) |
Traverse this layout and all children using a layout visitor.
| visitor | the visitor. |
Definition at line 102 of file lib/client/layout.cpp.
References eq::View::accept(), eq::TRAVERSE_CONTINUE, eq::TRAVERSE_PRUNE, eq::TRAVERSE_TERMINATE, eq::LayoutVisitor::visitPost(), and eq::LayoutVisitor::visitPre().

| void eq::Layout::deregister | ( | ) | [virtual] |
Deregister this layout, and all children, from its net::Session.
Definition at line 80 of file lib/client/layout.cpp.
References eq::View::_layout, eq::net::Session::deregisterObject(), eq::net::Object::getID(), eq::Global::getNodeFactory(), eq::net::Object::isMaster(), eq::NodeFactory::releaseView(), and eq::net::Session::unmapObject().
Referenced by eq::ConfigDeserializer::applyInstanceData().


| void eq::Layout::deserialize | ( | net::DataIStream & | is, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
Reimplemented from eq::Object.
Definition at line 52 of file lib/client/layout.cpp.
References eq::View::_layout, eq::net::Object::becomeMaster(), eq::NodeFactory::createView(), eq::Config::getLatency(), eq::Global::getNodeFactory(), eq::net::Session::mapObject(), and eq::net::Object::setAutoObsolete().

0.9 by
1.5.8