Make the new NetDevice APIs pure virtual methods, by Mathieu's insistence.

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-07-24 11:41:15 +01:00
parent 732b7994de
commit ca2fef3bd8
13 changed files with 99 additions and 32 deletions

View File

@@ -333,10 +333,10 @@ def register_Ns3Watchdog_methods(root_module, cls):
def register_Ns3Simulator_methods(root_module, cls):
## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr<ns3::SimulatorImpl> impl) [member function]
#cls.add_method('SetImplementation',
# 'void',
# [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
# is_static=True)
cls.add_method('SetImplementation',
'void',
[param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')],
is_static=True)
## simulator.h: static void ns3::Simulator::SetScheduler(ns3::Ptr<ns3::Scheduler> scheduler) [member function]
cls.add_method('SetScheduler',
'void',