|
Equalizer
1.6.1
|
Base data transport class for layouts. More...
#include <layout.h>
Inheritance diagram for eq::fabric::Layout< C, L, V >:
Collaboration diagram for eq::fabric::Layout< C, L, V >:Public Member Functions | |
Operations | |
| EQFABRIC_INL VisitorResult | accept (Visitor &visitor) |
| Traverse this layout and all children using a layout visitor. More... | |
| EQFABRIC_INL VisitorResult | accept (Visitor &visitor) const |
| Const-version of accept(). More... | |
| void | create (V **view) |
| void | release (V *view) |
Public Member Functions inherited from eq::fabric::Object | |
| virtual bool | isDirty () const |
| virtual void | backup () |
| virtual void | restore () |
| void | setName (const std::string &name) |
| Set the name of the object. More... | |
| const std::string & | getName () const |
| void | setUserData (co::Object *userData) |
| Set user-specific data. More... | |
| co::Object * | getUserData () |
| const co::Object * | getUserData () const |
| void | setError (const int32_t error) |
| Set an error code why the last operation failed. More... | |
| eq::fabric::Error | getError () const |
| uint32_t | getTasks () const |
| Return the set of tasks this channel might execute in the worst case. More... | |
| uint32_t | getSerial () const |
Protected Types | |
| enum | DirtyBits { DIRTY_VIEWS = Object::DIRTY_CUSTOM << 0, DIRTY_LAYOUT_BITS = DIRTY_VIEWS | DIRTY_OBJECT_BITS } |
Protected Member Functions | |
| EQFABRIC_INL | Layout (C *config) |
| virtual EQFABRIC_INL void | attach (const UUID &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) |
| virtual uint64_t | getRedistributableBits () const |
Protected Member Functions inherited from eq::fabric::Object | |
| Object () | |
| Construct a new Object. More... | |
| virtual | ~Object () |
| Destruct the object. More... | |
| virtual bool | hasMasterUserData () |
| virtual uint32_t | getUserDataLatency () const |
| void | setTasks (const uint32_t tasks) |
| void | postRemove (Object *child) |
| virtual void | removeChild (const UUID &) |
| 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) |
| bool | _cmdSync (co::ICommand &command) |
Friends | |
| template<class , class , class > | |
| class | View |
| class | Object |
| template<class , class , class , class , class , class , class > | |
| class | Config |
Data Access | |
| typedef std::vector< V * > | Views |
| A vector of pointers to views. More... | |
| typedef ElementVisitor< L, LeafVisitor< V > > | Visitor |
| The layout visitor type. More... | |
| C * | getConfig () |
| const C * | getConfig () const |
| const Views & | getViews () const |
| Get the list of views. More... | |
| EQFABRIC_INL bool | isActive () const |
| V * | getView (const ViewPath &path) |
| V * | findView (const std::string &name) |
| LayoutPath | getPath () const |
Additional Inherited Members | |
Public Types inherited from eq::fabric::Object | |
| enum | DirtyBits { DIRTY_NAME = Serializable::DIRTY_CUSTOM << 0, DIRTY_USERDATA = Serializable::DIRTY_CUSTOM << 1, DIRTY_ERROR = Serializable::DIRTY_CUSTOM << 2, DIRTY_TASKS = Serializable::DIRTY_CUSTOM << 3, DIRTY_REMOVED = Serializable::DIRTY_CUSTOM << 4, DIRTY_SERIAL = Serializable::DIRTY_CUSTOM << 5, DIRTY_CUSTOM = Serializable::DIRTY_CUSTOM << 6, DIRTY_OBJECT_BITS = DIRTY_NAME | DIRTY_USERDATA | DIRTY_ERROR } |
| The changed parts of the object since the last pack(). More... | |
Base data transport class for layouts.
Definition at line 30 of file fabric/layout.h.
| typedef std::vector< V* > eq::fabric::Layout< C, L, V >::Views |
| typedef ElementVisitor< L, LeafVisitor< V > > eq::fabric::Layout< C, L, V >::Visitor |
| EQFABRIC_INL VisitorResult eq::fabric::Layout< C, L, V >::accept | ( | Visitor & | visitor | ) |
Traverse this layout and all children using a layout visitor.
| visitor | the visitor. |
| EQFABRIC_INL VisitorResult eq::fabric::Layout< C, L, V >::accept | ( | Visitor & | visitor | ) | const |
Const-version of accept().
|
inline |
|
inline |
|
inline |
| EQFABRIC_INL bool eq::fabric::Layout< C, L, V >::isActive | ( | ) | const |
1.8.5