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

Public Types

enum  EConnectionType { EInput , EOutput }
 
enum  ESlotMode { ERequired , EOptional }
 

Public Member Functions

 NodeSlot (QString iStoreId, QString iName, EConnectionType iConnectionType, ESlotMode iSlotMode, EDataObjectType iSlotType)
 
QString getStoreId () const
 
QString getName () const
 
EDataObjectType getSlotType () const
 
EConnectionType getConnectionType () const
 
ESlotMode getMode () const
 
bool isCompatible (const NodeSlot *iNodeSlot) const
 
QVector< NodeConnection * > getConnections () const
 
NodeOutput getOutputElements () const
 

Detailed Description

This class is a container of data of an specific type (skim matrices, OD matrices, G/A vectors...). It can be connected only to other NodeSlots using NodeConnections, provided that they are compatible. NodeSlots define inputs and outputs for a NodeCompute.

Member Enumeration Documentation

◆ EConnectionType

Enumerator
EInput 
EOutput 

◆ ESlotMode

Enumerator
ERequired 
EOptional 

Constructor & Destructor Documentation

◆ NodeSlot()

NodeSlot::NodeSlot ( QString  iStoreId,
QString  iName,
EConnectionType  iConnectionType,
ESlotMode  iSlotMode,
EDataObjectType  iSlotType 
)

Member Function Documentation

◆ getConnections()

QVector< NodeConnection * > NodeSlot::getConnections ( ) const

Gets the connections associated to this slot

◆ getConnectionType()

EConnectionType NodeSlot::getConnectionType ( ) const

Gets the type of connection of this slot

◆ getMode()

ESlotMode NodeSlot::getMode ( ) const

Gets the mode of this slot

◆ getName()

QString NodeSlot::getName ( ) const

Get the external name of this slot

◆ getOutputElements()

NodeOutput NodeSlot::getOutputElements ( ) const

◆ getSlotType()

EDataObjectType NodeSlot::getSlotType ( ) const

Gets the type of object associated to this slot

◆ getStoreId()

QString NodeSlot::getStoreId ( ) const

Get the internal name of this slot

◆ isCompatible()

bool NodeSlot::isCompatible ( const NodeSlot iNodeSlot) const

Checks whether this slot can be conencted to the specified one

© Aimsun SLU
Aimsun ®