Bugzilla – Bug 1019
common --> node --> common circular dependency
Last modified: 2011-01-20 16:32:39 EST
src/common/propagation-loss-model.cc: void MatrixPropagationLossModel::SetLoss (Ptr<Node> a, Ptr<Node> b, double loss, bool symmetric)
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