Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
Network Class Reference

Network is the entry point for all device configurations in the network. It retrieves devices. More...

Public Member Functions

Device getDevice (QString)
 Returns the device with the specified device name. More...
 
Device getDeviceAt (int)
 Returns the device at the specified index. More...
 
int getDeviceCount ()
 Returns the number of devices in the network. More...
 
int getLinkCount ()
 
Link getLinkAt (int)
 
double getTotalDeviceAttributeValue (string)
 

Detailed Description

Network is the entry point for all device configurations in the network. It retrieves devices.

Member Function Documentation

◆ getDevice()

Device Network::getDevice ( QString  )

Returns the device with the specified device name.

Parameters
deviceName,thedevice name of the device of interest.
Returns
Device, the Device object with the specified device name.

◆ getDeviceAt()

Device Network::getDeviceAt ( int  )

Returns the device at the specified index.

Parameters
index,theindex of the device of interest.
Returns
Device, the Device object at the specified index.

◆ getDeviceCount()

int Network::getDeviceCount ( )

Returns the number of devices in the network.

Returns
int, the number of devices in the network.

◆ getLinkAt()

Link Network::getLinkAt ( int  )

◆ getLinkCount()

int Network::getLinkCount ( )

◆ getTotalDeviceAttributeValue()

double Network::getTotalDeviceAttributeValue ( string  )

The documentation for this class was generated from the following file: