Bugzilla – Full Text Bug Listing |
Summary: | common --> node --> common circular dependency | ||
---|---|---|---|
Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
Component: | general | Assignee: | ns-bugs <ns-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | watrous |
Priority: | P5 | ||
Version: | ns-3-dev | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | proposed patch |
Description
Gustavo J. A. M. Carneiro
2010-10-26 10:09:14 EDT
And of course #include "ns3/node.h" in src/common/propagation-loss-model.h. This is blocking my modular Python bindings work. Would this be solved by putting the following modules into a lowest level module that doesn't depend on any other modules: common core node helper (In reply to comment #2) > Would this be solved by putting the following modules into a lowest level > module that doesn't depend on any other modules: > > common > core > node > helper A simpler option in this case is to change the signature of the method from: MatrixPropagationLossModel::SetLoss (Ptr<Node> a, Ptr<Node> b, double loss, bool symmetric) to: MatrixPropagationLossModel::SetLoss (Ptr<Object> a, Ptr<Object> b, double loss, bool symmetric) Created attachment 1011 [details]
proposed patch
Bug closed. ns-3-dev changeset: bb040260d75c |