HDK
|
#include <UN_Wire.h>
Public Member Functions | |
UN_Wire (UN_GraphData *graph_data, UN_WireID wire_id) | |
Convenience constructor for the wire handle. More... | |
UN_Graph | graph () const |
Returns the owner graph of this wire. More... | |
UN_Port | srcPort () const |
UN_Port | dstPort () const |
UN_WireID | wireID () const |
Returns the unique ID of the wire data this handle refers to. More... | |
UN_Wire () | |
Default constructors and assignment operators. More... | |
~UN_Wire () | |
Default constructors and assignment operators. More... | |
UN_Wire (const UN_Wire &other) | |
Default constructors and assignment operators. More... | |
UN_Wire (UN_Wire &&other) | |
Default constructors and assignment operators. More... | |
UN_Wire & | operator= (const UN_Wire &other) |
Default constructors and assignment operators. More... | |
UN_Wire & | operator= (UN_Wire &&other) |
Default constructors and assignment operators. More... | |
bool | isValid () const |
Returns true if this is a valid wire; false otherwise. More... | |
operator bool () const | |
Returns true if this is a valid wire; false otherwise. More... | |
bool | operator== (const UN_Wire &other) const |
Comparison operators. More... | |
bool | operator!= (const UN_Wire &other) const |
Comparison operators. More... | |
Public Member Functions inherited from UN_Handle | |
UN_Handle (UN_GraphData *graph_data, UN_DataID data_id) | |
Convenience constructor. More... | |
UN_Handle () | |
Default constructor. More... | |
UN_DataID | dataID () const |
~UN_Handle ()=default | |
Default destructor, constructors and assignment operators. More... | |
UN_Handle (const UN_Handle &)=default | |
Default destructor, constructors and assignment operators. More... | |
UN_Handle (UN_Handle &&)=default | |
Default destructor, constructors and assignment operators. More... | |
UN_Handle & | operator= (const UN_Handle &)=default |
Default destructor, constructors and assignment operators. More... | |
UN_Handle & | operator= (UN_Handle &&)=default |
Default destructor, constructors and assignment operators. More... | |
bool | operator== (const UN_Handle &other) const |
Comparison operators. More... | |
bool | operator!= (const UN_Handle &other) const |
Comparison operators. More... | |
Protected Member Functions | |
UN_WireData * | wireData () const |
The wire data container for all the wires in the graph. More... | |
Protected Member Functions inherited from UN_Handle | |
UN_GraphData * | graphData () const |
A light-weight handle for a wire that connects two ports together.
The actual wire data (UN_WireData) is owned and managed by UN_GraphData, and UN_Wire serves as a handle for the client to refer to that data.
UN_Wire::UN_Wire | ( | UN_GraphData * | graph_data, |
UN_WireID | wire_id | ||
) |
Convenience constructor for the wire handle.
UN_Wire::UN_Wire | ( | ) |
Default constructors and assignment operators.
UN_Wire::~UN_Wire | ( | ) |
Default constructors and assignment operators.
UN_Wire::UN_Wire | ( | const UN_Wire & | other | ) |
Default constructors and assignment operators.
UN_Wire::UN_Wire | ( | UN_Wire && | other | ) |
Default constructors and assignment operators.
UN_Port UN_Wire::dstPort | ( | ) | const |
Returns the destination port of this wire. (ie, port that receives and consumes the data).
UN_Graph UN_Wire::graph | ( | ) | const |
Returns the owner graph of this wire.
bool UN_Wire::isValid | ( | ) | const |
Returns true if this is a valid wire; false otherwise.
|
inlineexplicit |
|
inline |
|
inline |
UN_Port UN_Wire::srcPort | ( | ) | const |
Returns the source port of this wire. (ie, port that produces and sends the data).
|
protected |
The wire data container for all the wires in the graph.
|
inline |