Aimsun Next Scripting
22
|
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 |
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.
enum NodeSlot::ESlotMode |
NodeSlot::NodeSlot | ( | QString | iStoreId, |
QString | iName, | ||
EConnectionType | iConnectionType, | ||
ESlotMode | iSlotMode, | ||
EDataObjectType | iSlotType | ||
) |
QVector< NodeConnection * > NodeSlot::getConnections | ( | ) | const |
Gets the connections associated to this slot
EConnectionType NodeSlot::getConnectionType | ( | ) | const |
Gets the type of connection of this slot
ESlotMode NodeSlot::getMode | ( | ) | const |
Gets the mode of this slot
QString NodeSlot::getName | ( | ) | const |
Get the external name of this slot
NodeOutput NodeSlot::getOutputElements | ( | ) | const |
EDataObjectType NodeSlot::getSlotType | ( | ) | const |
Gets the type of object associated to this slot
QString NodeSlot::getStoreId | ( | ) | const |
Get the internal name of this slot
bool NodeSlot::isCompatible | ( | const NodeSlot * | iNodeSlot | ) | const |
Checks whether this slot can be conencted to the specified one