Get emu working again: Add Dix/Llc option, add and use contextual realtime schedule ops, don't refcount realtime simulator impl
This commit is contained in:
1 parent
c86991e469
commit
16d8802b88
9 files changed
+224
-52
No files matched your search
@@ -5,6 +5,8 @@ def register_types(module):
|
||||
|
||||
## emu-net-device.h: ns3::EmuNetDevice [class]
|
||||
module.add_class('EmuNetDevice', parent=root_module['ns3::NetDevice'])
|
||||
## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode [enumeration]
|
||||
module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::EmuNetDevice'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -115,6 +117,11 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
'ns3::Ptr< ns3::Channel >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode ns3::EmuNetDevice::GetEncapsulationMode() const [member function]
|
||||
cls.add_method('GetEncapsulationMode',
|
||||
'ns3::EmuNetDevice::EncapsulationMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## emu-net-device.h: uint32_t ns3::EmuNetDevice::GetIfIndex() const [member function]
|
||||
cls.add_method('GetIfIndex',
|
||||
'uint32_t',
|
||||
@@ -194,6 +201,10 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
cls.add_method('SetDataRate',
|
||||
'void',
|
||||
[param('ns3::DataRate', 'bps')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetEncapsulationMode(ns3::EmuNetDevice::EncapsulationMode mode) [member function]
|
||||
cls.add_method('SetEncapsulationMode',
|
||||
'void',
|
||||
[param('ns3::EmuNetDevice::EncapsulationMode', 'mode')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetIfIndex(uint32_t const index) [member function]
|
||||
cls.add_method('SetIfIndex',
|
||||
'void',
|
||||
|
||||
@@ -1486,6 +1486,14 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
cls.add_method('ScheduleRealtimeNow',
|
||||
'void',
|
||||
[param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleRealtimeNowWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleRealtimeWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
|
||||
@@ -5,6 +5,8 @@ def register_types(module):
|
||||
|
||||
## emu-net-device.h: ns3::EmuNetDevice [class]
|
||||
module.add_class('EmuNetDevice', parent=root_module['ns3::NetDevice'])
|
||||
## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode [enumeration]
|
||||
module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::EmuNetDevice'])
|
||||
|
||||
## Register a nested module for the namespace Config
|
||||
|
||||
@@ -115,6 +117,11 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
'ns3::Ptr< ns3::Channel >',
|
||||
[],
|
||||
is_const=True, is_virtual=True)
|
||||
## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode ns3::EmuNetDevice::GetEncapsulationMode() const [member function]
|
||||
cls.add_method('GetEncapsulationMode',
|
||||
'ns3::EmuNetDevice::EncapsulationMode',
|
||||
[],
|
||||
is_const=True)
|
||||
## emu-net-device.h: uint32_t ns3::EmuNetDevice::GetIfIndex() const [member function]
|
||||
cls.add_method('GetIfIndex',
|
||||
'uint32_t',
|
||||
@@ -194,6 +201,10 @@ def register_Ns3EmuNetDevice_methods(root_module, cls):
|
||||
cls.add_method('SetDataRate',
|
||||
'void',
|
||||
[param('ns3::DataRate', 'bps')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetEncapsulationMode(ns3::EmuNetDevice::EncapsulationMode mode) [member function]
|
||||
cls.add_method('SetEncapsulationMode',
|
||||
'void',
|
||||
[param('ns3::EmuNetDevice::EncapsulationMode', 'mode')])
|
||||
## emu-net-device.h: void ns3::EmuNetDevice::SetIfIndex(uint32_t const index) [member function]
|
||||
cls.add_method('SetIfIndex',
|
||||
'void',
|
||||
|
||||
@@ -1486,6 +1486,14 @@ def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls):
|
||||
cls.add_method('ScheduleRealtimeNow',
|
||||
'void',
|
||||
[param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleRealtimeNowWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleRealtimeWithContext',
|
||||
'void',
|
||||
[param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')])
|
||||
## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function]
|
||||
cls.add_method('ScheduleWithContext',
|
||||
'void',
|
||||
|
||||
Reference in new issue
Block a user