View | Details | Raw Unified | Return to bug 2504
Collapse All | Expand All

(-)a/src/visualizer/model/pyviz.cc (+6 lines)
 Lines 134-139    Link Here 
134
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Mac/MacRx",
134
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Mac/MacRx",
135
                   MakeCallback (&PyViz::TraceNetDevRxWifi, this));
135
                   MakeCallback (&PyViz::TraceNetDevRxWifi, this));
136
136
137
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WaveNetDevice/MacEntities/*/MacTx",
138
                   MakeCallback (&PyViz::TraceNetDevTxWifi, this));
139
140
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WaveNetDevice/MacEntities/*/MacRx",
141
                   MakeCallback (&PyViz::TraceNetDevRxWifi, this));
142
137
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/MacTx",
143
  Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/MacTx",
138
                   MakeCallback (&PyViz::TraceNetDevTxCsma, this));
144
                   MakeCallback (&PyViz::TraceNetDevTxCsma, this));
139
145
(-)a/src/visualizer/visualizer/base.py (-1 / +2 lines)
 Lines 5-12    Link Here 
5
import ns.internet
5
import ns.internet
6
import ns.mesh
6
import ns.mesh
7
import ns.wimax
7
import ns.wimax
8
import ns.wimax
9
import ns.lte
8
import ns.lte
9
import ns.wave
10
10
11
import gobject
11
import gobject
12
import os.path
12
import os.path
 Lines 45-50    Link Here 
45
    ns.wimax.BaseStationNetDevice: NetDeviceTraits(is_wireless=True),
45
    ns.wimax.BaseStationNetDevice: NetDeviceTraits(is_wireless=True),
46
    ns.lte.LteUeNetDevice: NetDeviceTraits(is_wireless=True),
46
    ns.lte.LteUeNetDevice: NetDeviceTraits(is_wireless=True),
47
    ns.lte.LteEnbNetDevice: NetDeviceTraits(is_wireless=True),
47
    ns.lte.LteEnbNetDevice: NetDeviceTraits(is_wireless=True),
48
    ns.wave.WaveNetDevice: NetDeviceTraits(is_wireless=True),
48
}
49
}
49
50
50
def lookup_netdevice_traits(class_type):
51
def lookup_netdevice_traits(class_type):

Return to bug 2504