Aimsun Next Scripting
22
|
Public Member Functions | |
NodeConnection () | |
NodeConnection (NodeCompute *iNodeOrig, NodeSlot *iSlotOrig, NodeCompute *iNodeDest, NodeSlot *iSlotDest) | |
NodeSlot * | getOriginSlot () |
NodeSlot * | getDestinationSlot () |
NodeCompute * | getOriginNode () |
NodeCompute * | getDestinationNode () |
const NodeOutput & | getDiscardedElements () const |
void | setDiscardedElements (const NodeOutput &iElements) |
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.
NodeConnection::NodeConnection | ( | ) |
NodeConnection::NodeConnection | ( | NodeCompute * | iNodeOrig, |
NodeSlot * | iSlotOrig, | ||
NodeCompute * | iNodeDest, | ||
NodeSlot * | iSlotDest | ||
) |
NodeCompute * NodeConnection::getDestinationNode | ( | ) |
Gets the connection's destination node.
NodeSlot * NodeConnection::getDestinationSlot | ( | ) |
Gets the connection's destination slot.
const NodeOutput & NodeConnection::getDiscardedElements | ( | ) | const |
Gets the discarded output elements of the connection.
NodeCompute * NodeConnection::getOriginNode | ( | ) |
Gets the connection's origin node.
NodeSlot * NodeConnection::getOriginSlot | ( | ) |
Gets the connection's origin slot.
void NodeConnection::setDiscardedElements | ( | const NodeOutput & | iElements | ) |
Sets the discarded output elements filter of the connection.