OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000554OMNeT++simulation kernelpublic2012-03-20 14:082012-12-18 11:59
Reporterandras 
Assigned Torhornig 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusresolvedResolutionno change required 
PlatformOSOS Version
Product Version4.2.2 
Target VersionFixed in Version4.2.2 
Summary0000554: @statistic does not allow specifying the enum for a vector
DescriptionWhen using @statistic, it is not possible to make the runtime write an "attr enum..." line into the vector file. This line would associate numbers with their symbolic names, e.g. attr enum "IDLE=0,BUSY=1". Normally, this functionality is available via cOutVector::setEnum(const char *registeredEnumName).

Proposal: @statistic(enum=<registeredEnumName>) should be recognized.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000788)
rhornig (administrator)
2012-12-17 16:41

An examples using enums has been added to the aloha example
(0000789)
andras (administrator)
2012-12-18 11:26

Was NOT fixed actually (there was no change in the repo)
(0000790)
rhornig (administrator)
2012-12-18 11:59

This feature is already available in 4.2.2.

An example how to use it was added to the aloha sample:
https://github.com/omnetpp/omnetpp/commit/c62354b0313fe0643ad4b8a5fc5652b755557f39 [^]

- Issue History
Date Modified Username Field Change
2012-03-20 14:08 andras New Issue
2012-12-17 16:40 rhornig Status new => resolved
2012-12-17 16:40 rhornig Fixed in Version => 4.3b1
2012-12-17 16:40 rhornig Resolution open => fixed
2012-12-17 16:40 rhornig Assigned To => rhornig
2012-12-17 16:41 rhornig Note Added: 0000788
2012-12-18 11:26 andras Note Added: 0000789
2012-12-18 11:26 andras Status resolved => feedback
2012-12-18 11:26 andras Resolution fixed => reopened
2012-12-18 11:59 rhornig Note Added: 0000790
2012-12-18 11:59 rhornig Status feedback => resolved
2012-12-18 11:59 rhornig Fixed in Version 4.3b1 => 4.2.2
2012-12-18 11:59 rhornig Resolution reopened => no change required


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker