#include <WtConnection.h>
|
| WtConnection (PortType portType, WtNode &node, PortIndex portIndex) |
|
| WtConnection (WtNode &nodeIn, PortIndex portIndexIn, WtNode &nodeOut, PortIndex portIndexOut, TypeConverter converter=TypeConverter{}) |
|
| WtConnection (WtNode &nodeIn, PortIndex portIndexIn, WtNode &nodeOut, PortIndex portIndexOut) |
|
| WtConnection (const WtConnection &)=delete |
|
WtConnection | operator= (const WtConnection &)=delete |
|
| ~WtConnection () |
|
Wt::Guid | id () const |
|
void | setRequiredPort (PortType portType) |
|
PortType | requiredPort () const |
|
void | setGraphicsObject (std::unique_ptr< WtConnectionGraphicsObject > &&graphics) |
|
void | setNodeToPort (WtNode &node, PortType portType, PortIndex portIndex) |
|
void | removeFromNodes () const |
|
WtConnectionGraphicsObject & | getConnectionGraphicsObject () const |
|
WtConnectionState const & | connectionState () const |
|
WtConnectionState & | connectionState () |
|
WtConnectionGeometry & | connectionGeometry () |
|
WtConnectionGeometry const & | connectionGeometry () const |
|
WtNode * | getNode (PortType portType) const |
|
WtNode *& | getNode (PortType portType) |
|
PortIndex | getPortIndex (PortType portType) const |
|
void | clearNode (PortType portType) |
|
NodeDataType | dataType (PortType portType) const |
|
void | setTypeConverter (TypeConverter converter) |
|
bool | complete () const |
|
void | propagateData (std::shared_ptr< WtNodeData > nodeData) const |
|
void | propagateEmptyData () const |
|
void | propagateDisconnectedData () const |
|
Definition at line 125 of file WtConnection.h.
◆ WtConnection() [1/4]
New WtConnection is attached to the port of the given WtNode. The port has parameters (portType, portIndex). The opposite connection end will require anothre port.
Definition at line 146 of file WtConnection.cpp.
◆ WtConnection() [2/4]
◆ WtConnection() [3/4]
◆ WtConnection() [4/4]
◆ ~WtConnection()
WtConnection::~WtConnection |
( |
| ) |
|
◆ clearNode()
void WtConnection::clearNode |
( |
PortType | portType | ) |
|
◆ complete()
bool WtConnection::complete |
( |
| ) |
const |
◆ connectionGeometry() [1/2]
◆ connectionGeometry() [2/2]
◆ connectionState() [1/2]
◆ connectionState() [2/2]
◆ dataType()
◆ getConnectionGraphicsObject()
◆ getNode() [1/2]
◆ getNode() [2/2]
◆ getPortIndex()
◆ id()
◆ operator=()
◆ propagateData()
void WtConnection::propagateData |
( |
std::shared_ptr< WtNodeData > | nodeData | ) |
const |
◆ propagateDisconnectedData()
void WtConnection::propagateDisconnectedData |
( |
| ) |
const |
◆ propagateEmptyData()
void WtConnection::propagateEmptyData |
( |
| ) |
const |
◆ removeFromNodes()
void WtConnection::removeFromNodes |
( |
| ) |
const |
◆ requiredPort()
PortType WtConnection::requiredPort |
( |
| ) |
const |
◆ setGraphicsObject()
◆ setNodeToPort()
Assigns a node to the required port. It is assumed that there is a required port, no extra checks
Definition at line 340 of file WtConnection.cpp.
◆ setRequiredPort()
void WtConnection::setRequiredPort |
( |
PortType | portType | ) |
|
◆ setTypeConverter()
◆ _connectionGeometry
◆ _connectionGraphicsObject
◆ _connectionState
◆ _converter
◆ _inNode
WtNode* WtConnection::_inNode = nullptr |
|
private |
◆ _inPortIndex
◆ _outNode
WtNode* WtConnection::_outNode = nullptr |
|
private |
◆ _outPortIndex
◆ _uid
The documentation for this class was generated from the following files: