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
LockingTree Class Reference

LockingTree handles and manipulates the activity file locking tree. More...

Public Member Functions

bool setLock (QString, QString, QString, bool)
 Locks or unlocks the specified locking item. More...
 
bool isLocked (QString, QString, QString)
 Returns true if the specified item is locked, otherwise false. More...
 

Detailed Description

LockingTree handles and manipulates the activity file locking tree.

Member Function Documentation

◆ isLocked()

bool LockingTree::isLocked ( QString  ,
QString  ,
QString   
)

Returns true if the specified item is locked, otherwise false.

Parameters
ID,thename of the locking item.
branchID1,thename from branch 1 (default is empty).
branchID2,thename from branch 2 in branch 1 (default is empty).

◆ setLock()

bool LockingTree::setLock ( QString  ,
QString  ,
QString  ,
bool   
)

Locks or unlocks the specified locking item.

Parameters
ID,thename of the locking item.
branchID1,thename from branch 1 (default is empty).
branchID2,thename from branch 2 in branch 1 (default is empty).
locked,trueto lock the item, false to unlock the item.

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