Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
NodeGraphAttachment Class Reference

#include "steam/fixture/node-graph-attachment.hpp"

Description

Binding and access point from a given Segment to access the actual render nodes.

For each ModelPort, we can expect to get an ExitNode (the number of ports is fixed for the complete Timeline). However, this ExitNode does not need to be active, since parts of the timeline can be empty, or partially empty for some ModelPort.

Warning
while this descriptor object is freely copyable, the referred ExitNode(s) are move-only, and will be referred by the JobTicket. Thus a Segment in the Fixture must remain fixed in memory as long as any derived render jobs are alive.
Todo:
WIP-WIP as of 4/2023 – starting with a fake implementation /////////////////////TICKET #1306 : create an actual link to the low-level Model

Definition at line 54 of file node-graph-attachment.hpp.

Public Member Functions

 NodeGraphAttachment ()
 
 NodeGraphAttachment (ExitNodes &&exitNodes)
 
ExitNode const & operator[] (size_t idx) const
 
bool empty () const
 

Private Attributes

ExitNodes exitNodes_
 

Constructor & Destructor Documentation

◆ NodeGraphAttachment() [1/2]

NodeGraphAttachment ( )
inline

Definition at line 59 of file node-graph-attachment.hpp.

◆ NodeGraphAttachment() [2/2]

NodeGraphAttachment ( ExitNodes &&  exitNodes)
inline

Definition at line 63 of file node-graph-attachment.hpp.

Member Function Documentation

◆ operator[]()

ExitNode const & operator[] ( size_t  idx) const
inline

Definition at line 70 of file node-graph-attachment.hpp.

References NodeGraphAttachment::exitNodes_, and ExitNode::NIL.

◆ empty()

bool empty ( ) const
inline

Definition at line 77 of file node-graph-attachment.hpp.

References NodeGraphAttachment::exitNodes_, and util::isnil().

Referenced by Segment::empty().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ exitNodes_

ExitNodes exitNodes_
private
+ Collaboration diagram for NodeGraphAttachment:

The documentation for this class was generated from the following file: