Aimsun Next Scripting  22
Public Member Functions | List of all members
NodeConnection Class Reference

Public Member Functions

 NodeConnection ()
 
 NodeConnection (NodeCompute *iNodeOrig, NodeSlot *iSlotOrig, NodeCompute *iNodeDest, NodeSlot *iSlotDest)
 
NodeSlotgetOriginSlot ()
 
NodeSlotgetDestinationSlot ()
 
NodeComputegetOriginNode ()
 
NodeComputegetDestinationNode ()
 
const NodeOutputgetDiscardedElements () const
 
void setDiscardedElements (const NodeOutput &iElements)
 

Detailed Description

This class describes a connection between two NodeSlots: it contains the list of data (list of NodeOutputElements) that can be transferred from an output slot to an input slot. The data that will actually be transferred is determined by the discarded elements.

Constructor & Destructor Documentation

◆ NodeConnection() [1/2]

NodeConnection::NodeConnection ( )

◆ NodeConnection() [2/2]

NodeConnection::NodeConnection ( NodeCompute iNodeOrig,
NodeSlot iSlotOrig,
NodeCompute iNodeDest,
NodeSlot iSlotDest 
)

Member Function Documentation

◆ getDestinationNode()

NodeCompute * NodeConnection::getDestinationNode ( )

Gets the connection's destination node.

◆ getDestinationSlot()

NodeSlot * NodeConnection::getDestinationSlot ( )

Gets the connection's destination slot.

◆ getDiscardedElements()

const NodeOutput & NodeConnection::getDiscardedElements ( ) const

Gets the discarded output elements of the connection.

◆ getOriginNode()

NodeCompute * NodeConnection::getOriginNode ( )

Gets the connection's origin node.

◆ getOriginSlot()

NodeSlot * NodeConnection::getOriginSlot ( )

Gets the connection's origin slot.

◆ setDiscardedElements()

void NodeConnection::setDiscardedElements ( const NodeOutput iElements)

Sets the discarded output elements filter of the connection.

© Aimsun SLU
Aimsun ®