eq::server::View Class Reference

Extends the eq::View to implement server-side logic. More...

#include <view.h>

Inheritance diagram for eq::server::View:

Inheritance graph
[legend]
Collaboration diagram for eq::server::View:

Collaboration graph
[legend]

List of all members.

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.
ConfiggetConfig ()
const ConfiggetConfig () const
LayoutgetLayout ()
const LayoutgetLayout () 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


Detailed Description

Extends the eq::View to implement server-side logic.

Definition at line 38 of file server/view.h.


Constructor & Destructor Documentation

eq::server::View::View ( const View from,
Config config 
)

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().

Here is the call graph for this function:


Member Function Documentation

VisitorResult eq::server::View::accept ( ViewVisitor visitor  )  [inline]

Traverse this view using a view visitor.

Parameters:
visitor the visitor.
Returns:
the result of the visitor traversal.

Definition at line 56 of file server/view.h.

References eq::server::ViewVisitor::visit().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Config * eq::server::View::getConfig (  ) 

Returns:
the config of this view.

Reimplemented from eq::View.

Definition at line 140 of file server/view.cpp.

References eq::server::Layout::getConfig().

Referenced by deserialize().

Here is the call graph for this function:

Here is the caller graph for this function:

const Config * eq::server::View::getConfig (  )  const

Returns:
the config of this view.

Reimplemented from eq::View.

Definition at line 146 of file server/view.cpp.

References eq::server::Layout::getConfig().

Here is the call graph for this function:

Layout* eq::server::View::getLayout (  )  [inline]

Returns:
the layout of this view.

Reimplemented from eq::View.

Definition at line 74 of file server/view.h.

Referenced by eq::server::Channel::getLayout().

Here is the caller graph for this function:

const Layout* eq::server::View::getLayout (  )  const [inline]

Returns:
the layout of this view.

Reimplemented from eq::View.

Definition at line 77 of file server/view.h.

ViewPath eq::server::View::getPath (  )  const

Returns:
the index path to this view.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void eq::server::View::addChannel ( Channel channel  ) 

Adds a new destination channel to this view.

Parameters:
channel the channel.

Definition at line 152 of file server/view.cpp.

Referenced by eq::server::Channel::setOutput().

Here is the caller graph for this function:

bool eq::server::View::removeChannel ( Channel channel  ) 

Removes a destination channel from this view.

Parameters:
channel the channel
Returns:
true if the channel was removed, false otherwise.

Definition at line 157 of file server/view.cpp.

Referenced by eq::server::Channel::unsetOutput().

Here is the caller graph for this function:

const ChannelVector& eq::server::View::getChannels (  )  const [inline]

Returns:
the vector of channels.

Definition at line 99 of file server/view.h.

Referenced by deserialize().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

void eq::server::View::deserialize ( net::DataIStream is,
const uint64_t  dirtyBits 
) [protected, virtual]

See also:
eq::View::deserialize()

Reimplemented from eq::View.

Definition at line 119 of file server/view.cpp.

References eq::server::Config::accept(), getChannels(), and getConfig().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:45 2009 for Equalizer 0.9 by  doxygen 1.5.8