|
Equalizer
1.12.0
Parallel Rendering Framework
|
Base data transport class for windows. More...
#include <window.h>
Inheritance diagram for eq::fabric::Window< P, W, C, Settings >:
Collaboration diagram for eq::fabric::Window< P, W, C, Settings >:Public Types | |
| typedef std::vector< C * > | Channels |
| A vector of pointers to channels. More... | |
| typedef ElementVisitor< W, LeafVisitor< C > > | Visitor |
| The Window visitor type. More... | |
Public Types inherited from eq::fabric::Object | |
| enum | DirtyBits { DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0, DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1, DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 2, DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 3, DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 4, DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6, DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA } |
| The changed parts of the object since the last pack(). More... | |
Public Member Functions | |
| EQFABRIC_INL WindowPath | getPath () const |
Data Access | |
| void | init () |
| const P * | getPipe () const |
| P * | getPipe () |
| const Channels & | getChannels () const |
| const DrawableConfig & | getDrawableConfig () const |
| EQFABRIC_INL const PixelViewport & | getPixelViewport () const |
| const Viewport & | getViewport () const |
| EQFABRIC_INL void | setName (const std::string &name) final |
| Set the window's name/caption. More... | |
| virtual EQFABRIC_INL void | setPixelViewport (const PixelViewport &pvp) |
| Set the window's pixel viewport wrt its parent pipe. More... | |
| EQFABRIC_INL void | setViewport (const Viewport &vp) |
| Set the window's viewport wrt its parent pipe. More... | |
| bool | hasFixedViewport () const |
| virtual void | notifyViewportChanged () |
| EQFABRIC_INL VisitorResult | accept (Visitor &visitor) |
| Perform a depth-first traversal of this window. More... | |
| EQFABRIC_INL VisitorResult | accept (Visitor &visitor) const |
| Const-version of accept(). More... | |
internal | |
| virtual EQFABRIC_INL void | backup () |
| virtual EQFABRIC_INL void | restore () |
| void | create (C **channel) |
| void | release (C *channel) |
| virtual void | output (std::ostream &) const |
| virtual EQFABRIC_INL uint128_t | commit (const uint32_t incarnation=CO_COMMIT_NEXT) |
Public Member Functions inherited from eq::fabric::Object | |
| virtual EQFABRIC_API bool | isDirty () const |
| EQFABRIC_API const std::string & | getName () const |
| EQFABRIC_API void | setUserData (co::Object *userData) |
| Set user-specific data. More... | |
| EQFABRIC_API co::Object * | getUserData () |
| EQFABRIC_API const co::Object * | getUserData () const |
| EQFABRIC_API uint32_t | getTasks () const |
| Return the set of tasks this channel might execute in the worst case. More... | |
| EQFABRIC_API uint32_t | getSerial () const |
Protected Member Functions | |
| Window (P *parent) | |
| virtual void | attach (const uint128_t &id, const uint32_t instanceID) |
| virtual EQFABRIC_INL void | serialize (co::DataOStream &os, const uint64_t dirtyBits) |
| virtual EQFABRIC_INL void | deserialize (co::DataIStream &is, const uint64_t dirtyBits) |
| virtual EQFABRIC_INL void | notifyDetach () |
| virtual EQFABRIC_INL void | setDirty (const uint64_t bits) |
| void | _setDrawableConfig (const DrawableConfig &drawableConfig) |
| virtual ChangeType | getChangeType () const |
| C * | _findChannel (const uint128_t &id) |
| virtual uint64_t | getRedistributableBits () const |
Protected Member Functions inherited from eq::fabric::Object | |
| EQFABRIC_API | Object () |
| Construct a new Object. More... | |
| EQFABRIC_API | Object (const Object &) |
| Construct an unmapped, unregistered copy of an object. More... | |
| virtual EQFABRIC_API | ~Object () |
| Destruct the object. More... | |
| EQFABRIC_API Object & | operator= (const Object &from) |
| NOP assignment operator. More... | |
| virtual bool | hasMasterUserData () |
| virtual uint32_t | getUserDataLatency () const |
| EQFABRIC_API void | setTasks (const uint32_t tasks) |
| EQFABRIC_API void | postRemove (Object *child) |
| virtual void | removeChild (const uint128_t &) |
| template<class C , class S > | |
| void | commitChild (C *child, S *sender, uint32_t cmd, const uint32_t incarnation) |
| template<class C > | |
| void | commitChild (C *child, const uint32_t incarnation) |
| template<class C , class S > | |
| void | commitChildren (const std::vector< C * > &children, S *sender, uint32_t cmd, const uint32_t incarnation) |
| template<class C > | |
| void | commitChildren (const std::vector< C * > &children, uint32_t cmd, const uint32_t incarnation) |
| template<class C > | |
| void | commitChildren (const std::vector< C * > &children, const uint32_t incarnation) |
| template<class C > | |
| void | syncChildren (const std::vector< C * > &children) |
| template<class P , class C > | |
| void | releaseChildren (const std::vector< C * > &children) |
| EQFABRIC_API bool | _cmdSync (co::ICommand &command) |
Friends | |
| class | Channel< W, C > |
Attributes | |
| EQFABRIC_INL void | setSettings (const Settings &settings) |
| Set the settings of this window. More... | |
| EQFABRIC_INL const Settings & | getSettings () const |
| EQFABRIC_INL void | setIAttribute (const WindowSettings::IAttribute attr, const int32_t value) |
| Set a window attribute. More... | |
| EQFABRIC_INL int32_t | getIAttribute (const WindowSettings::IAttribute attr) const |
| static EQFABRIC_INL const std::string & | getIAttributeString (const WindowSettings::IAttribute attr) |
Base data transport class for windows.
Definition at line 86 of file eq/fabric/types.h.
| typedef std::vector< C* > eq::fabric::Window< P, W, C, Settings >::Channels |
| typedef ElementVisitor< W, LeafVisitor< C > > eq::fabric::Window< P, W, C, Settings >::Visitor |
| EQFABRIC_INL VisitorResult eq::fabric::Window< P, W, C, Settings >::accept | ( | Visitor & | visitor | ) |
Perform a depth-first traversal of this window.
| visitor | the visitor. |
| EQFABRIC_INL VisitorResult eq::fabric::Window< P, W, C, Settings >::accept | ( | Visitor & | visitor | ) | const |
Const-version of accept().
|
inline |
Definition at line 56 of file fabric/window.h.
|
inline |
Definition at line 59 of file fabric/window.h.
| EQFABRIC_INL int32_t eq::fabric::Window< P, W, C, Settings >::getIAttribute | ( | const WindowSettings::IAttribute | attr | ) | const |
|
inline |
|
inline |
| EQFABRIC_INL const PixelViewport& eq::fabric::Window< P, W, C, Settings >::getPixelViewport | ( | ) | const |
| EQFABRIC_INL const Settings& eq::fabric::Window< P, W, C, Settings >::getSettings | ( | ) | const |
|
inline |
Definition at line 71 of file fabric/window.h.
|
inline |
Definition at line 99 of file fabric/window.h.
|
protectedvirtual |
| EQFABRIC_INL void eq::fabric::Window< P, W, C, Settings >::setIAttribute | ( | const WindowSettings::IAttribute | attr, |
| const int32_t | value | ||
| ) |
Set a window attribute.
|
finalvirtual |
|
virtual |
Set the window's pixel viewport wrt its parent pipe.
Updates the fractional viewport of the window and its channels accordingly.
| pvp | the viewport in pixels. |
| EQFABRIC_INL void eq::fabric::Window< P, W, C, Settings >::setSettings | ( | const Settings & | settings | ) |
Set the settings of this window.
| EQFABRIC_INL void eq::fabric::Window< P, W, C, Settings >::setViewport | ( | const Viewport & | vp | ) |
Set the window's viewport wrt its parent pipe.
Updates the fractional pixel viewport of the window and its channels accordingly.
| vp | the fractional viewport. |