OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000082OMNeT++command line toolspublic2009-06-22 10:252009-07-25 17:40
Reporterrhornig 
Assigned Toandras 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0 
Target VersionFixed in Version4.1 
Summary0000082: Cannot extend a message class from an other rnamespace
DescriptionIt is not possible to extends a message if the base class of it is in a different namespece: i.e.

message queueing::Job;
message AFDXMessage extends queuein::Job {

is not possible.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000155)
andras (administrator)
2009-06-22 11:06

Workaround: introduce a typedef to get rid of the namespace syntax:

cplusplus{{
typedef queueing::Job QueueingJob;
}}

message QueueingJob;
message AFDXMessage extends QueueingJob { ...
(0000162)
andras (administrator)
2009-07-25 17:40

opp_msgc was improved to support referencing types from other namespaces.

- Issue History
Date Modified Username Field Change
2009-06-22 10:25 rhornig New Issue
2009-06-22 11:06 andras Note Added: 0000155
2009-07-25 17:40 andras Note Added: 0000162
2009-07-25 17:40 andras Status new => resolved
2009-07-25 17:40 andras Fixed in Version => 4.1
2009-07-25 17:40 andras Resolution open => fixed
2009-07-25 17:40 andras Assigned To => andras


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker