Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(216)

Unified Diff: src/spectrum/helper/waveform-generator-helper.cc

Issue 6620057: Antenna/Orientation Support
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/spectrum/helper/spectrum-analyzer-helper.cc ('k') | src/spectrum/model/half-duplex-ideal-phy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spectrum/helper/waveform-generator-helper.cc
===================================================================
--- a/src/spectrum/helper/waveform-generator-helper.cc
+++ b/src/spectrum/helper/waveform-generator-helper.cc
@@ -137,7 +137,7 @@
Ptr<AntennaModel> antenna = (m_antenna.Create ())->GetObject<AntennaModel> ();
NS_ASSERT_MSG (antenna, "error in creating the AntennaModel object");
- phy->SetAntenna (antenna);
+ phy->AggregateObject (antenna);
node->AddDevice (dev);
devices.Add (dev);
« no previous file with comments | « src/spectrum/helper/spectrum-analyzer-helper.cc ('k') | src/spectrum/model/half-duplex-ideal-phy.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b