OMNeT++/OMNEST Bug Tracker - OMNeT++ | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000088 | OMNeT++ | simulation kernel | public | 2009-07-24 09:07 | 2010-01-05 12:50 |
Reporter | ypsilon | ||||
Assigned To | levy | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 4.0 | ||||
Target Version | Fixed in Version | 4.1 | |||
Summary | 0000088: on second extend modules loose gates? | ||||
Description | I have a module interface defining two gates, e.g.: moduleinterface InterfaceA { gates: inout app[]; inout net[]; } This interface is implemented by a module, defining the two necessary gates (which belongs to an abstract class - so I can extend the class and the module for implementation purposes - but this just for motivation, it doesn't influence the problem): simple AbstractModuleA like InterfaceA { gates: inout app[]; inout net[]; } If I extend from that module: simple ModuleA extends AbstractModuleA { } I can start a simulation using ModuleA. However, it I extend from that module again: simple ModuleAWithASpecialPurpose extends ModuleA { } I get upon simulation start: <!> Error: module type has no gate `app', required by interface `InterfaceA', at [...]/ModuleAWithASpecialPurpose.ned:21. | ||||
Steps To Reproduce | |||||
Additional Information | workaround is quiet simple by extending only once but this can be quiet a structural loss for the model. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://dev.omnetpp.org/bugs/file_download.php?file_id=19&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-07-24 09:07 | ypsilon | New Issue | |||
2009-08-21 09:43 | ypsilon | File Added: NED_inheritance_gates_iface.test | |||
2009-08-21 09:49 | ypsilon | Note Added: 0000166 | |||
2009-10-21 16:24 | rhornig | Status | new => confirmed | ||
2009-10-21 16:25 | rhornig | Priority | normal => high | ||
2009-10-21 16:25 | rhornig | Severity | minor => major | ||
2010-01-05 12:49 | levy | Assigned To | => levy | ||
2010-01-05 12:50 | levy | Status | confirmed => resolved | ||
2010-01-05 12:50 | levy | Fixed in Version | => 4.1 | ||
2010-01-05 12:50 | levy | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|