Anonymous | Login | 2022-05-25 11:05 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0000593 | OMNeT++ | simulation kernel | public | 2012-09-05 16:01 | 2012-09-08 09:57 | ||||||||
Reporter | andras | ||||||||||||
Assigned To | |||||||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||||||
Status | new | Resolution | open | ||||||||||
Platform | OS | OS Version | |||||||||||
Product Version | 4.2.2 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0000593: change impl. of WATCH_VECTOR(), WATCH_PTRVECTOR() etc so that vector elements are individually inspectable | ||||||||||||
Description | Currently elements of watched std::vectors, std::sets, std::maps etc are displayed as strings. This could/should be changed so that if elements are themselves inspectable (provided they are some compound type, e.g. foo_struct or cMessage*). To achieve this, in cStdVectorWatcherDescriptor, the following changes need to be done: - getFieldTypeFlags() should return FD_ISCOMPOUND and FD_ISPOINTER too, if applicable. Input should arrive in cStdVectorWatcherDescriptor's constructor, invoked by cStdVectorWatcherBase::getDescriptor(). In theory, FD_ISCOBJECT/ISCOWNEDOBJECT should be set accordingly too, but there's little penalty for failing to set them. - getFieldStructName() and getFieldStructValuePointer() should be implemented too The above hints are based on the post-4.2.2 topic/simfrontend branch. | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files | |||||||||||||
![]() |
|
(0000765) andras (administrator) 2012-09-08 09:57 |
useful info for figuring out FD_ISCOBJECT etc: http://stackoverflow.com/questions/7928871/good-practices-regarding-template-specialization-and-inheritance [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2012-09-05 16:01 | andras | New Issue | |
2012-09-08 09:57 | andras | Note Added: 0000765 |
Copyright © 2000 - 2022 MantisBT Team |