#include <view.h>


Public Member Functions | |
| View (const View &from, Config *config) | |
| Creates a new, deep copy of a view. | |
Operations | |
| VisitorResult | accept (ViewVisitor &visitor) |
| Traverse this view using a view visitor. | |
| VisitorResult | accept (ConstViewVisitor &visitor) const |
Data Access. | |
| void | setViewport (const Viewport &viewport) |
| Set the area covered by this wrt it parent Layout. | |
| Config * | getConfig () |
| const Config * | getConfig () const |
| Layout * | getLayout () |
| const Layout * | getLayout () const |
| ViewPath | getPath () const |
| void | addChannel (Channel *channel) |
| Adds a new destination channel to this view. | |
| bool | removeChannel (Channel *channel) |
| Removes a destination channel from this view. | |
| const ChannelVector & | getChannels () const |
| void | setObserver (Observer *observer) |
| Set the entity tracking this view. | |
Protected Member Functions | |
| virtual void | deserialize (net::DataIStream &is, const uint64_t dirtyBits) |
Friends | |
| class | Layout |
Definition at line 38 of file server/view.h.
Creates a new, deep copy of a view.
Definition at line 42 of file server/view.cpp.
References eq::server::Config::getObserver(), and eq::server::Observer::getPath().

| VisitorResult eq::server::View::accept | ( | ViewVisitor & | visitor | ) | [inline] |
Traverse this view using a view visitor.
| visitor | the visitor. |
Definition at line 56 of file server/view.h.
References eq::server::ViewVisitor::visit().

| void eq::server::View::setViewport | ( | const Viewport & | viewport | ) |
Set the area covered by this wrt it parent Layout.
Definition at line 134 of file server/view.cpp.
References eq::Object::setDirty().

| Config * eq::server::View::getConfig | ( | ) |
Reimplemented from eq::View.
Definition at line 140 of file server/view.cpp.
References eq::server::Layout::getConfig().
Referenced by deserialize().


| const Config * eq::server::View::getConfig | ( | ) | const |
Reimplemented from eq::View.
Definition at line 146 of file server/view.cpp.
References eq::server::Layout::getConfig().

| Layout* eq::server::View::getLayout | ( | ) | [inline] |
Reimplemented from eq::View.
Definition at line 74 of file server/view.h.
Referenced by eq::server::Channel::getLayout().

| const Layout* eq::server::View::getLayout | ( | ) | const [inline] |
Reimplemented from eq::View.
Definition at line 77 of file server/view.h.
| ViewPath eq::server::View::getPath | ( | ) | const |
Definition at line 170 of file server/view.cpp.
References eq::server::Layout::getPath(), and eq::server::Layout::getViews().
Referenced by eq::server::Segment::Segment().


| void eq::server::View::addChannel | ( | Channel * | channel | ) |
Adds a new destination channel to this view.
| channel | the channel. |
Definition at line 152 of file server/view.cpp.
Referenced by eq::server::Channel::setOutput().

| bool eq::server::View::removeChannel | ( | Channel * | channel | ) |
Removes a destination channel from this view.
| channel | the channel |
true if the channel was removed, false otherwise. Definition at line 157 of file server/view.cpp.
Referenced by eq::server::Channel::unsetOutput().

| const ChannelVector& eq::server::View::getChannels | ( | ) | const [inline] |
Definition at line 99 of file server/view.h.
Referenced by deserialize().

| void eq::server::View::setObserver | ( | Observer * | observer | ) |
Set the entity tracking this view.
Definition at line 183 of file server/view.cpp.
References eq::Object::setDirty().

| void eq::server::View::deserialize | ( | net::DataIStream & | is, | |
| const uint64_t | dirtyBits | |||
| ) | [protected, virtual] |
Reimplemented from eq::View.
Definition at line 119 of file server/view.cpp.
References eq::server::Config::accept(), getChannels(), and getConfig().

0.9 by
1.5.8