Equalizer
1.6.1
|
Representation of a node in the cluster. More...
#include <node.h>
Public Member Functions | |
Node (eq::Config *parent) | |
Public Member Functions inherited from eq::Node | |
Node (Config *parent) | |
Construct a new node. More... | |
ClientPtr | getClient () |
ServerPtr | getServer () |
co::CommandQueue * | getMainThreadQueue () |
co::CommandQueue * | getCommandThreadQueue () |
uint32_t | getCurrentFrame () const |
co::Barrier * | getBarrier (const co::ObjectVersion barrier) |
FrameDataPtr | getFrameData (const co::ObjectVersion &frameDataVersion) |
void | releaseFrameData (FrameDataPtr data) |
void | waitInitialized () const |
bool | isRunning () const |
bool | isStopped () const |
void | waitFrameStarted (const uint32_t frameNumber) const |
Wait for a frame to be started. More... | |
uint32_t | getFinishedFrame () const |
virtual bool | processEvent (const Event &event) |
Process a received event. More... | |
virtual void | setDirty (const uint64_t bits) |
void | dirtyClientExit () |
Public Member Functions inherited from eq::fabric::Node< Config, Node, Pipe, NodeVisitor > | |
Config * | getConfig () |
const Config * | getConfig () const |
const Pipes & | getPipes () const |
bool | isApplicationNode () const |
EQFABRIC_INL void | setApplicationNode (const bool isAppNode) |
EQFABRIC_INL NodePath | getPath () const |
Pipe * | findPipe (const UUID &id) |
EQFABRIC_INL VisitorResult | accept (NodeVisitor &visitor) |
Perform a depth-first traversal of this node. More... | |
EQFABRIC_INL VisitorResult | accept (NodeVisitor &visitor) const |
Const-version of accept(). More... | |
virtual EQFABRIC_INL void | backup () |
virtual EQFABRIC_INL void | restore () |
void | create (Pipe **pipe) |
void | release (Pipe *pipe) |
virtual void | output (std::ostream &) const |
virtual EQFABRIC_INL uint128_t | commit (const uint32_t incarnation=CO_COMMIT_NEXT) |
EQFABRIC_INL void | setIAttribute (const IAttribute attr, const int32_t value) |
EQFABRIC_INL int32_t | getIAttribute (const IAttribute attr) const |
Public Member Functions inherited from eq::fabric::Object | |
virtual bool | isDirty () const |
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 Member Functions | |
virtual | ~Node () |
Destruct the node. More... | |
virtual bool | configInit (const eq::uint128_t &initID) |
Initialize this node. More... | |
Protected Member Functions inherited from eq::Node | |
virtual void | attach (const UUID &id, const uint32_t instanceID) |
void | startFrame (const uint32_t frameNumber) |
Start a frame by unlocking all child resources. More... | |
void | releaseFrame (const uint32_t frameNumber) |
Signal the completion of a frame to the parent. More... | |
void | releaseFrameLocal (const uint32_t frameNumber) |
Release the local synchronization of the parent for a frame. More... | |
virtual bool | configExit () |
Exit this node. More... | |
virtual void | frameStart (const uint128_t &frameID, const uint32_t frameNumber) |
Start rendering a frame. More... | |
virtual void | frameFinish (const uint128_t &frameID, const uint32_t frameNumber) |
Finish rendering a frame. More... | |
virtual void | frameDrawFinish (const uint128_t &frameID, const uint32_t frameNumber) |
Finish drawing. More... | |
virtual void | frameTasksFinish (const uint128_t &frameID, const uint32_t frameNumber) |
Finish all rendering tasks. More... | |
Protected Member Functions inherited from eq::fabric::Node< Config, Node, Pipe, NodeVisitor > | |
Node (Config *parent) | |
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 ChangeType | getChangeType () const |
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) |
Additional Inherited Members | |
Public Types inherited from eq::fabric::Node< Config, Node, Pipe, NodeVisitor > | |
typedef std::vector< Pipe * > | Pipes |
A vector of pointers to pipes. More... | |
enum | IAttribute |
Integer attributes. More... | |
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... | |
Static Public Member Functions inherited from eq::fabric::Node< Config, Node, Pipe, NodeVisitor > | |
static const std::string & | getIAttributeString (const IAttribute attr) |
Public Attributes inherited from eq::Node | |
eq::Node::TransmitThread | transmitter |
Protected Types inherited from eq::fabric::Node< Config, Node, Pipe, NodeVisitor > | |
enum | DirtyBits |
Representation of a node in the cluster.
Manages node-specific data, namely requesting the mapping of the initialization data by the local Config instance.
Definition at line 45 of file share/Equalizer/examples/eqPly/node.h.
|
inlineprotectedvirtual |
Destruct the node.
Reimplemented from eq::Node.
Definition at line 51 of file share/Equalizer/examples/eqPly/node.h.
|
protectedvirtual |
Initialize this node.
initID | the init identifier. |
Reimplemented from eq::Node.
Definition at line 36 of file eqPly/node.cpp.
References eq::Node::configInit(), eq::fabric::Node< Config, Node, Pipe, NodeVisitor >::getConfig(), eq::fabric::Node< Config, Node, Pipe, NodeVisitor >::getIAttribute(), eq::fabric::Node< Config, Node, Pipe, NodeVisitor >::IATTR_THREAD_MODEL, eqPly::Config::loadData(), and eq::fabric::Object::setError().