|Anonymous | Login||2019-09-19 22:02 UTC|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001024||OMNeT++||runtime / Qtenv||public||2017-11-21 12:57||2018-06-18 09:17|
|Target Version||Fixed in Version|
|Summary||0001024: Add a new inspector (specifically to the properties view) that shows the packet data if a packet is selected|
|Description||Quite 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.
|Tags||No tags attached.|
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.
Related issue mentioned in the previous note: 0001037
( https://dev.omnetpp.org/bugs/view.php?id=1037 [^] )
|2017-11-21 12:57||levy||New Issue|
|2017-11-21 12:57||levy||Status||new => assigned|
|2017-11-21 12:57||levy||Assigned To||=> attila|
|2017-11-29 11:31||levy||Status||assigned => new|
|2018-05-14 09:41||attila||Note Added: 0001354|
|2018-05-15 13:55||attila||Note Added: 0001355|
|2018-06-18 09:17||attila||Status||new => in work|
|Copyright © 2000 - 2019 MantisBT Team|