OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001024OMNeT++runtime / Qtenvpublic2017-11-21 12:572018-05-15 13:55
Reporterlevy 
Assigned Toattila 
PriorityhighSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version5.2 
Target VersionFixed in Version 
Summary0001024: Add a new inspector (specifically to the properties view) that shows the packet data if a packet is selected
DescriptionQuite often the user wants to see the actual contents of a packet. The current inspectors show a lot of other technical data such as sender module, etc. This makes it pretty difficult to focus on what is actually present in the packet. The user interface should be able to show a packet strictly focusing only on its contents, that is the data carried by the packet over the wire.

Suggestion: we could annotate descriptors with @packetData properties and the special cPacket inspector could filter fields based on that. The default @packetData value would be specified on the class but it could be overridden with a @packetData on the field.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001354)
attila (developer)
2018-05-14 09:41

This is implemented in Qtenv in OMNeT++ 5.3, as a fifth inspector mode, available iff the inspected object is a cPacket (or subclass, of course) instance.

I'm not closing this issue yet, because one last thing remains for completeness, which is a deficiency in the message compiler. Namely, that subclasses can't override the values of existing properties on inherited fields. Because of this, for example, the encapsulatedPacket field cannot be hidden by inet::Packet (since it is inherited from cPacket, and is annotated with @packetData there), even though it is never used (and should never be) in an inet::Packet.

The @packetData(false) property can be added to the inherited field in the subclass in NED (similar to how the default value of the field itself can be redefined), it is, however, completely ignored.
(0001355)
attila (developer)
2018-05-15 13:55

Related issue mentioned in the previous note: 0001037
( https://dev.omnetpp.org/bugs/view.php?id=1037 [^] )

- Issue History
Date Modified Username Field Change
2017-11-21 12:57 levy New Issue
2017-11-21 12:57 levy Status new => @[email protected]
2017-11-21 12:57 levy Assigned To => attila
2017-11-29 11:31 levy Status @[email protected] => new
2018-05-14 09:41 attila Note Added: 0001354
2018-05-15 13:55 attila Note Added: 0001355


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker