| Cisco Packet Tracer Extensions API 8.1.0
    API for communication between Cisco Packet Tracer application and its extension applications and modules. | 
FrameInstance holds traffic details such as PDUs, ports, etc. More...
| Public Member Functions | |
| TrafficType | getUserTrafficType () | 
| Returns the user traffic type.  More... | |
| QString | getDestinationString () | 
| Returns the destination.  More... | |
| QString | getSourceString () | 
| Returns the source.  More... | |
| Device | getDevice () | 
| Returns the current device the frame instance is at.  More... | |
| Device | getPreviousDevice () | 
| Returns the previous device the frame instance was at.  More... | |
| Pdu | getInFrame () | 
| Returns the inbound frame.  More... | |
| Pdu | getOutFrame () | 
| Returns the outbound frame.  More... | |
| Port | getInPort () | 
| Returns the inbound port.  More... | |
| Port | getOutPort (int) | 
| returns the outbound port at the specified index.  More... | |
| int | getOutPortCount () | 
| Returns the number of outbound ports.  More... | |
| void | addDecision (string, QString, bool, int) | 
| Adds a flowchart decision with the specified ID and description at the specified layer.  More... | |
| FlowChartNode | getFlowChartNodeAt (int) | 
| Returns the flowchart node at the specified index.  More... | |
| FrameDecision | getFrameDecsionAt (int) | 
| Returns the frame decision at the specified index.  More... | |
| int | getFlowChartNodeCount () | 
| Returns the number of flowchart nodes.  More... | |
| QString | getDecisionAt (int) | 
| Returns the decision at the specified index.  More... | |
| void | setFrameSent (bool) | 
| Sets the frame as sent or unsent.  More... | |
| bool | isFrameSent () | 
| Returns true if the the frame is sent, otherwise false.  More... | |
| void | setFrameBuffered (bool) | 
| Sets the frame as buffered or unbuffered.  More... | |
| bool | isFrameBuffered () | 
| Returns true if the the frame is buffered, otherwise false.  More... | |
| void | setFrameDropped (bool) | 
| Sets the frame as dropped or not dropped.  More... | |
| bool | isFrameDropped () | 
| Returns true if the the frame is dropped, otherwise false.  More... | |
| void | setFrameNotForwarded (bool) | 
| Sets the frame as not forwarded or forwarded.  More... | |
| bool | isFrameNotForwarded () | 
| Returns true if the the frame is not forwarded, otherwise false.  More... | |
| void | setFrameAccepted (bool) | 
| Sets the frame as accepted or not accepted.  More... | |
| bool | isFrameAccepted () | 
| Returns true if the the frame is accepted, otherwise false.  More... | |
| void | setFrameUnexpected (bool) | 
| Sets the frame as unexpected or expected.  More... | |
| bool | isFrameUnexpected () | 
| Returns true if the the frame is unexpected, otherwise false.  More... | |
| bool | isFrameCollidedOnLink () | 
| Returns true if the frame collided on the link, otherwise false.  More... | |
| bool | isFrameCollidedAtDevice () | 
| Returns true if the frame collided at the device, otherwise false.  More... | |
| bool | isFrameOnTransit () | 
| Returns true if the frame is in transit, otherwise false.  More... | |
| int | getQosStampColorCode () | 
| Returns the QoS stamp color code.  More... | |
| int | getInQosStampColorCode () | 
| Returns the inbound QoS stamp color code.  More... | |
| int | getOutQosStampColorCode () | 
| Returns the outbound QoS stamp color code.  More... | |
| int | getTransitTime () | 
| Returns the transit time.  More... | |
| int | getPercentageSent () | 
| Returns the percentage of the frame that was sent.  More... | |
| long | getStartSimTime () | 
| Returns the simulation start time.  More... | |
| UserTraffic | getTrafficSource () | 
| Returns the traffic source.  More... | |
| int | getTime () | 
| Returns time of the frame instance.  More... | |
FrameInstance holds traffic details such as PDUs, ports, etc.
| void FrameInstance::addDecision | ( | string | , | 
| QString | , | ||
| bool | , | ||
| int | |||
| ) | 
Adds a flowchart decision with the specified ID and description at the specified layer.
| id,the | flowchart ID. | 
| description,the | flowchart description. | 
| isOsiIn,true | if inbound layer decision, false if outbound layer decision. | 
| osiLayer,the | OSI layer. | 
| QString FrameInstance::getDecisionAt | ( | int | ) | 
Returns the decision at the specified index.
| index,the | index of the decision of interest. | 
| QString FrameInstance::getDestinationString | ( | ) | 
Returns the destination.
| Device FrameInstance::getDevice | ( | ) | 
| FlowChartNode FrameInstance::getFlowChartNodeAt | ( | int | ) | 
Returns the flowchart node at the specified index.
| nodeIndex,the | index of the flowchart node of interest. | 
| int FrameInstance::getFlowChartNodeCount | ( | ) | 
Returns the number of flowchart nodes.
| FrameDecision FrameInstance::getFrameDecsionAt | ( | int | ) | 
Returns the frame decision at the specified index.
| index,the | index of the frame decision of interest. | 
| Pdu FrameInstance::getInFrame | ( | ) | 
| int FrameInstance::getInQosStampColorCode | ( | ) | 
Returns the inbound QoS stamp color code.
| Pdu FrameInstance::getOutFrame | ( | ) | 
| Port FrameInstance::getOutPort | ( | int | ) | 
| int FrameInstance::getOutPortCount | ( | ) | 
Returns the number of outbound ports.
| int FrameInstance::getOutQosStampColorCode | ( | ) | 
Returns the outbound QoS stamp color code.
| int FrameInstance::getPercentageSent | ( | ) | 
Returns the percentage of the frame that was sent.
| Device FrameInstance::getPreviousDevice | ( | ) | 
| int FrameInstance::getQosStampColorCode | ( | ) | 
Returns the QoS stamp color code.
| QString FrameInstance::getSourceString | ( | ) | 
Returns the source.
| long FrameInstance::getStartSimTime | ( | ) | 
Returns the simulation start time.
| int FrameInstance::getTime | ( | ) | 
Returns time of the frame instance.
| UserTraffic FrameInstance::getTrafficSource | ( | ) | 
Returns the traffic source.
| int FrameInstance::getTransitTime | ( | ) | 
Returns the transit time.
| TrafficType FrameInstance::getUserTrafficType | ( | ) | 
Returns the user traffic type.
| bool FrameInstance::isFrameAccepted | ( | ) | 
Returns true if the the frame is accepted, otherwise false.
| bool FrameInstance::isFrameBuffered | ( | ) | 
Returns true if the the frame is buffered, otherwise false.
| bool FrameInstance::isFrameCollidedAtDevice | ( | ) | 
Returns true if the frame collided at the device, otherwise false.
| bool FrameInstance::isFrameCollidedOnLink | ( | ) | 
Returns true if the frame collided on the link, otherwise false.
| bool FrameInstance::isFrameDropped | ( | ) | 
Returns true if the the frame is dropped, otherwise false.
| bool FrameInstance::isFrameNotForwarded | ( | ) | 
Returns true if the the frame is not forwarded, otherwise false.
| bool FrameInstance::isFrameOnTransit | ( | ) | 
Returns true if the frame is in transit, otherwise false.
| bool FrameInstance::isFrameSent | ( | ) | 
Returns true if the the frame is sent, otherwise false.
| bool FrameInstance::isFrameUnexpected | ( | ) | 
Returns true if the the frame is unexpected, otherwise false.
| void FrameInstance::setFrameAccepted | ( | bool | ) | 
Sets the frame as accepted or not accepted.
| accepted,true | for accepted, false for not accepted. | 
| void FrameInstance::setFrameBuffered | ( | bool | ) | 
Sets the frame as buffered or unbuffered.
| buffered,true | for buffered, false for unbuffered. | 
| void FrameInstance::setFrameDropped | ( | bool | ) | 
Sets the frame as dropped or not dropped.
| dropped,true | for dropped, false for not dropped. | 
| void FrameInstance::setFrameNotForwarded | ( | bool | ) | 
Sets the frame as not forwarded or forwarded.
| notForwarded,true | for not forwarded, false for forwarded. | 
| void FrameInstance::setFrameSent | ( | bool | ) | 
Sets the frame as sent or unsent.
| sent,true | for sent, false for unsent. | 
| void FrameInstance::setFrameUnexpected | ( | bool | ) | 
Sets the frame as unexpected or expected.
| unexpected,true | for unexpected, false for expected. |