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

(-)a/CHANGES.html (+9 lines)
 Lines 57-62    Link Here 
57
</ul>
57
</ul>
58
<h2>Changes to existing API:</h2>
58
<h2>Changes to existing API:</h2>
59
<ul>
59
<ul>
60
<li>SocketAddressTag was a long-standing API glitch. It was used to replicate 
61
    the RecvFrom effect (i.e., to know the source address of packet) without 
62
    calling RecvFrom.
63
    This option is more harmful than useful, because in case of tunnels the 
64
    new tag needs to replace the old one. Moreover, there is no real need 
65
    to create a new API when there is a perfectly working one (i.e., RecvFrom).
66
    As a consequence, SocketAddressTag has been completely removed from ns-3.
67
    Users can use RecvFrom (for UDP), GetPeerName (for TCP), or similar. 
68
</li>
60
</ul>
69
</ul>
61
<h2>Changes to build system:</h2>
70
<h2>Changes to build system:</h2>
62
<ul>
71
<ul>
(-)a/RELEASE_NOTES (+3 lines)
 Lines 26-34    Link Here 
26
- (internet) Added TCP Scalable congestion control algorithm
26
- (internet) Added TCP Scalable congestion control algorithm
27
- (internet) Added TCP Veno congestion control algorithm
27
- (internet) Added TCP Veno congestion control algorithm
28
- (internet) Added TCP Bic congestion control algorithm
28
- (internet) Added TCP Bic congestion control algorithm
29
- (network) SocketAddressTag has been removed from the codebase.
30
  Users can use RecvFrom (for UDP) or GetPeerName (for TCP) instead.
29
31
30
Bugs fixed
32
Bugs fixed
31
----------
33
----------
34
- Bug 231 - Avoid adding SocketAddressTag (at all)
32
- Bug 1977 - v4Ping verbose output when not explicitly stopped
35
- Bug 1977 - v4Ping verbose output when not explicitly stopped
33
- Bug 2057 - ARP and Ndisc caches should be updated by receiving valid L3 packets
36
- Bug 2057 - ARP and Ndisc caches should be updated by receiving valid L3 packets
34
- Bug 2346 - SixLowPan ConpressionThreshold can be violated.
37
- Bug 2346 - SixLowPan ConpressionThreshold can be violated.
(-)a/src/aodv/bindings/callbacks_list.py (-1 / +2 lines)
 Lines 1-7    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/aodv/bindings/modulegen__gcc_ILP32.py (-64 / +34 lines)
 Lines 236-243    Link Here 
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
237
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
238
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
238
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
239
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
240
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
242
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
243
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 401-406    Link Here 
401
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
399
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
402
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
400
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
403
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
401
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
402
    module.add_container('std::list< ns3::ArpCache::Entry * >', 'ns3::ArpCache::Entry *', container_type=u'list')
404
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
403
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
405
    
404
    
406
    ## Register a nested module for the namespace FatalImpl
405
    ## Register a nested module for the namespace FatalImpl
 Lines 621-627    Link Here 
621
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
620
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
622
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
621
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
623
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
622
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
624
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
625
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
623
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
626
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
624
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
627
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
625
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3404-3413    Link Here 
3404
                   'ns3::Ptr< ns3::QueueItem const >', 
3402
                   'ns3::Ptr< ns3::QueueItem const >', 
3405
                   [], 
3403
                   [], 
3406
                   is_const=True)
3404
                   is_const=True)
3405
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3406
    cls.add_method('Remove', 
3407
                   'ns3::Ptr< ns3::QueueItem >', 
3408
                   [])
3407
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3409
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3408
    cls.add_method('ResetStatistics', 
3410
    cls.add_method('ResetStatistics', 
3409
                   'void', 
3411
                   'void', 
3410
                   [])
3412
                   [])
3413
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3414
    cls.add_method('SetDropCallback', 
3415
                   'void', 
3416
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3417
                   is_virtual=True)
3411
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3418
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3412
    cls.add_method('SetMaxBytes', 
3419
    cls.add_method('SetMaxBytes', 
3413
                   'void', 
3420
                   'void', 
 Lines 3420-3429    Link Here 
3420
    cls.add_method('SetMode', 
3427
    cls.add_method('SetMode', 
3421
                   'void', 
3428
                   'void', 
3422
                   [param('ns3::Queue::QueueMode', 'mode')])
3429
                   [param('ns3::Queue::QueueMode', 'mode')])
3423
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3430
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3424
    cls.add_method('Drop', 
3431
    cls.add_method('Drop', 
3425
                   'void', 
3432
                   'void', 
3426
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3433
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3427
                   visibility='protected')
3434
                   visibility='protected')
3428
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3435
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3429
    cls.add_method('DoDequeue', 
3436
    cls.add_method('DoDequeue', 
 Lines 3440-3445    Link Here 
3440
                   'ns3::Ptr< ns3::QueueItem const >', 
3447
                   'ns3::Ptr< ns3::QueueItem const >', 
3441
                   [], 
3448
                   [], 
3442
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3449
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3450
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3451
    cls.add_method('DoRemove', 
3452
                   'ns3::Ptr< ns3::QueueItem >', 
3453
                   [], 
3454
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3443
    return
3455
    return
3444
3456
3445
def register_Ns3QueueDisc_methods(root_module, cls):
3457
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 3573-3578    Link Here 
3573
    cls.add_method('SetNetDevice', 
3585
    cls.add_method('SetNetDevice', 
3574
                   'void', 
3586
                   'void', 
3575
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3587
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3588
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3589
    cls.add_method('SetParentDropCallback', 
3590
                   'void', 
3591
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3592
                   is_virtual=True)
3576
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3593
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3577
    cls.add_method('SetQuota', 
3594
    cls.add_method('SetQuota', 
3578
                   'void', 
3595
                   'void', 
 Lines 3588-3597    Link Here 
3588
                   'void', 
3605
                   'void', 
3589
                   [], 
3606
                   [], 
3590
                   visibility='protected', is_virtual=True)
3607
                   visibility='protected', is_virtual=True)
3591
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3608
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3592
    cls.add_method('Drop', 
3609
    cls.add_method('Drop', 
3593
                   'void', 
3610
                   'void', 
3594
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3611
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3595
                   visibility='protected')
3612
                   visibility='protected')
3596
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3613
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3597
    cls.add_method('CheckConfig', 
3614
    cls.add_method('CheckConfig', 
 Lines 4248-4299    Link Here 
4248
                   visibility='protected')
4265
                   visibility='protected')
4249
    return
4266
    return
4250
4267
4251
def register_Ns3SocketAddressTag_methods(root_module, cls):
4252
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4253
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4254
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4255
    cls.add_constructor([])
4256
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4257
    cls.add_method('Deserialize', 
4258
                   'void', 
4259
                   [param('ns3::TagBuffer', 'i')], 
4260
                   is_virtual=True)
4261
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4262
    cls.add_method('GetAddress', 
4263
                   'ns3::Address', 
4264
                   [], 
4265
                   is_const=True)
4266
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4267
    cls.add_method('GetInstanceTypeId', 
4268
                   'ns3::TypeId', 
4269
                   [], 
4270
                   is_const=True, is_virtual=True)
4271
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4272
    cls.add_method('GetSerializedSize', 
4273
                   'uint32_t', 
4274
                   [], 
4275
                   is_const=True, is_virtual=True)
4276
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4277
    cls.add_method('GetTypeId', 
4278
                   'ns3::TypeId', 
4279
                   [], 
4280
                   is_static=True)
4281
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4282
    cls.add_method('Print', 
4283
                   'void', 
4284
                   [param('std::ostream &', 'os')], 
4285
                   is_const=True, is_virtual=True)
4286
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4287
    cls.add_method('Serialize', 
4288
                   'void', 
4289
                   [param('ns3::TagBuffer', 'i')], 
4290
                   is_const=True, is_virtual=True)
4291
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4292
    cls.add_method('SetAddress', 
4293
                   'void', 
4294
                   [param('ns3::Address', 'addr')])
4295
    return
4296
4297
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4268
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4298
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4269
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4299
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4270
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4766-4776    Link Here 
4766
                   'ns3::TypeId', 
4737
                   'ns3::TypeId', 
4767
                   [], 
4738
                   [], 
4768
                   is_const=True, is_virtual=True)
4739
                   is_const=True, is_virtual=True)
4769
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4740
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
4770
    cls.add_method('GetRootQueueDiscOnDevice', 
4741
    cls.add_method('GetRootQueueDiscOnDevice', 
4771
                   'ns3::Ptr< ns3::QueueDisc >', 
4742
                   'ns3::Ptr< ns3::QueueDisc >', 
4772
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4743
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4773
                   is_virtual=True)
4744
                   is_const=True, is_virtual=True)
4774
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4745
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4775
    cls.add_method('GetTypeId', 
4746
    cls.add_method('GetTypeId', 
4776
                   'ns3::TypeId', 
4747
                   'ns3::TypeId', 
 Lines 5529-5534    Link Here 
5529
    cls.add_method('Lookup', 
5500
    cls.add_method('Lookup', 
5530
                   'ns3::ArpCache::Entry *', 
5501
                   'ns3::ArpCache::Entry *', 
5531
                   [param('ns3::Ipv4Address', 'destination')])
5502
                   [param('ns3::Ipv4Address', 'destination')])
5503
    ## arp-cache.h (module 'internet'): std::list<ns3::ArpCache::Entry*,std::allocator<ns3::ArpCache::Entry*> > ns3::ArpCache::LookupInverse(ns3::Address destination) [member function]
5504
    cls.add_method('LookupInverse', 
5505
                   'std::list< ns3::ArpCache::Entry * >', 
5506
                   [param('ns3::Address', 'destination')])
5532
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
5507
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
5533
    cls.add_method('PrintArpCache', 
5508
    cls.add_method('PrintArpCache', 
5534
                   'void', 
5509
                   'void', 
 Lines 5649-5654    Link Here 
5649
    cls.add_method('SetMacAddresss', 
5624
    cls.add_method('SetMacAddresss', 
5650
                   'void', 
5625
                   'void', 
5651
                   [param('ns3::Address', 'macAddress')])
5626
                   [param('ns3::Address', 'macAddress')])
5627
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::Entry::UpdateSeen() [member function]
5628
    cls.add_method('UpdateSeen', 
5629
                   'void', 
5630
                   [])
5652
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
5631
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
5653
    cls.add_method('UpdateWaitReply', 
5632
    cls.add_method('UpdateWaitReply', 
5654
                   'bool', 
5633
                   'bool', 
 Lines 7357-7371    Link Here 
7357
                   'ns3::TypeId', 
7336
                   'ns3::TypeId', 
7358
                   [], 
7337
                   [], 
7359
                   is_static=True)
7338
                   is_static=True)
7360
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7361
    cls.add_method('IsQueueDiscInstalled', 
7362
                   'bool', 
7363
                   [], 
7364
                   is_const=True)
7365
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7366
    cls.add_method('SetQueueDiscInstalled', 
7367
                   'void', 
7368
                   [param('bool', 'installed')])
7369
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7339
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7370
    cls.add_method('SetSelectQueueCallback', 
7340
    cls.add_method('SetSelectQueueCallback', 
7371
                   'void', 
7341
                   'void', 
(-)a/src/aodv/bindings/modulegen__gcc_LP64.py (-64 / +34 lines)
 Lines 236-243    Link Here 
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
237
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
238
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
238
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
239
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
240
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
242
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
243
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 401-406    Link Here 
401
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
399
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
402
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
400
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
403
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
401
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
402
    module.add_container('std::list< ns3::ArpCache::Entry * >', 'ns3::ArpCache::Entry *', container_type=u'list')
404
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
403
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
405
    
404
    
406
    ## Register a nested module for the namespace FatalImpl
405
    ## Register a nested module for the namespace FatalImpl
 Lines 621-627    Link Here 
621
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
620
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
622
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
621
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
623
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
622
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
624
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
625
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
623
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
626
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
624
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
627
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
625
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3404-3413    Link Here 
3404
                   'ns3::Ptr< ns3::QueueItem const >', 
3402
                   'ns3::Ptr< ns3::QueueItem const >', 
3405
                   [], 
3403
                   [], 
3406
                   is_const=True)
3404
                   is_const=True)
3405
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3406
    cls.add_method('Remove', 
3407
                   'ns3::Ptr< ns3::QueueItem >', 
3408
                   [])
3407
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3409
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3408
    cls.add_method('ResetStatistics', 
3410
    cls.add_method('ResetStatistics', 
3409
                   'void', 
3411
                   'void', 
3410
                   [])
3412
                   [])
3413
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3414
    cls.add_method('SetDropCallback', 
3415
                   'void', 
3416
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3417
                   is_virtual=True)
3411
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3418
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3412
    cls.add_method('SetMaxBytes', 
3419
    cls.add_method('SetMaxBytes', 
3413
                   'void', 
3420
                   'void', 
 Lines 3420-3429    Link Here 
3420
    cls.add_method('SetMode', 
3427
    cls.add_method('SetMode', 
3421
                   'void', 
3428
                   'void', 
3422
                   [param('ns3::Queue::QueueMode', 'mode')])
3429
                   [param('ns3::Queue::QueueMode', 'mode')])
3423
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3430
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3424
    cls.add_method('Drop', 
3431
    cls.add_method('Drop', 
3425
                   'void', 
3432
                   'void', 
3426
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3433
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3427
                   visibility='protected')
3434
                   visibility='protected')
3428
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3435
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3429
    cls.add_method('DoDequeue', 
3436
    cls.add_method('DoDequeue', 
 Lines 3440-3445    Link Here 
3440
                   'ns3::Ptr< ns3::QueueItem const >', 
3447
                   'ns3::Ptr< ns3::QueueItem const >', 
3441
                   [], 
3448
                   [], 
3442
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3449
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3450
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3451
    cls.add_method('DoRemove', 
3452
                   'ns3::Ptr< ns3::QueueItem >', 
3453
                   [], 
3454
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3443
    return
3455
    return
3444
3456
3445
def register_Ns3QueueDisc_methods(root_module, cls):
3457
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 3573-3578    Link Here 
3573
    cls.add_method('SetNetDevice', 
3585
    cls.add_method('SetNetDevice', 
3574
                   'void', 
3586
                   'void', 
3575
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3587
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3588
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3589
    cls.add_method('SetParentDropCallback', 
3590
                   'void', 
3591
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3592
                   is_virtual=True)
3576
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3593
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3577
    cls.add_method('SetQuota', 
3594
    cls.add_method('SetQuota', 
3578
                   'void', 
3595
                   'void', 
 Lines 3588-3597    Link Here 
3588
                   'void', 
3605
                   'void', 
3589
                   [], 
3606
                   [], 
3590
                   visibility='protected', is_virtual=True)
3607
                   visibility='protected', is_virtual=True)
3591
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3608
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3592
    cls.add_method('Drop', 
3609
    cls.add_method('Drop', 
3593
                   'void', 
3610
                   'void', 
3594
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3611
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3595
                   visibility='protected')
3612
                   visibility='protected')
3596
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3613
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3597
    cls.add_method('CheckConfig', 
3614
    cls.add_method('CheckConfig', 
 Lines 4248-4299    Link Here 
4248
                   visibility='protected')
4265
                   visibility='protected')
4249
    return
4266
    return
4250
4267
4251
def register_Ns3SocketAddressTag_methods(root_module, cls):
4252
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4253
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4254
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4255
    cls.add_constructor([])
4256
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4257
    cls.add_method('Deserialize', 
4258
                   'void', 
4259
                   [param('ns3::TagBuffer', 'i')], 
4260
                   is_virtual=True)
4261
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4262
    cls.add_method('GetAddress', 
4263
                   'ns3::Address', 
4264
                   [], 
4265
                   is_const=True)
4266
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4267
    cls.add_method('GetInstanceTypeId', 
4268
                   'ns3::TypeId', 
4269
                   [], 
4270
                   is_const=True, is_virtual=True)
4271
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4272
    cls.add_method('GetSerializedSize', 
4273
                   'uint32_t', 
4274
                   [], 
4275
                   is_const=True, is_virtual=True)
4276
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4277
    cls.add_method('GetTypeId', 
4278
                   'ns3::TypeId', 
4279
                   [], 
4280
                   is_static=True)
4281
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4282
    cls.add_method('Print', 
4283
                   'void', 
4284
                   [param('std::ostream &', 'os')], 
4285
                   is_const=True, is_virtual=True)
4286
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4287
    cls.add_method('Serialize', 
4288
                   'void', 
4289
                   [param('ns3::TagBuffer', 'i')], 
4290
                   is_const=True, is_virtual=True)
4291
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4292
    cls.add_method('SetAddress', 
4293
                   'void', 
4294
                   [param('ns3::Address', 'addr')])
4295
    return
4296
4297
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4268
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4298
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4269
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4299
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4270
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4766-4776    Link Here 
4766
                   'ns3::TypeId', 
4737
                   'ns3::TypeId', 
4767
                   [], 
4738
                   [], 
4768
                   is_const=True, is_virtual=True)
4739
                   is_const=True, is_virtual=True)
4769
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4740
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
4770
    cls.add_method('GetRootQueueDiscOnDevice', 
4741
    cls.add_method('GetRootQueueDiscOnDevice', 
4771
                   'ns3::Ptr< ns3::QueueDisc >', 
4742
                   'ns3::Ptr< ns3::QueueDisc >', 
4772
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4743
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4773
                   is_virtual=True)
4744
                   is_const=True, is_virtual=True)
4774
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4745
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4775
    cls.add_method('GetTypeId', 
4746
    cls.add_method('GetTypeId', 
4776
                   'ns3::TypeId', 
4747
                   'ns3::TypeId', 
 Lines 5529-5534    Link Here 
5529
    cls.add_method('Lookup', 
5500
    cls.add_method('Lookup', 
5530
                   'ns3::ArpCache::Entry *', 
5501
                   'ns3::ArpCache::Entry *', 
5531
                   [param('ns3::Ipv4Address', 'destination')])
5502
                   [param('ns3::Ipv4Address', 'destination')])
5503
    ## arp-cache.h (module 'internet'): std::list<ns3::ArpCache::Entry*,std::allocator<ns3::ArpCache::Entry*> > ns3::ArpCache::LookupInverse(ns3::Address destination) [member function]
5504
    cls.add_method('LookupInverse', 
5505
                   'std::list< ns3::ArpCache::Entry * >', 
5506
                   [param('ns3::Address', 'destination')])
5532
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
5507
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
5533
    cls.add_method('PrintArpCache', 
5508
    cls.add_method('PrintArpCache', 
5534
                   'void', 
5509
                   'void', 
 Lines 5649-5654    Link Here 
5649
    cls.add_method('SetMacAddresss', 
5624
    cls.add_method('SetMacAddresss', 
5650
                   'void', 
5625
                   'void', 
5651
                   [param('ns3::Address', 'macAddress')])
5626
                   [param('ns3::Address', 'macAddress')])
5627
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::Entry::UpdateSeen() [member function]
5628
    cls.add_method('UpdateSeen', 
5629
                   'void', 
5630
                   [])
5652
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
5631
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
5653
    cls.add_method('UpdateWaitReply', 
5632
    cls.add_method('UpdateWaitReply', 
5654
                   'bool', 
5633
                   'bool', 
 Lines 7357-7371    Link Here 
7357
                   'ns3::TypeId', 
7336
                   'ns3::TypeId', 
7358
                   [], 
7337
                   [], 
7359
                   is_static=True)
7338
                   is_static=True)
7360
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7361
    cls.add_method('IsQueueDiscInstalled', 
7362
                   'bool', 
7363
                   [], 
7364
                   is_const=True)
7365
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7366
    cls.add_method('SetQueueDiscInstalled', 
7367
                   'void', 
7368
                   [param('bool', 'installed')])
7369
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7339
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7370
    cls.add_method('SetSelectQueueCallback', 
7340
    cls.add_method('SetSelectQueueCallback', 
7371
                   'void', 
7341
                   'void', 
(-)a/src/applications/bindings/callbacks_list.py (+1 lines)
 Lines 6-11    Link Here 
6
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
10
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
10
    ['unsigned char', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
11
    ['unsigned char', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
11
]
12
]
(-)a/src/applications/bindings/modulegen__gcc_ILP32.py (-69 / +30 lines)
 Lines 290-297    Link Here 
290
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
290
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
291
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
291
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
292
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
292
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
293
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
294
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
295
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
293
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
296
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
294
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
297
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
295
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 767-773    Link Here 
767
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
765
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
768
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
766
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
769
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
767
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
770
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
771
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
768
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
772
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
769
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
773
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
770
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 889-896    Link Here 
889
886
890
def register_Ns3Address_methods(root_module, cls):
887
def register_Ns3Address_methods(root_module, cls):
891
    cls.add_binary_comparison_operator('!=')
888
    cls.add_binary_comparison_operator('!=')
889
    cls.add_output_stream_operator()
892
    cls.add_binary_comparison_operator('<')
890
    cls.add_binary_comparison_operator('<')
893
    cls.add_output_stream_operator()
894
    cls.add_binary_comparison_operator('==')
891
    cls.add_binary_comparison_operator('==')
895
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
892
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
896
    cls.add_constructor([])
893
    cls.add_constructor([])
 Lines 1880-1887    Link Here 
1880
1877
1881
def register_Ns3Ipv4Address_methods(root_module, cls):
1878
def register_Ns3Ipv4Address_methods(root_module, cls):
1882
    cls.add_binary_comparison_operator('!=')
1879
    cls.add_binary_comparison_operator('!=')
1880
    cls.add_output_stream_operator()
1883
    cls.add_binary_comparison_operator('<')
1881
    cls.add_binary_comparison_operator('<')
1884
    cls.add_output_stream_operator()
1885
    cls.add_binary_comparison_operator('==')
1882
    cls.add_binary_comparison_operator('==')
1886
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1883
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1887
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1884
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
 Lines 2061-2068    Link Here 
2061
2058
2062
def register_Ns3Ipv6Address_methods(root_module, cls):
2059
def register_Ns3Ipv6Address_methods(root_module, cls):
2063
    cls.add_binary_comparison_operator('!=')
2060
    cls.add_binary_comparison_operator('!=')
2061
    cls.add_output_stream_operator()
2064
    cls.add_binary_comparison_operator('<')
2062
    cls.add_binary_comparison_operator('<')
2065
    cls.add_output_stream_operator()
2066
    cls.add_binary_comparison_operator('==')
2063
    cls.add_binary_comparison_operator('==')
2067
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
2064
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
2068
    cls.add_constructor([])
2065
    cls.add_constructor([])
 Lines 2318-2325    Link Here 
2318
2315
2319
def register_Ns3Mac16Address_methods(root_module, cls):
2316
def register_Ns3Mac16Address_methods(root_module, cls):
2320
    cls.add_binary_comparison_operator('!=')
2317
    cls.add_binary_comparison_operator('!=')
2318
    cls.add_output_stream_operator()
2321
    cls.add_binary_comparison_operator('<')
2319
    cls.add_binary_comparison_operator('<')
2322
    cls.add_output_stream_operator()
2323
    cls.add_binary_comparison_operator('==')
2320
    cls.add_binary_comparison_operator('==')
2324
    ## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
2321
    ## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
2325
    cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
2322
    cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
 Lines 2355-2362    Link Here 
2355
2352
2356
def register_Ns3Mac48Address_methods(root_module, cls):
2353
def register_Ns3Mac48Address_methods(root_module, cls):
2357
    cls.add_binary_comparison_operator('!=')
2354
    cls.add_binary_comparison_operator('!=')
2355
    cls.add_output_stream_operator()
2358
    cls.add_binary_comparison_operator('<')
2356
    cls.add_binary_comparison_operator('<')
2359
    cls.add_output_stream_operator()
2360
    cls.add_binary_comparison_operator('==')
2357
    cls.add_binary_comparison_operator('==')
2361
    ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
2358
    ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
2362
    cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
2359
    cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
 Lines 2427-2434    Link Here 
2427
2424
2428
def register_Ns3Mac64Address_methods(root_module, cls):
2425
def register_Ns3Mac64Address_methods(root_module, cls):
2429
    cls.add_binary_comparison_operator('!=')
2426
    cls.add_binary_comparison_operator('!=')
2427
    cls.add_output_stream_operator()
2430
    cls.add_binary_comparison_operator('<')
2428
    cls.add_binary_comparison_operator('<')
2431
    cls.add_output_stream_operator()
2432
    cls.add_binary_comparison_operator('==')
2429
    cls.add_binary_comparison_operator('==')
2433
    ## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
2430
    ## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
2434
    cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
2431
    cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
 Lines 3777-3784    Link Here 
3777
3774
3778
def register_Ns3TypeId_methods(root_module, cls):
3775
def register_Ns3TypeId_methods(root_module, cls):
3779
    cls.add_binary_comparison_operator('!=')
3776
    cls.add_binary_comparison_operator('!=')
3777
    cls.add_output_stream_operator()
3780
    cls.add_binary_comparison_operator('<')
3778
    cls.add_binary_comparison_operator('<')
3781
    cls.add_output_stream_operator()
3782
    cls.add_binary_comparison_operator('==')
3779
    cls.add_binary_comparison_operator('==')
3783
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
3780
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
3784
    cls.add_constructor([param('char const *', 'name')])
3781
    cls.add_constructor([param('char const *', 'name')])
 Lines 4127-4132    Link Here 
4127
    cls.add_binary_comparison_operator('<=')
4124
    cls.add_binary_comparison_operator('<=')
4128
    cls.add_binary_comparison_operator('!=')
4125
    cls.add_binary_comparison_operator('!=')
4129
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
4126
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
4127
    cls.add_output_stream_operator()
4130
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4128
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4131
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4129
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4132
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4130
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
 Lines 4137-4143    Link Here 
4137
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
4135
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
4138
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
4136
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
4139
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
4137
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
4140
    cls.add_output_stream_operator()
4141
    cls.add_binary_comparison_operator('==')
4138
    cls.add_binary_comparison_operator('==')
4142
    cls.add_binary_comparison_operator('>=')
4139
    cls.add_binary_comparison_operator('>=')
4143
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
4140
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
 Lines 4718-4727    Link Here 
4718
                   'ns3::Ptr< ns3::QueueItem const >', 
4715
                   'ns3::Ptr< ns3::QueueItem const >', 
4719
                   [], 
4716
                   [], 
4720
                   is_const=True)
4717
                   is_const=True)
4718
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
4719
    cls.add_method('Remove', 
4720
                   'ns3::Ptr< ns3::QueueItem >', 
4721
                   [])
4721
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4722
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4722
    cls.add_method('ResetStatistics', 
4723
    cls.add_method('ResetStatistics', 
4723
                   'void', 
4724
                   'void', 
4724
                   [])
4725
                   [])
4726
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4727
    cls.add_method('SetDropCallback', 
4728
                   'void', 
4729
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4730
                   is_virtual=True)
4725
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4731
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4726
    cls.add_method('SetMaxBytes', 
4732
    cls.add_method('SetMaxBytes', 
4727
                   'void', 
4733
                   'void', 
 Lines 4734-4743    Link Here 
4734
    cls.add_method('SetMode', 
4740
    cls.add_method('SetMode', 
4735
                   'void', 
4741
                   'void', 
4736
                   [param('ns3::Queue::QueueMode', 'mode')])
4742
                   [param('ns3::Queue::QueueMode', 'mode')])
4737
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
4743
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4738
    cls.add_method('Drop', 
4744
    cls.add_method('Drop', 
4739
                   'void', 
4745
                   'void', 
4740
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
4746
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4741
                   visibility='protected')
4747
                   visibility='protected')
4742
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4748
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4743
    cls.add_method('DoDequeue', 
4749
    cls.add_method('DoDequeue', 
 Lines 4754-4759    Link Here 
4754
                   'ns3::Ptr< ns3::QueueItem const >', 
4760
                   'ns3::Ptr< ns3::QueueItem const >', 
4755
                   [], 
4761
                   [], 
4756
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4762
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4763
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
4764
    cls.add_method('DoRemove', 
4765
                   'ns3::Ptr< ns3::QueueItem >', 
4766
                   [], 
4767
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4757
    return
4768
    return
4758
4769
4759
def register_Ns3RadiotapHeader_methods(root_module, cls):
4770
def register_Ns3RadiotapHeader_methods(root_module, cls):
 Lines 5671-5722    Link Here 
5671
                   visibility='protected')
5682
                   visibility='protected')
5672
    return
5683
    return
5673
5684
5674
def register_Ns3SocketAddressTag_methods(root_module, cls):
5675
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5676
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5677
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5678
    cls.add_constructor([])
5679
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5680
    cls.add_method('Deserialize', 
5681
                   'void', 
5682
                   [param('ns3::TagBuffer', 'i')], 
5683
                   is_virtual=True)
5684
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5685
    cls.add_method('GetAddress', 
5686
                   'ns3::Address', 
5687
                   [], 
5688
                   is_const=True)
5689
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5690
    cls.add_method('GetInstanceTypeId', 
5691
                   'ns3::TypeId', 
5692
                   [], 
5693
                   is_const=True, is_virtual=True)
5694
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5695
    cls.add_method('GetSerializedSize', 
5696
                   'uint32_t', 
5697
                   [], 
5698
                   is_const=True, is_virtual=True)
5699
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5700
    cls.add_method('GetTypeId', 
5701
                   'ns3::TypeId', 
5702
                   [], 
5703
                   is_static=True)
5704
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5705
    cls.add_method('Print', 
5706
                   'void', 
5707
                   [param('std::ostream &', 'os')], 
5708
                   is_const=True, is_virtual=True)
5709
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5710
    cls.add_method('Serialize', 
5711
                   'void', 
5712
                   [param('ns3::TagBuffer', 'i')], 
5713
                   is_const=True, is_virtual=True)
5714
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5715
    cls.add_method('SetAddress', 
5716
                   'void', 
5717
                   [param('ns3::Address', 'addr')])
5718
    return
5719
5720
def register_Ns3SocketFactory_methods(root_module, cls):
5685
def register_Ns3SocketFactory_methods(root_module, cls):
5721
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5686
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5722
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
5687
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
 Lines 5972-5977    Link Here 
5972
    cls.add_binary_comparison_operator('<=')
5937
    cls.add_binary_comparison_operator('<=')
5973
    cls.add_binary_comparison_operator('!=')
5938
    cls.add_binary_comparison_operator('!=')
5974
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
5939
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
5940
    cls.add_output_stream_operator()
5975
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
5941
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
5976
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5942
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5977
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5943
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
 Lines 5979-5985    Link Here 
5979
    cls.add_binary_comparison_operator('<')
5945
    cls.add_binary_comparison_operator('<')
5980
    cls.add_binary_comparison_operator('>')
5946
    cls.add_binary_comparison_operator('>')
5981
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
5947
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
5982
    cls.add_output_stream_operator()
5983
    cls.add_binary_comparison_operator('==')
5948
    cls.add_binary_comparison_operator('==')
5984
    cls.add_binary_comparison_operator('>=')
5949
    cls.add_binary_comparison_operator('>=')
5985
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
5950
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
 Lines 7005-7010    Link Here 
7005
                   'ns3::Ptr< ns3::QueueItem const >', 
6970
                   'ns3::Ptr< ns3::QueueItem const >', 
7006
                   [], 
6971
                   [], 
7007
                   is_const=True, visibility='private', is_virtual=True)
6972
                   is_const=True, visibility='private', is_virtual=True)
6973
    ## drop-tail-queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::DropTailQueue::DoRemove() [member function]
6974
    cls.add_method('DoRemove', 
6975
                   'ns3::Ptr< ns3::QueueItem >', 
6976
                   [], 
6977
                   visibility='private', is_virtual=True)
7008
    return
6978
    return
7009
6979
7010
def register_Ns3EmpiricalRandomVariable_methods(root_module, cls):
6980
def register_Ns3EmpiricalRandomVariable_methods(root_module, cls):
 Lines 8116-8130    Link Here 
8116
                   'ns3::TypeId', 
8086
                   'ns3::TypeId', 
8117
                   [], 
8087
                   [], 
8118
                   is_static=True)
8088
                   is_static=True)
8119
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
8120
    cls.add_method('IsQueueDiscInstalled', 
8121
                   'bool', 
8122
                   [], 
8123
                   is_const=True)
8124
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
8125
    cls.add_method('SetQueueDiscInstalled', 
8126
                   'void', 
8127
                   [param('bool', 'installed')])
8128
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
8089
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
8129
    cls.add_method('SetSelectQueueCallback', 
8090
    cls.add_method('SetSelectQueueCallback', 
8130
                   'void', 
8091
                   'void', 
(-)a/src/applications/bindings/modulegen__gcc_LP64.py (-69 / +30 lines)
 Lines 290-297    Link Here 
290
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
290
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
291
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
291
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
292
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
292
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
293
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
294
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
295
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
293
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
296
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
294
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
297
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
295
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 767-773    Link Here 
767
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
765
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
768
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
766
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
769
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
767
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
770
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
771
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
768
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
772
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
769
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
773
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
770
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 889-896    Link Here 
889
886
890
def register_Ns3Address_methods(root_module, cls):
887
def register_Ns3Address_methods(root_module, cls):
891
    cls.add_binary_comparison_operator('!=')
888
    cls.add_binary_comparison_operator('!=')
889
    cls.add_output_stream_operator()
892
    cls.add_binary_comparison_operator('<')
890
    cls.add_binary_comparison_operator('<')
893
    cls.add_output_stream_operator()
894
    cls.add_binary_comparison_operator('==')
891
    cls.add_binary_comparison_operator('==')
895
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
892
    ## address.h (module 'network'): ns3::Address::Address() [constructor]
896
    cls.add_constructor([])
893
    cls.add_constructor([])
 Lines 1880-1887    Link Here 
1880
1877
1881
def register_Ns3Ipv4Address_methods(root_module, cls):
1878
def register_Ns3Ipv4Address_methods(root_module, cls):
1882
    cls.add_binary_comparison_operator('!=')
1879
    cls.add_binary_comparison_operator('!=')
1880
    cls.add_output_stream_operator()
1883
    cls.add_binary_comparison_operator('<')
1881
    cls.add_binary_comparison_operator('<')
1884
    cls.add_output_stream_operator()
1885
    cls.add_binary_comparison_operator('==')
1882
    cls.add_binary_comparison_operator('==')
1886
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1883
    ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor]
1887
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
1884
    cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')])
 Lines 2061-2068    Link Here 
2061
2058
2062
def register_Ns3Ipv6Address_methods(root_module, cls):
2059
def register_Ns3Ipv6Address_methods(root_module, cls):
2063
    cls.add_binary_comparison_operator('!=')
2060
    cls.add_binary_comparison_operator('!=')
2061
    cls.add_output_stream_operator()
2064
    cls.add_binary_comparison_operator('<')
2062
    cls.add_binary_comparison_operator('<')
2065
    cls.add_output_stream_operator()
2066
    cls.add_binary_comparison_operator('==')
2063
    cls.add_binary_comparison_operator('==')
2067
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
2064
    ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor]
2068
    cls.add_constructor([])
2065
    cls.add_constructor([])
 Lines 2318-2325    Link Here 
2318
2315
2319
def register_Ns3Mac16Address_methods(root_module, cls):
2316
def register_Ns3Mac16Address_methods(root_module, cls):
2320
    cls.add_binary_comparison_operator('!=')
2317
    cls.add_binary_comparison_operator('!=')
2318
    cls.add_output_stream_operator()
2321
    cls.add_binary_comparison_operator('<')
2319
    cls.add_binary_comparison_operator('<')
2322
    cls.add_output_stream_operator()
2323
    cls.add_binary_comparison_operator('==')
2320
    cls.add_binary_comparison_operator('==')
2324
    ## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
2321
    ## mac16-address.h (module 'network'): ns3::Mac16Address::Mac16Address(ns3::Mac16Address const & arg0) [copy constructor]
2325
    cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
2322
    cls.add_constructor([param('ns3::Mac16Address const &', 'arg0')])
 Lines 2355-2362    Link Here 
2355
2352
2356
def register_Ns3Mac48Address_methods(root_module, cls):
2353
def register_Ns3Mac48Address_methods(root_module, cls):
2357
    cls.add_binary_comparison_operator('!=')
2354
    cls.add_binary_comparison_operator('!=')
2355
    cls.add_output_stream_operator()
2358
    cls.add_binary_comparison_operator('<')
2356
    cls.add_binary_comparison_operator('<')
2359
    cls.add_output_stream_operator()
2360
    cls.add_binary_comparison_operator('==')
2357
    cls.add_binary_comparison_operator('==')
2361
    ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
2358
    ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor]
2362
    cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
2359
    cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')])
 Lines 2427-2434    Link Here 
2427
2424
2428
def register_Ns3Mac64Address_methods(root_module, cls):
2425
def register_Ns3Mac64Address_methods(root_module, cls):
2429
    cls.add_binary_comparison_operator('!=')
2426
    cls.add_binary_comparison_operator('!=')
2427
    cls.add_output_stream_operator()
2430
    cls.add_binary_comparison_operator('<')
2428
    cls.add_binary_comparison_operator('<')
2431
    cls.add_output_stream_operator()
2432
    cls.add_binary_comparison_operator('==')
2429
    cls.add_binary_comparison_operator('==')
2433
    ## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
2430
    ## mac64-address.h (module 'network'): ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor]
2434
    cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
2431
    cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')])
 Lines 3777-3784    Link Here 
3777
3774
3778
def register_Ns3TypeId_methods(root_module, cls):
3775
def register_Ns3TypeId_methods(root_module, cls):
3779
    cls.add_binary_comparison_operator('!=')
3776
    cls.add_binary_comparison_operator('!=')
3777
    cls.add_output_stream_operator()
3780
    cls.add_binary_comparison_operator('<')
3778
    cls.add_binary_comparison_operator('<')
3781
    cls.add_output_stream_operator()
3782
    cls.add_binary_comparison_operator('==')
3779
    cls.add_binary_comparison_operator('==')
3783
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
3780
    ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor]
3784
    cls.add_constructor([param('char const *', 'name')])
3781
    cls.add_constructor([param('char const *', 'name')])
 Lines 4127-4132    Link Here 
4127
    cls.add_binary_comparison_operator('<=')
4124
    cls.add_binary_comparison_operator('<=')
4128
    cls.add_binary_comparison_operator('!=')
4125
    cls.add_binary_comparison_operator('!=')
4129
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
4126
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
4127
    cls.add_output_stream_operator()
4130
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4128
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4131
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4129
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4132
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
4130
    cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
 Lines 4137-4143    Link Here 
4137
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
4135
    cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', u'right'))
4138
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
4136
    cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', u'right'))
4139
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
4137
    cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', u'right'))
4140
    cls.add_output_stream_operator()
4141
    cls.add_binary_comparison_operator('==')
4138
    cls.add_binary_comparison_operator('==')
4142
    cls.add_binary_comparison_operator('>=')
4139
    cls.add_binary_comparison_operator('>=')
4143
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
4140
    ## int64x64-double.h (module 'core'): ns3::int64x64_t::int64x64_t() [constructor]
 Lines 4718-4727    Link Here 
4718
                   'ns3::Ptr< ns3::QueueItem const >', 
4715
                   'ns3::Ptr< ns3::QueueItem const >', 
4719
                   [], 
4716
                   [], 
4720
                   is_const=True)
4717
                   is_const=True)
4718
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
4719
    cls.add_method('Remove', 
4720
                   'ns3::Ptr< ns3::QueueItem >', 
4721
                   [])
4721
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4722
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4722
    cls.add_method('ResetStatistics', 
4723
    cls.add_method('ResetStatistics', 
4723
                   'void', 
4724
                   'void', 
4724
                   [])
4725
                   [])
4726
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4727
    cls.add_method('SetDropCallback', 
4728
                   'void', 
4729
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4730
                   is_virtual=True)
4725
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4731
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4726
    cls.add_method('SetMaxBytes', 
4732
    cls.add_method('SetMaxBytes', 
4727
                   'void', 
4733
                   'void', 
 Lines 4734-4743    Link Here 
4734
    cls.add_method('SetMode', 
4740
    cls.add_method('SetMode', 
4735
                   'void', 
4741
                   'void', 
4736
                   [param('ns3::Queue::QueueMode', 'mode')])
4742
                   [param('ns3::Queue::QueueMode', 'mode')])
4737
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
4743
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4738
    cls.add_method('Drop', 
4744
    cls.add_method('Drop', 
4739
                   'void', 
4745
                   'void', 
4740
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
4746
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4741
                   visibility='protected')
4747
                   visibility='protected')
4742
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4748
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4743
    cls.add_method('DoDequeue', 
4749
    cls.add_method('DoDequeue', 
 Lines 4754-4759    Link Here 
4754
                   'ns3::Ptr< ns3::QueueItem const >', 
4760
                   'ns3::Ptr< ns3::QueueItem const >', 
4755
                   [], 
4761
                   [], 
4756
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4762
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4763
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
4764
    cls.add_method('DoRemove', 
4765
                   'ns3::Ptr< ns3::QueueItem >', 
4766
                   [], 
4767
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4757
    return
4768
    return
4758
4769
4759
def register_Ns3RadiotapHeader_methods(root_module, cls):
4770
def register_Ns3RadiotapHeader_methods(root_module, cls):
 Lines 5671-5722    Link Here 
5671
                   visibility='protected')
5682
                   visibility='protected')
5672
    return
5683
    return
5673
5684
5674
def register_Ns3SocketAddressTag_methods(root_module, cls):
5675
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5676
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5677
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5678
    cls.add_constructor([])
5679
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5680
    cls.add_method('Deserialize', 
5681
                   'void', 
5682
                   [param('ns3::TagBuffer', 'i')], 
5683
                   is_virtual=True)
5684
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5685
    cls.add_method('GetAddress', 
5686
                   'ns3::Address', 
5687
                   [], 
5688
                   is_const=True)
5689
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5690
    cls.add_method('GetInstanceTypeId', 
5691
                   'ns3::TypeId', 
5692
                   [], 
5693
                   is_const=True, is_virtual=True)
5694
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5695
    cls.add_method('GetSerializedSize', 
5696
                   'uint32_t', 
5697
                   [], 
5698
                   is_const=True, is_virtual=True)
5699
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5700
    cls.add_method('GetTypeId', 
5701
                   'ns3::TypeId', 
5702
                   [], 
5703
                   is_static=True)
5704
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5705
    cls.add_method('Print', 
5706
                   'void', 
5707
                   [param('std::ostream &', 'os')], 
5708
                   is_const=True, is_virtual=True)
5709
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5710
    cls.add_method('Serialize', 
5711
                   'void', 
5712
                   [param('ns3::TagBuffer', 'i')], 
5713
                   is_const=True, is_virtual=True)
5714
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5715
    cls.add_method('SetAddress', 
5716
                   'void', 
5717
                   [param('ns3::Address', 'addr')])
5718
    return
5719
5720
def register_Ns3SocketFactory_methods(root_module, cls):
5685
def register_Ns3SocketFactory_methods(root_module, cls):
5721
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5686
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5722
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
5687
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
 Lines 5972-5977    Link Here 
5972
    cls.add_binary_comparison_operator('<=')
5937
    cls.add_binary_comparison_operator('<=')
5973
    cls.add_binary_comparison_operator('!=')
5938
    cls.add_binary_comparison_operator('!=')
5974
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
5939
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
5940
    cls.add_output_stream_operator()
5975
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
5941
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
5976
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5942
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5977
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
5943
    cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
 Lines 5979-5985    Link Here 
5979
    cls.add_binary_comparison_operator('<')
5945
    cls.add_binary_comparison_operator('<')
5980
    cls.add_binary_comparison_operator('>')
5946
    cls.add_binary_comparison_operator('>')
5981
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
5947
    cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', u'right'))
5982
    cls.add_output_stream_operator()
5983
    cls.add_binary_comparison_operator('==')
5948
    cls.add_binary_comparison_operator('==')
5984
    cls.add_binary_comparison_operator('>=')
5949
    cls.add_binary_comparison_operator('>=')
5985
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
5950
    ## nstime.h (module 'core'): ns3::Time::Time() [constructor]
 Lines 7005-7010    Link Here 
7005
                   'ns3::Ptr< ns3::QueueItem const >', 
6970
                   'ns3::Ptr< ns3::QueueItem const >', 
7006
                   [], 
6971
                   [], 
7007
                   is_const=True, visibility='private', is_virtual=True)
6972
                   is_const=True, visibility='private', is_virtual=True)
6973
    ## drop-tail-queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::DropTailQueue::DoRemove() [member function]
6974
    cls.add_method('DoRemove', 
6975
                   'ns3::Ptr< ns3::QueueItem >', 
6976
                   [], 
6977
                   visibility='private', is_virtual=True)
7008
    return
6978
    return
7009
6979
7010
def register_Ns3EmpiricalRandomVariable_methods(root_module, cls):
6980
def register_Ns3EmpiricalRandomVariable_methods(root_module, cls):
 Lines 8116-8130    Link Here 
8116
                   'ns3::TypeId', 
8086
                   'ns3::TypeId', 
8117
                   [], 
8087
                   [], 
8118
                   is_static=True)
8088
                   is_static=True)
8119
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
8120
    cls.add_method('IsQueueDiscInstalled', 
8121
                   'bool', 
8122
                   [], 
8123
                   is_const=True)
8124
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
8125
    cls.add_method('SetQueueDiscInstalled', 
8126
                   'void', 
8127
                   [param('bool', 'installed')])
8128
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
8089
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
8129
    cls.add_method('SetSelectQueueCallback', 
8090
    cls.add_method('SetSelectQueueCallback', 
8130
                   'void', 
8091
                   'void', 
(-)a/src/bridge/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 2480-2494    Link Here 
2480
                   'ns3::TypeId', 
2480
                   'ns3::TypeId', 
2481
                   [], 
2481
                   [], 
2482
                   is_static=True)
2482
                   is_static=True)
2483
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2484
    cls.add_method('IsQueueDiscInstalled', 
2485
                   'bool', 
2486
                   [], 
2487
                   is_const=True)
2488
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2489
    cls.add_method('SetQueueDiscInstalled', 
2490
                   'void', 
2491
                   [param('bool', 'installed')])
2492
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2483
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2493
    cls.add_method('SetSelectQueueCallback', 
2484
    cls.add_method('SetSelectQueueCallback', 
2494
                   'void', 
2485
                   'void', 
(-)a/src/bridge/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 2480-2494    Link Here 
2480
                   'ns3::TypeId', 
2480
                   'ns3::TypeId', 
2481
                   [], 
2481
                   [], 
2482
                   is_static=True)
2482
                   is_static=True)
2483
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2484
    cls.add_method('IsQueueDiscInstalled', 
2485
                   'bool', 
2486
                   [], 
2487
                   is_const=True)
2488
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2489
    cls.add_method('SetQueueDiscInstalled', 
2490
                   'void', 
2491
                   [param('bool', 'installed')])
2492
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2483
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2493
    cls.add_method('SetSelectQueueCallback', 
2484
    cls.add_method('SetSelectQueueCallback', 
2494
                   'void', 
2485
                   'void', 
(-)a/src/buildings/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 4232-4246    Link Here 
4232
                   'ns3::TypeId', 
4232
                   'ns3::TypeId', 
4233
                   [], 
4233
                   [], 
4234
                   is_static=True)
4234
                   is_static=True)
4235
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4236
    cls.add_method('IsQueueDiscInstalled', 
4237
                   'bool', 
4238
                   [], 
4239
                   is_const=True)
4240
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4241
    cls.add_method('SetQueueDiscInstalled', 
4242
                   'void', 
4243
                   [param('bool', 'installed')])
4244
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4235
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4245
    cls.add_method('SetSelectQueueCallback', 
4236
    cls.add_method('SetSelectQueueCallback', 
4246
                   'void', 
4237
                   'void', 
(-)a/src/buildings/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 4232-4246    Link Here 
4232
                   'ns3::TypeId', 
4232
                   'ns3::TypeId', 
4233
                   [], 
4233
                   [], 
4234
                   is_static=True)
4234
                   is_static=True)
4235
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4236
    cls.add_method('IsQueueDiscInstalled', 
4237
                   'bool', 
4238
                   [], 
4239
                   is_const=True)
4240
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4241
    cls.add_method('SetQueueDiscInstalled', 
4242
                   'void', 
4243
                   [param('bool', 'installed')])
4244
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4235
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4245
    cls.add_method('SetSelectQueueCallback', 
4236
    cls.add_method('SetSelectQueueCallback', 
4246
                   'void', 
4237
                   'void', 
(-)a/src/click/bindings/callbacks_list.py (+4 lines)
 Lines 1-6    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['bool', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['unsigned char', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
]
10
]
(-)a/src/click/bindings/modulegen__gcc_ILP32.py (-52 / +1060 lines)
 Lines 112-117    Link Here 
112
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
112
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
113
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
113
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
114
    module.add_class('TagBuffer', import_from_module='ns.network')
114
    module.add_class('TagBuffer', import_from_module='ns.network')
115
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
116
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
115
    ## type-id.h (module 'core'): ns3::TypeId [class]
117
    ## type-id.h (module 'core'): ns3::TypeId [class]
116
    module.add_class('TypeId', import_from_module='ns.core')
118
    module.add_class('TypeId', import_from_module='ns.core')
117
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
119
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
 Lines 136-141    Link Here 
136
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
138
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
137
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
139
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
138
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
140
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
141
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter [class]
142
    module.add_class('PacketFilter', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
143
    ## queue.h (module 'network'): ns3::Queue [class]
144
    module.add_class('Queue', import_from_module='ns.network', parent=root_module['ns3::Object'])
145
    ## queue.h (module 'network'): ns3::Queue::QueueMode [enumeration]
146
    module.add_enum('QueueMode', ['QUEUE_MODE_PACKETS', 'QUEUE_MODE_BYTES'], outer_class=root_module['ns3::Queue'], import_from_module='ns.network')
147
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc [class]
148
    module.add_class('QueueDisc', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
149
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode [enumeration]
150
    module.add_enum('WakeMode', ['WAKE_ROOT', 'WAKE_CHILD'], outer_class=root_module['ns3::QueueDisc'], import_from_module='ns.traffic-control')
151
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass [class]
152
    module.add_class('QueueDiscClass', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
139
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
153
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
140
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
154
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
141
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
155
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
 Lines 150-161    Link Here 
150
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
164
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
151
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
165
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
152
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
166
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
167
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> > [class]
168
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NetDeviceQueue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NetDeviceQueue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
153
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
169
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
154
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
170
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
155
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
171
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
156
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
172
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
157
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
173
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
158
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
174
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> > [class]
176
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::QueueItem', 'ns3::empty', 'ns3::DefaultDeleter<ns3::QueueItem>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
160
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
178
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161
    ## socket.h (module 'network'): ns3::Socket [class]
179
    ## socket.h (module 'network'): ns3::Socket [class]
 Lines 166-173    Link Here 
166
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
167
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
168
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
169
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
170
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
171
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
187
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
172
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
188
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
173
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
189
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 180-185    Link Here 
180
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
196
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
181
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
197
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
182
    module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
198
    module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
199
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer [class]
200
    module.add_class('TrafficControlLayer', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
183
    ## trailer.h (module 'network'): ns3::Trailer [class]
201
    ## trailer.h (module 'network'): ns3::Trailer [class]
184
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
202
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
185
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
203
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
 Lines 188-201    Link Here 
188
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
206
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
189
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
207
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
190
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
208
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
209
    ## boolean.h (module 'core'): ns3::BooleanChecker [class]
210
    module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
211
    ## boolean.h (module 'core'): ns3::BooleanValue [class]
212
    module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
191
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
213
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
192
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
214
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
193
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
215
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
194
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
216
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
195
    ## callback.h (module 'core'): ns3::CallbackValue [class]
217
    ## callback.h (module 'core'): ns3::CallbackValue [class]
196
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
218
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
219
    ## double.h (module 'core'): ns3::DoubleValue [class]
220
    module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
197
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
221
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
198
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
222
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
223
    ## enum.h (module 'core'): ns3::EnumChecker [class]
224
    module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
225
    ## enum.h (module 'core'): ns3::EnumValue [class]
226
    module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
227
    ## integer.h (module 'core'): ns3::IntegerValue [class]
228
    module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
199
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
229
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
200
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
230
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
201
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
231
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
 Lines 232-255    Link Here 
232
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
262
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
233
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
263
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
234
    module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
264
    module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
265
    ## net-device.h (module 'network'): ns3::NetDeviceQueue [class]
266
    module.add_class('NetDeviceQueue', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >'])
267
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface [class]
268
    module.add_class('NetDeviceQueueInterface', import_from_module='ns.network', parent=root_module['ns3::Object'])
235
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
269
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
236
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
270
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
271
    ## node.h (module 'network'): ns3::Node [class]
272
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
237
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
273
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
238
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
274
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
239
    ## packet.h (module 'network'): ns3::Packet [class]
275
    ## packet.h (module 'network'): ns3::Packet [class]
240
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
276
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
277
    ## net-device.h (module 'network'): ns3::QueueItem [class]
278
    module.add_class('QueueItem', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
241
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
279
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
242
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
280
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
243
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
281
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
244
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
282
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
283
    ## uinteger.h (module 'core'): ns3::UintegerValue [class]
284
    module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
245
    ## address.h (module 'network'): ns3::AddressChecker [class]
285
    ## address.h (module 'network'): ns3::AddressChecker [class]
246
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
286
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247
    ## address.h (module 'network'): ns3::AddressValue [class]
287
    ## address.h (module 'network'): ns3::AddressValue [class]
248
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
288
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
249
    ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
289
    ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
250
    module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
290
    module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
291
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem [class]
292
    module.add_class('QueueDiscItem', import_from_module='ns.traffic_control', parent=root_module['ns3::QueueItem'])
251
    module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map')
293
    module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map')
252
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
294
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
295
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
253
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
296
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
254
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter')
297
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter')
255
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*')
298
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*')
 Lines 269-274    Link Here 
269
    nested_module = module.add_cpp_namespace('Hash')
312
    nested_module = module.add_cpp_namespace('Hash')
270
    register_types_ns3_Hash(nested_module)
313
    register_types_ns3_Hash(nested_module)
271
    
314
    
315
    
316
    ## Register a nested module for the namespace TracedValueCallback
317
    
318
    nested_module = module.add_cpp_namespace('TracedValueCallback')
319
    register_types_ns3_TracedValueCallback(nested_module)
320
    
321
    
322
    ## Register a nested module for the namespace internal
323
    
324
    nested_module = module.add_cpp_namespace('internal')
325
    register_types_ns3_internal(nested_module)
326
    
272
327
273
def register_types_ns3_FatalImpl(module):
328
def register_types_ns3_FatalImpl(module):
274
    root_module = module.get_root()
329
    root_module = module.get_root()
 Lines 304-309    Link Here 
304
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
359
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
305
    module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
360
    module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
306
361
362
def register_types_ns3_TracedValueCallback(module):
363
    root_module = module.get_root()
364
    
365
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8')
366
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*')
367
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&')
368
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
369
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
370
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
371
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
372
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
373
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
374
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
375
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
376
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
377
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool')
378
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*')
379
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&')
380
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16')
381
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*')
382
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&')
383
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
384
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
385
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
386
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
387
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
388
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
389
390
def register_types_ns3_internal(module):
391
    root_module = module.get_root()
392
    
393
307
def register_methods(root_module):
394
def register_methods(root_module):
308
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
395
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
309
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
396
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
 Lines 341-346    Link Here 
341
    register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
428
    register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
342
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
429
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
343
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
430
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
431
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
344
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
432
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
345
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
433
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
346
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
434
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
 Lines 350-355    Link Here 
350
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
438
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
351
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
439
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
352
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
440
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
441
    register_Ns3PacketFilter_methods(root_module, root_module['ns3::PacketFilter'])
442
    register_Ns3Queue_methods(root_module, root_module['ns3::Queue'])
443
    register_Ns3QueueDisc_methods(root_module, root_module['ns3::QueueDisc'])
444
    register_Ns3QueueDiscClass_methods(root_module, root_module['ns3::QueueDiscClass'])
353
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
445
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
354
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
446
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
355
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
447
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
 Lines 357-382    Link Here 
357
    register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
449
    register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
358
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
450
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
359
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
451
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
452
    register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >'])
360
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
453
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
361
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
454
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
362
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
455
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
456
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
363
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
457
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
364
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
458
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
365
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
366
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
459
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
367
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
460
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
368
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
461
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
369
    register_Ns3SocketIpv6TclassTag_methods(root_module, root_module['ns3::SocketIpv6TclassTag'])
462
    register_Ns3SocketIpv6TclassTag_methods(root_module, root_module['ns3::SocketIpv6TclassTag'])
370
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
463
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
371
    register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
464
    register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
465
    register_Ns3TrafficControlLayer_methods(root_module, root_module['ns3::TrafficControlLayer'])
372
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
466
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
373
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
467
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
374
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
468
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
375
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
469
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
470
    register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
471
    register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
376
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
472
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
377
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
473
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
378
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
474
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
475
    register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
379
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
476
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
477
    register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
478
    register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
479
    register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
380
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
480
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
381
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
481
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
382
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
482
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
 Lines 394-407    Link Here 
394
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
494
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
395
    register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
495
    register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
396
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
496
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
497
    register_Ns3NetDeviceQueue_methods(root_module, root_module['ns3::NetDeviceQueue'])
498
    register_Ns3NetDeviceQueueInterface_methods(root_module, root_module['ns3::NetDeviceQueueInterface'])
397
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
499
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
500
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
398
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
501
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
399
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
502
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
503
    register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem'])
400
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
504
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
401
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
505
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
506
    register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
402
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
507
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
403
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
508
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
404
    register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting'])
509
    register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting'])
510
    register_Ns3QueueDiscItem_methods(root_module, root_module['ns3::QueueDiscItem'])
405
    register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
511
    register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
406
    register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
512
    register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
407
    register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
513
    register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
 Lines 2028-2033    Link Here 
2028
                   [param('uint8_t', 'v')])
2134
                   [param('uint8_t', 'v')])
2029
    return
2135
    return
2030
2136
2137
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
2138
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
2139
    cls.add_constructor([])
2140
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
2141
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
2142
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
2143
    cls.add_constructor([param('unsigned int const &', 'v')])
2144
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2145
    cls.add_method('Connect', 
2146
                   'void', 
2147
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2148
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2149
    cls.add_method('ConnectWithoutContext', 
2150
                   'void', 
2151
                   [param('ns3::CallbackBase const &', 'cb')])
2152
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2153
    cls.add_method('Disconnect', 
2154
                   'void', 
2155
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2156
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2157
    cls.add_method('DisconnectWithoutContext', 
2158
                   'void', 
2159
                   [param('ns3::CallbackBase const &', 'cb')])
2160
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
2161
    cls.add_method('Get', 
2162
                   'unsigned int', 
2163
                   [], 
2164
                   is_const=True)
2165
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
2166
    cls.add_method('Set', 
2167
                   'void', 
2168
                   [param('unsigned int const &', 'v')])
2169
    return
2170
2031
def register_Ns3TypeId_methods(root_module, cls):
2171
def register_Ns3TypeId_methods(root_module, cls):
2032
    cls.add_binary_comparison_operator('<')
2172
    cls.add_binary_comparison_operator('<')
2033
    cls.add_binary_comparison_operator('!=')
2173
    cls.add_binary_comparison_operator('!=')
 Lines 2533-2538    Link Here 
2533
                   [])
2673
                   [])
2534
    return
2674
    return
2535
2675
2676
def register_Ns3PacketFilter_methods(root_module, cls):
2677
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter(ns3::PacketFilter const & arg0) [copy constructor]
2678
    cls.add_constructor([param('ns3::PacketFilter const &', 'arg0')])
2679
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter() [constructor]
2680
    cls.add_constructor([])
2681
    ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::Classify(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2682
    cls.add_method('Classify', 
2683
                   'int32_t', 
2684
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2685
                   is_const=True)
2686
    ## packet-filter.h (module 'traffic-control'): static ns3::TypeId ns3::PacketFilter::GetTypeId() [member function]
2687
    cls.add_method('GetTypeId', 
2688
                   'ns3::TypeId', 
2689
                   [], 
2690
                   is_static=True)
2691
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PF_NO_MATCH [variable]
2692
    cls.add_static_attribute('PF_NO_MATCH', 'int const', is_const=True)
2693
    ## packet-filter.h (module 'traffic-control'): bool ns3::PacketFilter::CheckProtocol(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2694
    cls.add_method('CheckProtocol', 
2695
                   'bool', 
2696
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2697
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2698
    ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::DoClassify(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2699
    cls.add_method('DoClassify', 
2700
                   'int32_t', 
2701
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2702
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2703
    return
2704
2705
def register_Ns3Queue_methods(root_module, cls):
2706
    ## queue.h (module 'network'): ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor]
2707
    cls.add_constructor([param('ns3::Queue const &', 'arg0')])
2708
    ## queue.h (module 'network'): ns3::Queue::Queue() [constructor]
2709
    cls.add_constructor([])
2710
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Dequeue() [member function]
2711
    cls.add_method('Dequeue', 
2712
                   'ns3::Ptr< ns3::QueueItem >', 
2713
                   [])
2714
    ## queue.h (module 'network'): void ns3::Queue::DequeueAll() [member function]
2715
    cls.add_method('DequeueAll', 
2716
                   'void', 
2717
                   [])
2718
    ## queue.h (module 'network'): bool ns3::Queue::Enqueue(ns3::Ptr<ns3::QueueItem> item) [member function]
2719
    cls.add_method('Enqueue', 
2720
                   'bool', 
2721
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')])
2722
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxBytes() const [member function]
2723
    cls.add_method('GetMaxBytes', 
2724
                   'uint32_t', 
2725
                   [], 
2726
                   is_const=True)
2727
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxPackets() const [member function]
2728
    cls.add_method('GetMaxPackets', 
2729
                   'uint32_t', 
2730
                   [], 
2731
                   is_const=True)
2732
    ## queue.h (module 'network'): ns3::Queue::QueueMode ns3::Queue::GetMode() const [member function]
2733
    cls.add_method('GetMode', 
2734
                   'ns3::Queue::QueueMode', 
2735
                   [], 
2736
                   is_const=True)
2737
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetNBytes() const [member function]
2738
    cls.add_method('GetNBytes', 
2739
                   'uint32_t', 
2740
                   [], 
2741
                   is_const=True)
2742
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetNPackets() const [member function]
2743
    cls.add_method('GetNPackets', 
2744
                   'uint32_t', 
2745
                   [], 
2746
                   is_const=True)
2747
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function]
2748
    cls.add_method('GetTotalDroppedBytes', 
2749
                   'uint32_t', 
2750
                   [], 
2751
                   is_const=True)
2752
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function]
2753
    cls.add_method('GetTotalDroppedPackets', 
2754
                   'uint32_t', 
2755
                   [], 
2756
                   is_const=True)
2757
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function]
2758
    cls.add_method('GetTotalReceivedBytes', 
2759
                   'uint32_t', 
2760
                   [], 
2761
                   is_const=True)
2762
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function]
2763
    cls.add_method('GetTotalReceivedPackets', 
2764
                   'uint32_t', 
2765
                   [], 
2766
                   is_const=True)
2767
    ## queue.h (module 'network'): static ns3::TypeId ns3::Queue::GetTypeId() [member function]
2768
    cls.add_method('GetTypeId', 
2769
                   'ns3::TypeId', 
2770
                   [], 
2771
                   is_static=True)
2772
    ## queue.h (module 'network'): bool ns3::Queue::IsEmpty() const [member function]
2773
    cls.add_method('IsEmpty', 
2774
                   'bool', 
2775
                   [], 
2776
                   is_const=True)
2777
    ## queue.h (module 'network'): ns3::Ptr<const ns3::QueueItem> ns3::Queue::Peek() const [member function]
2778
    cls.add_method('Peek', 
2779
                   'ns3::Ptr< ns3::QueueItem const >', 
2780
                   [], 
2781
                   is_const=True)
2782
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
2783
    cls.add_method('Remove', 
2784
                   'ns3::Ptr< ns3::QueueItem >', 
2785
                   [])
2786
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
2787
    cls.add_method('ResetStatistics', 
2788
                   'void', 
2789
                   [])
2790
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2791
    cls.add_method('SetDropCallback', 
2792
                   'void', 
2793
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
2794
                   is_virtual=True)
2795
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
2796
    cls.add_method('SetMaxBytes', 
2797
                   'void', 
2798
                   [param('uint32_t', 'maxBytes')])
2799
    ## queue.h (module 'network'): void ns3::Queue::SetMaxPackets(uint32_t maxPackets) [member function]
2800
    cls.add_method('SetMaxPackets', 
2801
                   'void', 
2802
                   [param('uint32_t', 'maxPackets')])
2803
    ## queue.h (module 'network'): void ns3::Queue::SetMode(ns3::Queue::QueueMode mode) [member function]
2804
    cls.add_method('SetMode', 
2805
                   'void', 
2806
                   [param('ns3::Queue::QueueMode', 'mode')])
2807
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
2808
    cls.add_method('Drop', 
2809
                   'void', 
2810
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2811
                   visibility='protected')
2812
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
2813
    cls.add_method('DoDequeue', 
2814
                   'ns3::Ptr< ns3::QueueItem >', 
2815
                   [], 
2816
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2817
    ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr<ns3::QueueItem> item) [member function]
2818
    cls.add_method('DoEnqueue', 
2819
                   'bool', 
2820
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2821
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2822
    ## queue.h (module 'network'): ns3::Ptr<const ns3::QueueItem> ns3::Queue::DoPeek() const [member function]
2823
    cls.add_method('DoPeek', 
2824
                   'ns3::Ptr< ns3::QueueItem const >', 
2825
                   [], 
2826
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2827
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
2828
    cls.add_method('DoRemove', 
2829
                   'ns3::Ptr< ns3::QueueItem >', 
2830
                   [], 
2831
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2832
    return
2833
2834
def register_Ns3QueueDisc_methods(root_module, cls):
2835
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc(ns3::QueueDisc const & arg0) [copy constructor]
2836
    cls.add_constructor([param('ns3::QueueDisc const &', 'arg0')])
2837
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc() [constructor]
2838
    cls.add_constructor([])
2839
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddInternalQueue(ns3::Ptr<ns3::Queue> queue) [member function]
2840
    cls.add_method('AddInternalQueue', 
2841
                   'void', 
2842
                   [param('ns3::Ptr< ns3::Queue >', 'queue')])
2843
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddPacketFilter(ns3::Ptr<ns3::PacketFilter> filter) [member function]
2844
    cls.add_method('AddPacketFilter', 
2845
                   'void', 
2846
                   [param('ns3::Ptr< ns3::PacketFilter >', 'filter')])
2847
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddQueueDiscClass(ns3::Ptr<ns3::QueueDiscClass> qdClass) [member function]
2848
    cls.add_method('AddQueueDiscClass', 
2849
                   'void', 
2850
                   [param('ns3::Ptr< ns3::QueueDiscClass >', 'qdClass')])
2851
    ## queue-disc.h (module 'traffic-control'): int32_t ns3::QueueDisc::Classify(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
2852
    cls.add_method('Classify', 
2853
                   'int32_t', 
2854
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')])
2855
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscItem> ns3::QueueDisc::Dequeue() [member function]
2856
    cls.add_method('Dequeue', 
2857
                   'ns3::Ptr< ns3::QueueDiscItem >', 
2858
                   [])
2859
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::Enqueue(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
2860
    cls.add_method('Enqueue', 
2861
                   'bool', 
2862
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')])
2863
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::Queue> ns3::QueueDisc::GetInternalQueue(uint32_t i) const [member function]
2864
    cls.add_method('GetInternalQueue', 
2865
                   'ns3::Ptr< ns3::Queue >', 
2866
                   [param('uint32_t', 'i')], 
2867
                   is_const=True)
2868
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNBytes() const [member function]
2869
    cls.add_method('GetNBytes', 
2870
                   'uint32_t', 
2871
                   [], 
2872
                   is_const=True)
2873
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNInternalQueues() const [member function]
2874
    cls.add_method('GetNInternalQueues', 
2875
                   'uint32_t', 
2876
                   [], 
2877
                   is_const=True)
2878
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPacketFilters() const [member function]
2879
    cls.add_method('GetNPacketFilters', 
2880
                   'uint32_t', 
2881
                   [], 
2882
                   is_const=True)
2883
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPackets() const [member function]
2884
    cls.add_method('GetNPackets', 
2885
                   'uint32_t', 
2886
                   [], 
2887
                   is_const=True)
2888
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNQueueDiscClasses() const [member function]
2889
    cls.add_method('GetNQueueDiscClasses', 
2890
                   'uint32_t', 
2891
                   [], 
2892
                   is_const=True)
2893
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::NetDevice> ns3::QueueDisc::GetNetDevice() const [member function]
2894
    cls.add_method('GetNetDevice', 
2895
                   'ns3::Ptr< ns3::NetDevice >', 
2896
                   [], 
2897
                   is_const=True)
2898
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::PacketFilter> ns3::QueueDisc::GetPacketFilter(uint32_t i) const [member function]
2899
    cls.add_method('GetPacketFilter', 
2900
                   'ns3::Ptr< ns3::PacketFilter >', 
2901
                   [param('uint32_t', 'i')], 
2902
                   is_const=True)
2903
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscClass> ns3::QueueDisc::GetQueueDiscClass(uint32_t i) const [member function]
2904
    cls.add_method('GetQueueDiscClass', 
2905
                   'ns3::Ptr< ns3::QueueDiscClass >', 
2906
                   [param('uint32_t', 'i')], 
2907
                   is_const=True)
2908
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetQuota() const [member function]
2909
    cls.add_method('GetQuota', 
2910
                   'uint32_t', 
2911
                   [], 
2912
                   is_const=True, is_virtual=True)
2913
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedBytes() const [member function]
2914
    cls.add_method('GetTotalDroppedBytes', 
2915
                   'uint32_t', 
2916
                   [], 
2917
                   is_const=True)
2918
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedPackets() const [member function]
2919
    cls.add_method('GetTotalDroppedPackets', 
2920
                   'uint32_t', 
2921
                   [], 
2922
                   is_const=True)
2923
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedBytes() const [member function]
2924
    cls.add_method('GetTotalReceivedBytes', 
2925
                   'uint32_t', 
2926
                   [], 
2927
                   is_const=True)
2928
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedPackets() const [member function]
2929
    cls.add_method('GetTotalReceivedPackets', 
2930
                   'uint32_t', 
2931
                   [], 
2932
                   is_const=True)
2933
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedBytes() const [member function]
2934
    cls.add_method('GetTotalRequeuedBytes', 
2935
                   'uint32_t', 
2936
                   [], 
2937
                   is_const=True)
2938
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedPackets() const [member function]
2939
    cls.add_method('GetTotalRequeuedPackets', 
2940
                   'uint32_t', 
2941
                   [], 
2942
                   is_const=True)
2943
    ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDisc::GetTypeId() [member function]
2944
    cls.add_method('GetTypeId', 
2945
                   'ns3::TypeId', 
2946
                   [], 
2947
                   is_static=True)
2948
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode ns3::QueueDisc::GetWakeMode() [member function]
2949
    cls.add_method('GetWakeMode', 
2950
                   'ns3::QueueDisc::WakeMode', 
2951
                   [])
2952
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<const ns3::QueueDiscItem> ns3::QueueDisc::Peek() const [member function]
2953
    cls.add_method('Peek', 
2954
                   'ns3::Ptr< ns3::QueueDiscItem const >', 
2955
                   [], 
2956
                   is_const=True)
2957
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Run() [member function]
2958
    cls.add_method('Run', 
2959
                   'void', 
2960
                   [])
2961
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetNetDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
2962
    cls.add_method('SetNetDevice', 
2963
                   'void', 
2964
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
2965
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2966
    cls.add_method('SetParentDropCallback', 
2967
                   'void', 
2968
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
2969
                   is_virtual=True)
2970
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
2971
    cls.add_method('SetQuota', 
2972
                   'void', 
2973
                   [param('uint32_t const', 'quota')], 
2974
                   is_virtual=True)
2975
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoDispose() [member function]
2976
    cls.add_method('DoDispose', 
2977
                   'void', 
2978
                   [], 
2979
                   visibility='protected', is_virtual=True)
2980
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoInitialize() [member function]
2981
    cls.add_method('DoInitialize', 
2982
                   'void', 
2983
                   [], 
2984
                   visibility='protected', is_virtual=True)
2985
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
2986
    cls.add_method('Drop', 
2987
                   'void', 
2988
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2989
                   visibility='protected')
2990
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
2991
    cls.add_method('CheckConfig', 
2992
                   'bool', 
2993
                   [], 
2994
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2995
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscItem> ns3::QueueDisc::DoDequeue() [member function]
2996
    cls.add_method('DoDequeue', 
2997
                   'ns3::Ptr< ns3::QueueDiscItem >', 
2998
                   [], 
2999
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3000
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::DoEnqueue(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3001
    cls.add_method('DoEnqueue', 
3002
                   'bool', 
3003
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3004
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3005
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<const ns3::QueueDiscItem> ns3::QueueDisc::DoPeek() const [member function]
3006
    cls.add_method('DoPeek', 
3007
                   'ns3::Ptr< ns3::QueueDiscItem const >', 
3008
                   [], 
3009
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3010
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::InitializeParams() [member function]
3011
    cls.add_method('InitializeParams', 
3012
                   'void', 
3013
                   [], 
3014
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3015
    return
3016
3017
def register_Ns3QueueDiscClass_methods(root_module, cls):
3018
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass(ns3::QueueDiscClass const & arg0) [copy constructor]
3019
    cls.add_constructor([param('ns3::QueueDiscClass const &', 'arg0')])
3020
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass() [constructor]
3021
    cls.add_constructor([])
3022
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::QueueDiscClass::GetQueueDisc() const [member function]
3023
    cls.add_method('GetQueueDisc', 
3024
                   'ns3::Ptr< ns3::QueueDisc >', 
3025
                   [], 
3026
                   is_const=True)
3027
    ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDiscClass::GetTypeId() [member function]
3028
    cls.add_method('GetTypeId', 
3029
                   'ns3::TypeId', 
3030
                   [], 
3031
                   is_static=True)
3032
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::SetQueueDisc(ns3::Ptr<ns3::QueueDisc> qd) [member function]
3033
    cls.add_method('SetQueueDisc', 
3034
                   'void', 
3035
                   [param('ns3::Ptr< ns3::QueueDisc >', 'qd')])
3036
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::DoDispose() [member function]
3037
    cls.add_method('DoDispose', 
3038
                   'void', 
3039
                   [], 
3040
                   visibility='protected', is_virtual=True)
3041
    return
3042
2536
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3043
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2537
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3044
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2538
    cls.add_constructor([])
3045
    cls.add_constructor([])
 Lines 2617-2622    Link Here 
2617
                   is_static=True)
3124
                   is_static=True)
2618
    return
3125
    return
2619
3126
3127
def register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, cls):
3128
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::SimpleRefCount() [constructor]
3129
    cls.add_constructor([])
3130
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> > const & o) [copy constructor]
3131
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter< ns3::NetDeviceQueue > > const &', 'o')])
3132
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::Cleanup() [member function]
3133
    cls.add_method('Cleanup', 
3134
                   'void', 
3135
                   [], 
3136
                   is_static=True)
3137
    return
3138
2620
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3139
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2621
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3140
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2622
    cls.add_constructor([])
3141
    cls.add_constructor([])
 Lines 2653-2658    Link Here 
2653
                   is_static=True)
3172
                   is_static=True)
2654
    return
3173
    return
2655
3174
3175
def register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, cls):
3176
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::SimpleRefCount() [constructor]
3177
    cls.add_constructor([])
3178
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::SimpleRefCount(ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> > const & o) [copy constructor]
3179
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter< ns3::QueueItem > > const &', 'o')])
3180
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::Cleanup() [member function]
3181
    cls.add_method('Cleanup', 
3182
                   'void', 
3183
                   [], 
3184
                   is_static=True)
3185
    return
3186
2656
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3187
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2657
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3188
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2658
    cls.add_constructor([])
3189
    cls.add_constructor([])
 Lines 2744-2749    Link Here 
2744
                   'ns3::Ptr< ns3::Node >', 
3275
                   'ns3::Ptr< ns3::Node >', 
2745
                   [], 
3276
                   [], 
2746
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3277
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3278
    ## socket.h (module 'network'): int ns3::Socket::GetPeerName(ns3::Address & address) const [member function]
3279
    cls.add_method('GetPeerName', 
3280
                   'int', 
3281
                   [param('ns3::Address &', 'address')], 
3282
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2747
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3283
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
2748
    cls.add_method('GetRxAvailable', 
3284
    cls.add_method('GetRxAvailable', 
2749
                   'uint32_t', 
3285
                   'uint32_t', 
 Lines 3011-3062    Link Here 
3011
                   visibility='protected')
3547
                   visibility='protected')
3012
    return
3548
    return
3013
3549
3014
def register_Ns3SocketAddressTag_methods(root_module, cls):
3015
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3016
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3017
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3018
    cls.add_constructor([])
3019
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3020
    cls.add_method('Deserialize', 
3021
                   'void', 
3022
                   [param('ns3::TagBuffer', 'i')], 
3023
                   is_virtual=True)
3024
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3025
    cls.add_method('GetAddress', 
3026
                   'ns3::Address', 
3027
                   [], 
3028
                   is_const=True)
3029
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3030
    cls.add_method('GetInstanceTypeId', 
3031
                   'ns3::TypeId', 
3032
                   [], 
3033
                   is_const=True, is_virtual=True)
3034
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3035
    cls.add_method('GetSerializedSize', 
3036
                   'uint32_t', 
3037
                   [], 
3038
                   is_const=True, is_virtual=True)
3039
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3040
    cls.add_method('GetTypeId', 
3041
                   'ns3::TypeId', 
3042
                   [], 
3043
                   is_static=True)
3044
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3045
    cls.add_method('Print', 
3046
                   'void', 
3047
                   [param('std::ostream &', 'os')], 
3048
                   is_const=True, is_virtual=True)
3049
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3050
    cls.add_method('Serialize', 
3051
                   'void', 
3052
                   [param('ns3::TagBuffer', 'i')], 
3053
                   is_const=True, is_virtual=True)
3054
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3055
    cls.add_method('SetAddress', 
3056
                   'void', 
3057
                   [param('ns3::Address', 'addr')])
3058
    return
3059
3060
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3550
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3061
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3551
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3062
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3552
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 3318-3323    Link Here 
3318
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3808
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3319
    return
3809
    return
3320
3810
3811
def register_Ns3TrafficControlLayer_methods(root_module, cls):
3812
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer::TrafficControlLayer() [constructor]
3813
    cls.add_constructor([])
3814
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DeleteRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3815
    cls.add_method('DeleteRootQueueDiscOnDevice', 
3816
                   'void', 
3817
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3818
                   is_virtual=True)
3819
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TypeId ns3::TrafficControlLayer::GetInstanceTypeId() const [member function]
3820
    cls.add_method('GetInstanceTypeId', 
3821
                   'ns3::TypeId', 
3822
                   [], 
3823
                   is_const=True, is_virtual=True)
3824
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
3825
    cls.add_method('GetRootQueueDiscOnDevice', 
3826
                   'ns3::Ptr< ns3::QueueDisc >', 
3827
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3828
                   is_const=True, is_virtual=True)
3829
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
3830
    cls.add_method('GetTypeId', 
3831
                   'ns3::TypeId', 
3832
                   [], 
3833
                   is_static=True)
3834
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
3835
    cls.add_method('Receive', 
3836
                   'void', 
3837
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')], 
3838
                   is_virtual=True)
3839
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device) [member function]
3840
    cls.add_method('RegisterProtocolHandler', 
3841
                   'void', 
3842
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device')])
3843
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Send(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3844
    cls.add_method('Send', 
3845
                   'void', 
3846
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3847
                   is_virtual=True)
3848
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3849
    cls.add_method('SetNode', 
3850
                   'void', 
3851
                   [param('ns3::Ptr< ns3::Node >', 'node')])
3852
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::QueueDisc> qDisc) [member function]
3853
    cls.add_method('SetRootQueueDiscOnDevice', 
3854
                   'void', 
3855
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDisc >', 'qDisc')], 
3856
                   is_virtual=True)
3857
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetupDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3858
    cls.add_method('SetupDevice', 
3859
                   'void', 
3860
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3861
                   is_virtual=True)
3862
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoDispose() [member function]
3863
    cls.add_method('DoDispose', 
3864
                   'void', 
3865
                   [], 
3866
                   visibility='protected', is_virtual=True)
3867
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoInitialize() [member function]
3868
    cls.add_method('DoInitialize', 
3869
                   'void', 
3870
                   [], 
3871
                   visibility='protected', is_virtual=True)
3872
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::NotifyNewAggregate() [member function]
3873
    cls.add_method('NotifyNewAggregate', 
3874
                   'void', 
3875
                   [], 
3876
                   visibility='protected', is_virtual=True)
3877
    return
3878
3321
def register_Ns3Trailer_methods(root_module, cls):
3879
def register_Ns3Trailer_methods(root_module, cls):
3322
    cls.add_output_stream_operator()
3880
    cls.add_output_stream_operator()
3323
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3881
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
 Lines 3442-3447    Link Here 
3442
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4000
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3443
    return
4001
    return
3444
4002
4003
def register_Ns3BooleanChecker_methods(root_module, cls):
4004
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
4005
    cls.add_constructor([])
4006
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
4007
    cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
4008
    return
4009
4010
def register_Ns3BooleanValue_methods(root_module, cls):
4011
    cls.add_output_stream_operator()
4012
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
4013
    cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
4014
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
4015
    cls.add_constructor([])
4016
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
4017
    cls.add_constructor([param('bool', 'value')])
4018
    ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
4019
    cls.add_method('Copy', 
4020
                   'ns3::Ptr< ns3::AttributeValue >', 
4021
                   [], 
4022
                   is_const=True, is_virtual=True)
4023
    ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4024
    cls.add_method('DeserializeFromString', 
4025
                   'bool', 
4026
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4027
                   is_virtual=True)
4028
    ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
4029
    cls.add_method('Get', 
4030
                   'bool', 
4031
                   [], 
4032
                   is_const=True)
4033
    ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4034
    cls.add_method('SerializeToString', 
4035
                   'std::string', 
4036
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4037
                   is_const=True, is_virtual=True)
4038
    ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
4039
    cls.add_method('Set', 
4040
                   'void', 
4041
                   [param('bool', 'value')])
4042
    return
4043
3445
def register_Ns3CallbackChecker_methods(root_module, cls):
4044
def register_Ns3CallbackChecker_methods(root_module, cls):
3446
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
4045
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3447
    cls.add_constructor([])
4046
    cls.add_constructor([])
 Lines 3499-3504    Link Here 
3499
                   [param('ns3::CallbackBase', 'base')])
4098
                   [param('ns3::CallbackBase', 'base')])
3500
    return
4099
    return
3501
4100
4101
def register_Ns3DoubleValue_methods(root_module, cls):
4102
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
4103
    cls.add_constructor([])
4104
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
4105
    cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
4106
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
4107
    cls.add_constructor([param('double const &', 'value')])
4108
    ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
4109
    cls.add_method('Copy', 
4110
                   'ns3::Ptr< ns3::AttributeValue >', 
4111
                   [], 
4112
                   is_const=True, is_virtual=True)
4113
    ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4114
    cls.add_method('DeserializeFromString', 
4115
                   'bool', 
4116
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4117
                   is_virtual=True)
4118
    ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
4119
    cls.add_method('Get', 
4120
                   'double', 
4121
                   [], 
4122
                   is_const=True)
4123
    ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4124
    cls.add_method('SerializeToString', 
4125
                   'std::string', 
4126
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4127
                   is_const=True, is_virtual=True)
4128
    ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
4129
    cls.add_method('Set', 
4130
                   'void', 
4131
                   [param('double const &', 'value')])
4132
    return
4133
3502
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4134
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3503
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4135
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3504
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4136
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
 Lines 3521-3526    Link Here 
3521
                   is_const=True, visibility='private', is_virtual=True)
4153
                   is_const=True, visibility='private', is_virtual=True)
3522
    return
4154
    return
3523
4155
4156
def register_Ns3EnumChecker_methods(root_module, cls):
4157
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
4158
    cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
4159
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
4160
    cls.add_constructor([])
4161
    ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function]
4162
    cls.add_method('Add', 
4163
                   'void', 
4164
                   [param('int', 'value'), param('std::string', 'name')])
4165
    ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function]
4166
    cls.add_method('AddDefault', 
4167
                   'void', 
4168
                   [param('int', 'value'), param('std::string', 'name')])
4169
    ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
4170
    cls.add_method('Check', 
4171
                   'bool', 
4172
                   [param('ns3::AttributeValue const &', 'value')], 
4173
                   is_const=True, is_virtual=True)
4174
    ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
4175
    cls.add_method('Copy', 
4176
                   'bool', 
4177
                   [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], 
4178
                   is_const=True, is_virtual=True)
4179
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
4180
    cls.add_method('Create', 
4181
                   'ns3::Ptr< ns3::AttributeValue >', 
4182
                   [], 
4183
                   is_const=True, is_virtual=True)
4184
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
4185
    cls.add_method('GetUnderlyingTypeInformation', 
4186
                   'std::string', 
4187
                   [], 
4188
                   is_const=True, is_virtual=True)
4189
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
4190
    cls.add_method('GetValueTypeName', 
4191
                   'std::string', 
4192
                   [], 
4193
                   is_const=True, is_virtual=True)
4194
    ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
4195
    cls.add_method('HasUnderlyingTypeInformation', 
4196
                   'bool', 
4197
                   [], 
4198
                   is_const=True, is_virtual=True)
4199
    return
4200
4201
def register_Ns3EnumValue_methods(root_module, cls):
4202
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
4203
    cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
4204
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
4205
    cls.add_constructor([])
4206
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor]
4207
    cls.add_constructor([param('int', 'value')])
4208
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
4209
    cls.add_method('Copy', 
4210
                   'ns3::Ptr< ns3::AttributeValue >', 
4211
                   [], 
4212
                   is_const=True, is_virtual=True)
4213
    ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4214
    cls.add_method('DeserializeFromString', 
4215
                   'bool', 
4216
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4217
                   is_virtual=True)
4218
    ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
4219
    cls.add_method('Get', 
4220
                   'int', 
4221
                   [], 
4222
                   is_const=True)
4223
    ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4224
    cls.add_method('SerializeToString', 
4225
                   'std::string', 
4226
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4227
                   is_const=True, is_virtual=True)
4228
    ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function]
4229
    cls.add_method('Set', 
4230
                   'void', 
4231
                   [param('int', 'value')])
4232
    return
4233
4234
def register_Ns3IntegerValue_methods(root_module, cls):
4235
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
4236
    cls.add_constructor([])
4237
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
4238
    cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4239
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4240
    cls.add_constructor([param('int64_t const &', 'value')])
4241
    ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4242
    cls.add_method('Copy', 
4243
                   'ns3::Ptr< ns3::AttributeValue >', 
4244
                   [], 
4245
                   is_const=True, is_virtual=True)
4246
    ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4247
    cls.add_method('DeserializeFromString', 
4248
                   'bool', 
4249
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4250
                   is_virtual=True)
4251
    ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4252
    cls.add_method('Get', 
4253
                   'int64_t', 
4254
                   [], 
4255
                   is_const=True)
4256
    ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4257
    cls.add_method('SerializeToString', 
4258
                   'std::string', 
4259
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4260
                   is_const=True, is_virtual=True)
4261
    ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4262
    cls.add_method('Set', 
4263
                   'void', 
4264
                   [param('int64_t const &', 'value')])
4265
    return
4266
3524
def register_Ns3Ipv4_methods(root_module, cls):
4267
def register_Ns3Ipv4_methods(root_module, cls):
3525
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4268
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
3526
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4269
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
 Lines 3827-3836    Link Here 
3827
    cls.add_method('RemoveAddress', 
4570
    cls.add_method('RemoveAddress', 
3828
                   'ns3::Ipv4InterfaceAddress', 
4571
                   'ns3::Ipv4InterfaceAddress', 
3829
                   [param('ns3::Ipv4Address', 'address')])
4572
                   [param('ns3::Ipv4Address', 'address')])
3830
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function]
4573
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function]
3831
    cls.add_method('Send', 
4574
    cls.add_method('Send', 
3832
                   'void', 
4575
                   'void', 
3833
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')])
4576
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')])
3834
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arpCache) [member function]
4577
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arpCache) [member function]
3835
    cls.add_method('SetArpCache', 
4578
    cls.add_method('SetArpCache', 
3836
                   'void', 
4579
                   'void', 
 Lines 3855-3860    Link Here 
3855
    cls.add_method('SetNode', 
4598
    cls.add_method('SetNode', 
3856
                   'void', 
4599
                   'void', 
3857
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4600
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4601
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr<ns3::TrafficControlLayer> tc) [member function]
4602
    cls.add_method('SetTrafficControl', 
4603
                   'void', 
4604
                   [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')])
3858
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function]
4605
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function]
3859
    cls.add_method('SetUp', 
4606
    cls.add_method('SetUp', 
3860
                   'void', 
4607
                   'void', 
 Lines 4181-4187    Link Here 
4181
    cls.add_constructor([])
4928
    cls.add_constructor([])
4182
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4929
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4183
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4930
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4184
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4931
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
4185
    cls.add_method('AddLinkChangeCallback', 
4932
    cls.add_method('AddLinkChangeCallback', 
4186
                   'void', 
4933
                   'void', 
4187
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
4934
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
 Lines 4308-4313    Link Here 
4308
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5055
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4309
    return
5056
    return
4310
5057
5058
def register_Ns3NetDeviceQueue_methods(root_module, cls):
5059
    ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue(ns3::NetDeviceQueue const & arg0) [copy constructor]
5060
    cls.add_constructor([param('ns3::NetDeviceQueue const &', 'arg0')])
5061
    ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue() [constructor]
5062
    cls.add_constructor([])
5063
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::HasWakeCallbackSet() const [member function]
5064
    cls.add_method('HasWakeCallbackSet', 
5065
                   'bool', 
5066
                   [], 
5067
                   is_const=True, is_virtual=True)
5068
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::IsStopped() const [member function]
5069
    cls.add_method('IsStopped', 
5070
                   'bool', 
5071
                   [], 
5072
                   is_const=True)
5073
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetWakeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5074
    cls.add_method('SetWakeCallback', 
5075
                   'void', 
5076
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5077
                   is_virtual=True)
5078
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Start() [member function]
5079
    cls.add_method('Start', 
5080
                   'void', 
5081
                   [], 
5082
                   is_virtual=True)
5083
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Stop() [member function]
5084
    cls.add_method('Stop', 
5085
                   'void', 
5086
                   [], 
5087
                   is_virtual=True)
5088
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Wake() [member function]
5089
    cls.add_method('Wake', 
5090
                   'void', 
5091
                   [], 
5092
                   is_virtual=True)
5093
    return
5094
5095
def register_Ns3NetDeviceQueueInterface_methods(root_module, cls):
5096
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface(ns3::NetDeviceQueueInterface const & arg0) [copy constructor]
5097
    cls.add_constructor([param('ns3::NetDeviceQueueInterface const &', 'arg0')])
5098
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface() [constructor]
5099
    cls.add_constructor([])
5100
    ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetSelectedQueue(ns3::Ptr<ns3::QueueItem> item) const [member function]
5101
    cls.add_method('GetSelectedQueue', 
5102
                   'uint8_t', 
5103
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
5104
                   is_const=True)
5105
    ## net-device.h (module 'network'): ns3::Ptr<ns3::NetDeviceQueue> ns3::NetDeviceQueueInterface::GetTxQueue(uint8_t i) const [member function]
5106
    cls.add_method('GetTxQueue', 
5107
                   'ns3::Ptr< ns3::NetDeviceQueue >', 
5108
                   [param('uint8_t', 'i')], 
5109
                   is_const=True)
5110
    ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetTxQueuesN() const [member function]
5111
    cls.add_method('GetTxQueuesN', 
5112
                   'uint8_t', 
5113
                   [], 
5114
                   is_const=True)
5115
    ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDeviceQueueInterface::GetTypeId() [member function]
5116
    cls.add_method('GetTypeId', 
5117
                   'ns3::TypeId', 
5118
                   [], 
5119
                   is_static=True)
5120
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5121
    cls.add_method('SetSelectQueueCallback', 
5122
                   'void', 
5123
                   [param('ns3::Callback< unsigned char, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
5124
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetTxQueuesN(uint8_t numTxQueues) [member function]
5125
    cls.add_method('SetTxQueuesN', 
5126
                   'void', 
5127
                   [param('uint8_t', 'numTxQueues')])
5128
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::DoDispose() [member function]
5129
    cls.add_method('DoDispose', 
5130
                   'void', 
5131
                   [], 
5132
                   visibility='protected', is_virtual=True)
5133
    return
5134
4311
def register_Ns3NixVector_methods(root_module, cls):
5135
def register_Ns3NixVector_methods(root_module, cls):
4312
    cls.add_output_stream_operator()
5136
    cls.add_output_stream_operator()
4313
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5137
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
 Lines 4352-4357    Link Here 
4352
                   is_const=True)
5176
                   is_const=True)
4353
    return
5177
    return
4354
5178
5179
def register_Ns3Node_methods(root_module, cls):
5180
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5181
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5182
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5183
    cls.add_constructor([])
5184
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5185
    cls.add_constructor([param('uint32_t', 'systemId')])
5186
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5187
    cls.add_method('AddApplication', 
5188
                   'uint32_t', 
5189
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5190
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5191
    cls.add_method('AddDevice', 
5192
                   'uint32_t', 
5193
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5194
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5195
    cls.add_method('ChecksumEnabled', 
5196
                   'bool', 
5197
                   [], 
5198
                   is_static=True)
5199
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5200
    cls.add_method('GetApplication', 
5201
                   'ns3::Ptr< ns3::Application >', 
5202
                   [param('uint32_t', 'index')], 
5203
                   is_const=True)
5204
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5205
    cls.add_method('GetDevice', 
5206
                   'ns3::Ptr< ns3::NetDevice >', 
5207
                   [param('uint32_t', 'index')], 
5208
                   is_const=True)
5209
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5210
    cls.add_method('GetId', 
5211
                   'uint32_t', 
5212
                   [], 
5213
                   is_const=True)
5214
    ## node.h (module 'network'): ns3::Time ns3::Node::GetLocalTime() const [member function]
5215
    cls.add_method('GetLocalTime', 
5216
                   'ns3::Time', 
5217
                   [], 
5218
                   is_const=True)
5219
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5220
    cls.add_method('GetNApplications', 
5221
                   'uint32_t', 
5222
                   [], 
5223
                   is_const=True)
5224
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5225
    cls.add_method('GetNDevices', 
5226
                   'uint32_t', 
5227
                   [], 
5228
                   is_const=True)
5229
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5230
    cls.add_method('GetSystemId', 
5231
                   'uint32_t', 
5232
                   [], 
5233
                   is_const=True)
5234
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5235
    cls.add_method('GetTypeId', 
5236
                   'ns3::TypeId', 
5237
                   [], 
5238
                   is_static=True)
5239
    ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
5240
    cls.add_method('RegisterDeviceAdditionListener', 
5241
                   'void', 
5242
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
5243
    ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
5244
    cls.add_method('RegisterProtocolHandler', 
5245
                   'void', 
5246
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
5247
    ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
5248
    cls.add_method('UnregisterDeviceAdditionListener', 
5249
                   'void', 
5250
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
5251
    ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5252
    cls.add_method('UnregisterProtocolHandler', 
5253
                   'void', 
5254
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
5255
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5256
    cls.add_method('DoDispose', 
5257
                   'void', 
5258
                   [], 
5259
                   visibility='protected', is_virtual=True)
5260
    ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
5261
    cls.add_method('DoInitialize', 
5262
                   'void', 
5263
                   [], 
5264
                   visibility='protected', is_virtual=True)
5265
    return
5266
4355
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5267
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
4356
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5268
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
4357
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5269
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
 Lines 4550-4555    Link Here 
4550
                   is_const=True)
5462
                   is_const=True)
4551
    return
5463
    return
4552
5464
5465
def register_Ns3QueueItem_methods(root_module, cls):
5466
    cls.add_output_stream_operator()
5467
    ## net-device.h (module 'network'): ns3::QueueItem::QueueItem(ns3::Ptr<ns3::Packet> p) [constructor]
5468
    cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p')])
5469
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::QueueItem::GetPacket() const [member function]
5470
    cls.add_method('GetPacket', 
5471
                   'ns3::Ptr< ns3::Packet >', 
5472
                   [], 
5473
                   is_const=True)
5474
    ## net-device.h (module 'network'): uint32_t ns3::QueueItem::GetPacketSize() const [member function]
5475
    cls.add_method('GetPacketSize', 
5476
                   'uint32_t', 
5477
                   [], 
5478
                   is_const=True, is_virtual=True)
5479
    ## net-device.h (module 'network'): void ns3::QueueItem::Print(std::ostream & os) const [member function]
5480
    cls.add_method('Print', 
5481
                   'void', 
5482
                   [param('std::ostream &', 'os')], 
5483
                   is_const=True, is_virtual=True)
5484
    return
5485
4553
def register_Ns3TypeIdChecker_methods(root_module, cls):
5486
def register_Ns3TypeIdChecker_methods(root_module, cls):
4554
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
5487
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4555
    cls.add_constructor([])
5488
    cls.add_constructor([])
 Lines 4590-4595    Link Here 
4590
                   [param('ns3::TypeId const &', 'value')])
5523
                   [param('ns3::TypeId const &', 'value')])
4591
    return
5524
    return
4592
5525
5526
def register_Ns3UintegerValue_methods(root_module, cls):
5527
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
5528
    cls.add_constructor([])
5529
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
5530
    cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
5531
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
5532
    cls.add_constructor([param('uint64_t const &', 'value')])
5533
    ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
5534
    cls.add_method('Copy', 
5535
                   'ns3::Ptr< ns3::AttributeValue >', 
5536
                   [], 
5537
                   is_const=True, is_virtual=True)
5538
    ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5539
    cls.add_method('DeserializeFromString', 
5540
                   'bool', 
5541
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5542
                   is_virtual=True)
5543
    ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
5544
    cls.add_method('Get', 
5545
                   'uint64_t', 
5546
                   [], 
5547
                   is_const=True)
5548
    ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5549
    cls.add_method('SerializeToString', 
5550
                   'std::string', 
5551
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5552
                   is_const=True, is_virtual=True)
5553
    ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
5554
    cls.add_method('Set', 
5555
                   'void', 
5556
                   [param('uint64_t const &', 'value')])
5557
    return
5558
4593
def register_Ns3AddressChecker_methods(root_module, cls):
5559
def register_Ns3AddressChecker_methods(root_module, cls):
4594
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
5560
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4595
    cls.add_constructor([])
5561
    cls.add_constructor([])
 Lines 4637-4642    Link Here 
4637
    cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')])
5603
    cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')])
4638
    return
5604
    return
4639
5605
5606
def register_Ns3QueueDiscItem_methods(root_module, cls):
5607
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem::QueueDiscItem(ns3::Ptr<ns3::Packet> p, ns3::Address const & addr, uint16_t protocol) [constructor]
5608
    cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Address const &', 'addr'), param('uint16_t', 'protocol')])
5609
    ## queue-disc.h (module 'traffic-control'): ns3::Address ns3::QueueDiscItem::GetAddress() const [member function]
5610
    cls.add_method('GetAddress', 
5611
                   'ns3::Address', 
5612
                   [], 
5613
                   is_const=True)
5614
    ## queue-disc.h (module 'traffic-control'): uint16_t ns3::QueueDiscItem::GetProtocol() const [member function]
5615
    cls.add_method('GetProtocol', 
5616
                   'uint16_t', 
5617
                   [], 
5618
                   is_const=True)
5619
    ## queue-disc.h (module 'traffic-control'): uint8_t ns3::QueueDiscItem::GetTxQueueIndex() const [member function]
5620
    cls.add_method('GetTxQueueIndex', 
5621
                   'uint8_t', 
5622
                   [], 
5623
                   is_const=True)
5624
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::SetTxQueueIndex(uint8_t txq) [member function]
5625
    cls.add_method('SetTxQueueIndex', 
5626
                   'void', 
5627
                   [param('uint8_t', 'txq')])
5628
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::AddHeader() [member function]
5629
    cls.add_method('AddHeader', 
5630
                   'void', 
5631
                   [], 
5632
                   is_pure_virtual=True, is_virtual=True)
5633
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::Print(std::ostream & os) const [member function]
5634
    cls.add_method('Print', 
5635
                   'void', 
5636
                   [param('std::ostream &', 'os')], 
5637
                   is_const=True, is_virtual=True)
5638
    return
5639
4640
def register_Ns3HashImplementation_methods(root_module, cls):
5640
def register_Ns3HashImplementation_methods(root_module, cls):
4641
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
5641
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
4642
    cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
5642
    cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
 Lines 4746-4751    Link Here 
4746
    module = root_module
5746
    module = root_module
4747
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
5747
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
4748
    register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
5748
    register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
5749
    register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module)
5750
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
4749
    return
5751
    return
4750
5752
4751
def register_functions_ns3_FatalImpl(module, root_module):
5753
def register_functions_ns3_FatalImpl(module, root_module):
 Lines 4758-4763    Link Here 
4758
def register_functions_ns3_Hash_Function(module, root_module):
5760
def register_functions_ns3_Hash_Function(module, root_module):
4759
    return
5761
    return
4760
5762
5763
def register_functions_ns3_TracedValueCallback(module, root_module):
5764
    return
5765
5766
def register_functions_ns3_internal(module, root_module):
5767
    return
5768
4761
def main():
5769
def main():
4762
    out = FileCodeSink(sys.stdout)
5770
    out = FileCodeSink(sys.stdout)
4763
    root_module = module_init()
5771
    root_module = module_init()
(-)a/src/click/bindings/modulegen__gcc_LP64.py (-52 / +1060 lines)
 Lines 112-117    Link Here 
112
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
112
    module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase'])
113
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
113
    ## tag-buffer.h (module 'network'): ns3::TagBuffer [class]
114
    module.add_class('TagBuffer', import_from_module='ns.network')
114
    module.add_class('TagBuffer', import_from_module='ns.network')
115
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
116
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
115
    ## type-id.h (module 'core'): ns3::TypeId [class]
117
    ## type-id.h (module 'core'): ns3::TypeId [class]
116
    module.add_class('TypeId', import_from_module='ns.core')
118
    module.add_class('TypeId', import_from_module='ns.core')
117
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
119
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
 Lines 136-141    Link Here 
136
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
138
    module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >'])
137
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
139
    ## object.h (module 'core'): ns3::Object::AggregateIterator [class]
138
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
140
    module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object'])
141
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter [class]
142
    module.add_class('PacketFilter', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
143
    ## queue.h (module 'network'): ns3::Queue [class]
144
    module.add_class('Queue', import_from_module='ns.network', parent=root_module['ns3::Object'])
145
    ## queue.h (module 'network'): ns3::Queue::QueueMode [enumeration]
146
    module.add_enum('QueueMode', ['QUEUE_MODE_PACKETS', 'QUEUE_MODE_BYTES'], outer_class=root_module['ns3::Queue'], import_from_module='ns.network')
147
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc [class]
148
    module.add_class('QueueDisc', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
149
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode [enumeration]
150
    module.add_enum('WakeMode', ['WAKE_ROOT', 'WAKE_CHILD'], outer_class=root_module['ns3::QueueDisc'], import_from_module='ns.traffic-control')
151
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass [class]
152
    module.add_class('QueueDiscClass', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
139
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
153
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> > [class]
140
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
154
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::AttributeAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
141
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
155
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> > [class]
 Lines 150-161    Link Here 
150
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
164
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4MulticastRoute>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
151
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
165
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> > [class]
152
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
166
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Ipv4Route>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
167
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> > [class]
168
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NetDeviceQueue', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NetDeviceQueue>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
153
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
169
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> > [class]
154
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
170
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter<ns3::NixVector>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
155
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
171
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> > [class]
156
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
172
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter<ns3::OutputStreamWrapper>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
157
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
173
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> > [class]
158
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
174
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter<ns3::Packet>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
175
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> > [class]
176
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::QueueItem', 'ns3::empty', 'ns3::DefaultDeleter<ns3::QueueItem>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
159
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
177
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> > [class]
160
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
178
    module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter<ns3::TraceSourceAccessor>'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount'))
161
    ## socket.h (module 'network'): ns3::Socket [class]
179
    ## socket.h (module 'network'): ns3::Socket [class]
 Lines 166-173    Link Here 
166
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
167
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
168
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
169
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
170
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
171
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
187
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
172
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
188
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
173
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
189
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 180-185    Link Here 
180
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
196
    module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
181
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
197
    ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class]
182
    module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
198
    module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
199
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer [class]
200
    module.add_class('TrafficControlLayer', import_from_module='ns.traffic_control', parent=root_module['ns3::Object'])
183
    ## trailer.h (module 'network'): ns3::Trailer [class]
201
    ## trailer.h (module 'network'): ns3::Trailer [class]
184
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
202
    module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk'])
185
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
203
    ## attribute.h (module 'core'): ns3::AttributeAccessor [class]
 Lines 188-201    Link Here 
188
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
206
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
189
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
207
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
190
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
208
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
209
    ## boolean.h (module 'core'): ns3::BooleanChecker [class]
210
    module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
211
    ## boolean.h (module 'core'): ns3::BooleanValue [class]
212
    module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
191
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
213
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
192
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
214
    module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
193
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
215
    ## callback.h (module 'core'): ns3::CallbackImplBase [class]
194
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
216
    module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter<ns3::CallbackImplBase> >'])
195
    ## callback.h (module 'core'): ns3::CallbackValue [class]
217
    ## callback.h (module 'core'): ns3::CallbackValue [class]
196
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
218
    module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
219
    ## double.h (module 'core'): ns3::DoubleValue [class]
220
    module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
197
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
221
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
198
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
222
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
223
    ## enum.h (module 'core'): ns3::EnumChecker [class]
224
    module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
225
    ## enum.h (module 'core'): ns3::EnumValue [class]
226
    module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
227
    ## integer.h (module 'core'): ns3::IntegerValue [class]
228
    module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
199
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
229
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
200
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
230
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
201
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
231
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
 Lines 232-255    Link Here 
232
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
262
    module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object'])
233
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
263
    ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration]
234
    module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
264
    module.add_enum('PacketType', ['PACKET_HOST', 'NS3_PACKET_HOST', 'PACKET_BROADCAST', 'NS3_PACKET_BROADCAST', 'PACKET_MULTICAST', 'NS3_PACKET_MULTICAST', 'PACKET_OTHERHOST', 'NS3_PACKET_OTHERHOST'], outer_class=root_module['ns3::NetDevice'], import_from_module='ns.network')
265
    ## net-device.h (module 'network'): ns3::NetDeviceQueue [class]
266
    module.add_class('NetDeviceQueue', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >'])
267
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface [class]
268
    module.add_class('NetDeviceQueueInterface', import_from_module='ns.network', parent=root_module['ns3::Object'])
235
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
269
    ## nix-vector.h (module 'network'): ns3::NixVector [class]
236
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
270
    module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
271
    ## node.h (module 'network'): ns3::Node [class]
272
    module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object'])
237
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
273
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class]
238
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
274
    module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
239
    ## packet.h (module 'network'): ns3::Packet [class]
275
    ## packet.h (module 'network'): ns3::Packet [class]
240
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
276
    module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
277
    ## net-device.h (module 'network'): ns3::QueueItem [class]
278
    module.add_class('QueueItem', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
241
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
279
    ## type-id.h (module 'core'): ns3::TypeIdChecker [class]
242
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
280
    module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
243
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
281
    ## type-id.h (module 'core'): ns3::TypeIdValue [class]
244
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
282
    module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
283
    ## uinteger.h (module 'core'): ns3::UintegerValue [class]
284
    module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
245
    ## address.h (module 'network'): ns3::AddressChecker [class]
285
    ## address.h (module 'network'): ns3::AddressChecker [class]
246
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
286
    module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker'])
247
    ## address.h (module 'network'): ns3::AddressValue [class]
287
    ## address.h (module 'network'): ns3::AddressValue [class]
248
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
288
    module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue'])
249
    ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
289
    ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class]
250
    module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
290
    module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol'])
291
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem [class]
292
    module.add_class('QueueDiscItem', import_from_module='ns.traffic_control', parent=root_module['ns3::QueueItem'])
251
    module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map')
293
    module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map')
252
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
294
    module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector')
295
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
253
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
296
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
254
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter')
297
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter')
255
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*')
298
    typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*')
 Lines 269-274    Link Here 
269
    nested_module = module.add_cpp_namespace('Hash')
312
    nested_module = module.add_cpp_namespace('Hash')
270
    register_types_ns3_Hash(nested_module)
313
    register_types_ns3_Hash(nested_module)
271
    
314
    
315
    
316
    ## Register a nested module for the namespace TracedValueCallback
317
    
318
    nested_module = module.add_cpp_namespace('TracedValueCallback')
319
    register_types_ns3_TracedValueCallback(nested_module)
320
    
321
    
322
    ## Register a nested module for the namespace internal
323
    
324
    nested_module = module.add_cpp_namespace('internal')
325
    register_types_ns3_internal(nested_module)
326
    
272
327
273
def register_types_ns3_FatalImpl(module):
328
def register_types_ns3_FatalImpl(module):
274
    root_module = module.get_root()
329
    root_module = module.get_root()
 Lines 304-309    Link Here 
304
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
359
    ## hash-murmur3.h (module 'core'): ns3::Hash::Function::Murmur3 [class]
305
    module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
360
    module.add_class('Murmur3', import_from_module='ns.core', parent=root_module['ns3::Hash::Implementation'])
306
361
362
def register_types_ns3_TracedValueCallback(module):
363
    root_module = module.get_root()
364
    
365
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8')
366
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*')
367
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&')
368
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
369
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
370
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
371
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
372
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
373
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
374
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
375
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
376
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
377
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool')
378
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*')
379
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&')
380
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16')
381
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*')
382
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&')
383
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
384
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
385
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
386
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
387
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
388
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
389
390
def register_types_ns3_internal(module):
391
    root_module = module.get_root()
392
    
393
307
def register_methods(root_module):
394
def register_methods(root_module):
308
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
395
    register_Ns3Address_methods(root_module, root_module['ns3::Address'])
309
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
396
    register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList'])
 Lines 341-346    Link Here 
341
    register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
428
    register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs'])
342
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
429
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
343
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
430
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
431
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
344
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
432
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
345
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
433
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
346
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
434
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
 Lines 350-355    Link Here 
350
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
438
    register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header'])
351
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
439
    register_Ns3Object_methods(root_module, root_module['ns3::Object'])
352
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
440
    register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator'])
441
    register_Ns3PacketFilter_methods(root_module, root_module['ns3::PacketFilter'])
442
    register_Ns3Queue_methods(root_module, root_module['ns3::Queue'])
443
    register_Ns3QueueDisc_methods(root_module, root_module['ns3::QueueDisc'])
444
    register_Ns3QueueDiscClass_methods(root_module, root_module['ns3::QueueDiscClass'])
353
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
445
    register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >'])
354
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
446
    register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
355
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
447
    register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
 Lines 357-382    Link Here 
357
    register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
449
    register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter<ns3::Hash::Implementation> >'])
358
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
450
    register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4MulticastRoute> >'])
359
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
451
    register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter<ns3::Ipv4Route> >'])
452
    register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >'])
360
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
453
    register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >'])
361
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
454
    register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter<ns3::OutputStreamWrapper> >'])
362
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
455
    register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter<ns3::Packet> >'])
456
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
363
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
457
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
364
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
458
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
365
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
366
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
459
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
367
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
460
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
368
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
461
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
369
    register_Ns3SocketIpv6TclassTag_methods(root_module, root_module['ns3::SocketIpv6TclassTag'])
462
    register_Ns3SocketIpv6TclassTag_methods(root_module, root_module['ns3::SocketIpv6TclassTag'])
370
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
463
    register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag'])
371
    register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
464
    register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor'])
465
    register_Ns3TrafficControlLayer_methods(root_module, root_module['ns3::TrafficControlLayer'])
372
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
466
    register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer'])
373
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
467
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
374
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
468
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
375
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
469
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
470
    register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
471
    register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
376
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
472
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
377
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
473
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
378
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
474
    register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue'])
475
    register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
379
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
476
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
477
    register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
478
    register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
479
    register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
380
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
480
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
381
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
481
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
382
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
482
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
 Lines 394-407    Link Here 
394
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
494
    register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker'])
395
    register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
495
    register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue'])
396
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
496
    register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice'])
497
    register_Ns3NetDeviceQueue_methods(root_module, root_module['ns3::NetDeviceQueue'])
498
    register_Ns3NetDeviceQueueInterface_methods(root_module, root_module['ns3::NetDeviceQueueInterface'])
397
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
499
    register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector'])
500
    register_Ns3Node_methods(root_module, root_module['ns3::Node'])
398
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
501
    register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper'])
399
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
502
    register_Ns3Packet_methods(root_module, root_module['ns3::Packet'])
503
    register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem'])
400
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
504
    register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker'])
401
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
505
    register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue'])
506
    register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue'])
402
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
507
    register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker'])
403
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
508
    register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue'])
404
    register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting'])
509
    register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting'])
510
    register_Ns3QueueDiscItem_methods(root_module, root_module['ns3::QueueDiscItem'])
405
    register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
511
    register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation'])
406
    register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
512
    register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a'])
407
    register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
513
    register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32'])
 Lines 2028-2033    Link Here 
2028
                   [param('uint8_t', 'v')])
2134
                   [param('uint8_t', 'v')])
2029
    return
2135
    return
2030
2136
2137
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
2138
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
2139
    cls.add_constructor([])
2140
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
2141
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
2142
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
2143
    cls.add_constructor([param('unsigned int const &', 'v')])
2144
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2145
    cls.add_method('Connect', 
2146
                   'void', 
2147
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2148
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2149
    cls.add_method('ConnectWithoutContext', 
2150
                   'void', 
2151
                   [param('ns3::CallbackBase const &', 'cb')])
2152
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
2153
    cls.add_method('Disconnect', 
2154
                   'void', 
2155
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
2156
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
2157
    cls.add_method('DisconnectWithoutContext', 
2158
                   'void', 
2159
                   [param('ns3::CallbackBase const &', 'cb')])
2160
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
2161
    cls.add_method('Get', 
2162
                   'unsigned int', 
2163
                   [], 
2164
                   is_const=True)
2165
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
2166
    cls.add_method('Set', 
2167
                   'void', 
2168
                   [param('unsigned int const &', 'v')])
2169
    return
2170
2031
def register_Ns3TypeId_methods(root_module, cls):
2171
def register_Ns3TypeId_methods(root_module, cls):
2032
    cls.add_binary_comparison_operator('<')
2172
    cls.add_binary_comparison_operator('<')
2033
    cls.add_binary_comparison_operator('!=')
2173
    cls.add_binary_comparison_operator('!=')
 Lines 2533-2538    Link Here 
2533
                   [])
2673
                   [])
2534
    return
2674
    return
2535
2675
2676
def register_Ns3PacketFilter_methods(root_module, cls):
2677
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter(ns3::PacketFilter const & arg0) [copy constructor]
2678
    cls.add_constructor([param('ns3::PacketFilter const &', 'arg0')])
2679
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter() [constructor]
2680
    cls.add_constructor([])
2681
    ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::Classify(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2682
    cls.add_method('Classify', 
2683
                   'int32_t', 
2684
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2685
                   is_const=True)
2686
    ## packet-filter.h (module 'traffic-control'): static ns3::TypeId ns3::PacketFilter::GetTypeId() [member function]
2687
    cls.add_method('GetTypeId', 
2688
                   'ns3::TypeId', 
2689
                   [], 
2690
                   is_static=True)
2691
    ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PF_NO_MATCH [variable]
2692
    cls.add_static_attribute('PF_NO_MATCH', 'int const', is_const=True)
2693
    ## packet-filter.h (module 'traffic-control'): bool ns3::PacketFilter::CheckProtocol(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2694
    cls.add_method('CheckProtocol', 
2695
                   'bool', 
2696
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2697
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2698
    ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::DoClassify(ns3::Ptr<ns3::QueueDiscItem> item) const [member function]
2699
    cls.add_method('DoClassify', 
2700
                   'int32_t', 
2701
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
2702
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2703
    return
2704
2705
def register_Ns3Queue_methods(root_module, cls):
2706
    ## queue.h (module 'network'): ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor]
2707
    cls.add_constructor([param('ns3::Queue const &', 'arg0')])
2708
    ## queue.h (module 'network'): ns3::Queue::Queue() [constructor]
2709
    cls.add_constructor([])
2710
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Dequeue() [member function]
2711
    cls.add_method('Dequeue', 
2712
                   'ns3::Ptr< ns3::QueueItem >', 
2713
                   [])
2714
    ## queue.h (module 'network'): void ns3::Queue::DequeueAll() [member function]
2715
    cls.add_method('DequeueAll', 
2716
                   'void', 
2717
                   [])
2718
    ## queue.h (module 'network'): bool ns3::Queue::Enqueue(ns3::Ptr<ns3::QueueItem> item) [member function]
2719
    cls.add_method('Enqueue', 
2720
                   'bool', 
2721
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')])
2722
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxBytes() const [member function]
2723
    cls.add_method('GetMaxBytes', 
2724
                   'uint32_t', 
2725
                   [], 
2726
                   is_const=True)
2727
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxPackets() const [member function]
2728
    cls.add_method('GetMaxPackets', 
2729
                   'uint32_t', 
2730
                   [], 
2731
                   is_const=True)
2732
    ## queue.h (module 'network'): ns3::Queue::QueueMode ns3::Queue::GetMode() const [member function]
2733
    cls.add_method('GetMode', 
2734
                   'ns3::Queue::QueueMode', 
2735
                   [], 
2736
                   is_const=True)
2737
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetNBytes() const [member function]
2738
    cls.add_method('GetNBytes', 
2739
                   'uint32_t', 
2740
                   [], 
2741
                   is_const=True)
2742
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetNPackets() const [member function]
2743
    cls.add_method('GetNPackets', 
2744
                   'uint32_t', 
2745
                   [], 
2746
                   is_const=True)
2747
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function]
2748
    cls.add_method('GetTotalDroppedBytes', 
2749
                   'uint32_t', 
2750
                   [], 
2751
                   is_const=True)
2752
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function]
2753
    cls.add_method('GetTotalDroppedPackets', 
2754
                   'uint32_t', 
2755
                   [], 
2756
                   is_const=True)
2757
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function]
2758
    cls.add_method('GetTotalReceivedBytes', 
2759
                   'uint32_t', 
2760
                   [], 
2761
                   is_const=True)
2762
    ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function]
2763
    cls.add_method('GetTotalReceivedPackets', 
2764
                   'uint32_t', 
2765
                   [], 
2766
                   is_const=True)
2767
    ## queue.h (module 'network'): static ns3::TypeId ns3::Queue::GetTypeId() [member function]
2768
    cls.add_method('GetTypeId', 
2769
                   'ns3::TypeId', 
2770
                   [], 
2771
                   is_static=True)
2772
    ## queue.h (module 'network'): bool ns3::Queue::IsEmpty() const [member function]
2773
    cls.add_method('IsEmpty', 
2774
                   'bool', 
2775
                   [], 
2776
                   is_const=True)
2777
    ## queue.h (module 'network'): ns3::Ptr<const ns3::QueueItem> ns3::Queue::Peek() const [member function]
2778
    cls.add_method('Peek', 
2779
                   'ns3::Ptr< ns3::QueueItem const >', 
2780
                   [], 
2781
                   is_const=True)
2782
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
2783
    cls.add_method('Remove', 
2784
                   'ns3::Ptr< ns3::QueueItem >', 
2785
                   [])
2786
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
2787
    cls.add_method('ResetStatistics', 
2788
                   'void', 
2789
                   [])
2790
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2791
    cls.add_method('SetDropCallback', 
2792
                   'void', 
2793
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
2794
                   is_virtual=True)
2795
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
2796
    cls.add_method('SetMaxBytes', 
2797
                   'void', 
2798
                   [param('uint32_t', 'maxBytes')])
2799
    ## queue.h (module 'network'): void ns3::Queue::SetMaxPackets(uint32_t maxPackets) [member function]
2800
    cls.add_method('SetMaxPackets', 
2801
                   'void', 
2802
                   [param('uint32_t', 'maxPackets')])
2803
    ## queue.h (module 'network'): void ns3::Queue::SetMode(ns3::Queue::QueueMode mode) [member function]
2804
    cls.add_method('SetMode', 
2805
                   'void', 
2806
                   [param('ns3::Queue::QueueMode', 'mode')])
2807
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
2808
    cls.add_method('Drop', 
2809
                   'void', 
2810
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2811
                   visibility='protected')
2812
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
2813
    cls.add_method('DoDequeue', 
2814
                   'ns3::Ptr< ns3::QueueItem >', 
2815
                   [], 
2816
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2817
    ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr<ns3::QueueItem> item) [member function]
2818
    cls.add_method('DoEnqueue', 
2819
                   'bool', 
2820
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2821
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2822
    ## queue.h (module 'network'): ns3::Ptr<const ns3::QueueItem> ns3::Queue::DoPeek() const [member function]
2823
    cls.add_method('DoPeek', 
2824
                   'ns3::Ptr< ns3::QueueItem const >', 
2825
                   [], 
2826
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
2827
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
2828
    cls.add_method('DoRemove', 
2829
                   'ns3::Ptr< ns3::QueueItem >', 
2830
                   [], 
2831
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2832
    return
2833
2834
def register_Ns3QueueDisc_methods(root_module, cls):
2835
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc(ns3::QueueDisc const & arg0) [copy constructor]
2836
    cls.add_constructor([param('ns3::QueueDisc const &', 'arg0')])
2837
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc() [constructor]
2838
    cls.add_constructor([])
2839
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddInternalQueue(ns3::Ptr<ns3::Queue> queue) [member function]
2840
    cls.add_method('AddInternalQueue', 
2841
                   'void', 
2842
                   [param('ns3::Ptr< ns3::Queue >', 'queue')])
2843
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddPacketFilter(ns3::Ptr<ns3::PacketFilter> filter) [member function]
2844
    cls.add_method('AddPacketFilter', 
2845
                   'void', 
2846
                   [param('ns3::Ptr< ns3::PacketFilter >', 'filter')])
2847
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddQueueDiscClass(ns3::Ptr<ns3::QueueDiscClass> qdClass) [member function]
2848
    cls.add_method('AddQueueDiscClass', 
2849
                   'void', 
2850
                   [param('ns3::Ptr< ns3::QueueDiscClass >', 'qdClass')])
2851
    ## queue-disc.h (module 'traffic-control'): int32_t ns3::QueueDisc::Classify(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
2852
    cls.add_method('Classify', 
2853
                   'int32_t', 
2854
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')])
2855
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscItem> ns3::QueueDisc::Dequeue() [member function]
2856
    cls.add_method('Dequeue', 
2857
                   'ns3::Ptr< ns3::QueueDiscItem >', 
2858
                   [])
2859
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::Enqueue(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
2860
    cls.add_method('Enqueue', 
2861
                   'bool', 
2862
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')])
2863
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::Queue> ns3::QueueDisc::GetInternalQueue(uint32_t i) const [member function]
2864
    cls.add_method('GetInternalQueue', 
2865
                   'ns3::Ptr< ns3::Queue >', 
2866
                   [param('uint32_t', 'i')], 
2867
                   is_const=True)
2868
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNBytes() const [member function]
2869
    cls.add_method('GetNBytes', 
2870
                   'uint32_t', 
2871
                   [], 
2872
                   is_const=True)
2873
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNInternalQueues() const [member function]
2874
    cls.add_method('GetNInternalQueues', 
2875
                   'uint32_t', 
2876
                   [], 
2877
                   is_const=True)
2878
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPacketFilters() const [member function]
2879
    cls.add_method('GetNPacketFilters', 
2880
                   'uint32_t', 
2881
                   [], 
2882
                   is_const=True)
2883
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPackets() const [member function]
2884
    cls.add_method('GetNPackets', 
2885
                   'uint32_t', 
2886
                   [], 
2887
                   is_const=True)
2888
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNQueueDiscClasses() const [member function]
2889
    cls.add_method('GetNQueueDiscClasses', 
2890
                   'uint32_t', 
2891
                   [], 
2892
                   is_const=True)
2893
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::NetDevice> ns3::QueueDisc::GetNetDevice() const [member function]
2894
    cls.add_method('GetNetDevice', 
2895
                   'ns3::Ptr< ns3::NetDevice >', 
2896
                   [], 
2897
                   is_const=True)
2898
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::PacketFilter> ns3::QueueDisc::GetPacketFilter(uint32_t i) const [member function]
2899
    cls.add_method('GetPacketFilter', 
2900
                   'ns3::Ptr< ns3::PacketFilter >', 
2901
                   [param('uint32_t', 'i')], 
2902
                   is_const=True)
2903
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscClass> ns3::QueueDisc::GetQueueDiscClass(uint32_t i) const [member function]
2904
    cls.add_method('GetQueueDiscClass', 
2905
                   'ns3::Ptr< ns3::QueueDiscClass >', 
2906
                   [param('uint32_t', 'i')], 
2907
                   is_const=True)
2908
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetQuota() const [member function]
2909
    cls.add_method('GetQuota', 
2910
                   'uint32_t', 
2911
                   [], 
2912
                   is_const=True, is_virtual=True)
2913
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedBytes() const [member function]
2914
    cls.add_method('GetTotalDroppedBytes', 
2915
                   'uint32_t', 
2916
                   [], 
2917
                   is_const=True)
2918
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedPackets() const [member function]
2919
    cls.add_method('GetTotalDroppedPackets', 
2920
                   'uint32_t', 
2921
                   [], 
2922
                   is_const=True)
2923
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedBytes() const [member function]
2924
    cls.add_method('GetTotalReceivedBytes', 
2925
                   'uint32_t', 
2926
                   [], 
2927
                   is_const=True)
2928
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedPackets() const [member function]
2929
    cls.add_method('GetTotalReceivedPackets', 
2930
                   'uint32_t', 
2931
                   [], 
2932
                   is_const=True)
2933
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedBytes() const [member function]
2934
    cls.add_method('GetTotalRequeuedBytes', 
2935
                   'uint32_t', 
2936
                   [], 
2937
                   is_const=True)
2938
    ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedPackets() const [member function]
2939
    cls.add_method('GetTotalRequeuedPackets', 
2940
                   'uint32_t', 
2941
                   [], 
2942
                   is_const=True)
2943
    ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDisc::GetTypeId() [member function]
2944
    cls.add_method('GetTypeId', 
2945
                   'ns3::TypeId', 
2946
                   [], 
2947
                   is_static=True)
2948
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode ns3::QueueDisc::GetWakeMode() [member function]
2949
    cls.add_method('GetWakeMode', 
2950
                   'ns3::QueueDisc::WakeMode', 
2951
                   [])
2952
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<const ns3::QueueDiscItem> ns3::QueueDisc::Peek() const [member function]
2953
    cls.add_method('Peek', 
2954
                   'ns3::Ptr< ns3::QueueDiscItem const >', 
2955
                   [], 
2956
                   is_const=True)
2957
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Run() [member function]
2958
    cls.add_method('Run', 
2959
                   'void', 
2960
                   [])
2961
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetNetDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
2962
    cls.add_method('SetNetDevice', 
2963
                   'void', 
2964
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
2965
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2966
    cls.add_method('SetParentDropCallback', 
2967
                   'void', 
2968
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
2969
                   is_virtual=True)
2970
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
2971
    cls.add_method('SetQuota', 
2972
                   'void', 
2973
                   [param('uint32_t const', 'quota')], 
2974
                   is_virtual=True)
2975
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoDispose() [member function]
2976
    cls.add_method('DoDispose', 
2977
                   'void', 
2978
                   [], 
2979
                   visibility='protected', is_virtual=True)
2980
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoInitialize() [member function]
2981
    cls.add_method('DoInitialize', 
2982
                   'void', 
2983
                   [], 
2984
                   visibility='protected', is_virtual=True)
2985
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
2986
    cls.add_method('Drop', 
2987
                   'void', 
2988
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
2989
                   visibility='protected')
2990
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
2991
    cls.add_method('CheckConfig', 
2992
                   'bool', 
2993
                   [], 
2994
                   is_pure_virtual=True, visibility='private', is_virtual=True)
2995
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDiscItem> ns3::QueueDisc::DoDequeue() [member function]
2996
    cls.add_method('DoDequeue', 
2997
                   'ns3::Ptr< ns3::QueueDiscItem >', 
2998
                   [], 
2999
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3000
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::DoEnqueue(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3001
    cls.add_method('DoEnqueue', 
3002
                   'bool', 
3003
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3004
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3005
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<const ns3::QueueDiscItem> ns3::QueueDisc::DoPeek() const [member function]
3006
    cls.add_method('DoPeek', 
3007
                   'ns3::Ptr< ns3::QueueDiscItem const >', 
3008
                   [], 
3009
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3010
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::InitializeParams() [member function]
3011
    cls.add_method('InitializeParams', 
3012
                   'void', 
3013
                   [], 
3014
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3015
    return
3016
3017
def register_Ns3QueueDiscClass_methods(root_module, cls):
3018
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass(ns3::QueueDiscClass const & arg0) [copy constructor]
3019
    cls.add_constructor([param('ns3::QueueDiscClass const &', 'arg0')])
3020
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass() [constructor]
3021
    cls.add_constructor([])
3022
    ## queue-disc.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::QueueDiscClass::GetQueueDisc() const [member function]
3023
    cls.add_method('GetQueueDisc', 
3024
                   'ns3::Ptr< ns3::QueueDisc >', 
3025
                   [], 
3026
                   is_const=True)
3027
    ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDiscClass::GetTypeId() [member function]
3028
    cls.add_method('GetTypeId', 
3029
                   'ns3::TypeId', 
3030
                   [], 
3031
                   is_static=True)
3032
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::SetQueueDisc(ns3::Ptr<ns3::QueueDisc> qd) [member function]
3033
    cls.add_method('SetQueueDisc', 
3034
                   'void', 
3035
                   [param('ns3::Ptr< ns3::QueueDisc >', 'qd')])
3036
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::DoDispose() [member function]
3037
    cls.add_method('DoDispose', 
3038
                   'void', 
3039
                   [], 
3040
                   visibility='protected', is_virtual=True)
3041
    return
3042
2536
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
3043
def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls):
2537
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
3044
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter<ns3::AttributeAccessor> >::SimpleRefCount() [constructor]
2538
    cls.add_constructor([])
3045
    cls.add_constructor([])
 Lines 2617-2622    Link Here 
2617
                   is_static=True)
3124
                   is_static=True)
2618
    return
3125
    return
2619
3126
3127
def register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, cls):
3128
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::SimpleRefCount() [constructor]
3129
    cls.add_constructor([])
3130
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::SimpleRefCount(ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> > const & o) [copy constructor]
3131
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter< ns3::NetDeviceQueue > > const &', 'o')])
3132
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter<ns3::NetDeviceQueue> >::Cleanup() [member function]
3133
    cls.add_method('Cleanup', 
3134
                   'void', 
3135
                   [], 
3136
                   is_static=True)
3137
    return
3138
2620
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
3139
def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls):
2621
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
3140
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::NixVector, ns3::empty, ns3::DefaultDeleter<ns3::NixVector> >::SimpleRefCount() [constructor]
2622
    cls.add_constructor([])
3141
    cls.add_constructor([])
 Lines 2653-2658    Link Here 
2653
                   is_static=True)
3172
                   is_static=True)
2654
    return
3173
    return
2655
3174
3175
def register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, cls):
3176
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::SimpleRefCount() [constructor]
3177
    cls.add_constructor([])
3178
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::SimpleRefCount(ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> > const & o) [copy constructor]
3179
    cls.add_constructor([param('ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter< ns3::QueueItem > > const &', 'o')])
3180
    ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount<ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >::Cleanup() [member function]
3181
    cls.add_method('Cleanup', 
3182
                   'void', 
3183
                   [], 
3184
                   is_static=True)
3185
    return
3186
2656
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
3187
def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls):
2657
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
3188
    ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount<ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >::SimpleRefCount() [constructor]
2658
    cls.add_constructor([])
3189
    cls.add_constructor([])
 Lines 2744-2749    Link Here 
2744
                   'ns3::Ptr< ns3::Node >', 
3275
                   'ns3::Ptr< ns3::Node >', 
2745
                   [], 
3276
                   [], 
2746
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3277
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3278
    ## socket.h (module 'network'): int ns3::Socket::GetPeerName(ns3::Address & address) const [member function]
3279
    cls.add_method('GetPeerName', 
3280
                   'int', 
3281
                   [param('ns3::Address &', 'address')], 
3282
                   is_pure_virtual=True, is_const=True, is_virtual=True)
2747
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
3283
    ## socket.h (module 'network'): uint32_t ns3::Socket::GetRxAvailable() const [member function]
2748
    cls.add_method('GetRxAvailable', 
3284
    cls.add_method('GetRxAvailable', 
2749
                   'uint32_t', 
3285
                   'uint32_t', 
 Lines 3011-3062    Link Here 
3011
                   visibility='protected')
3547
                   visibility='protected')
3012
    return
3548
    return
3013
3549
3014
def register_Ns3SocketAddressTag_methods(root_module, cls):
3015
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3016
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3017
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3018
    cls.add_constructor([])
3019
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3020
    cls.add_method('Deserialize', 
3021
                   'void', 
3022
                   [param('ns3::TagBuffer', 'i')], 
3023
                   is_virtual=True)
3024
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3025
    cls.add_method('GetAddress', 
3026
                   'ns3::Address', 
3027
                   [], 
3028
                   is_const=True)
3029
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3030
    cls.add_method('GetInstanceTypeId', 
3031
                   'ns3::TypeId', 
3032
                   [], 
3033
                   is_const=True, is_virtual=True)
3034
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3035
    cls.add_method('GetSerializedSize', 
3036
                   'uint32_t', 
3037
                   [], 
3038
                   is_const=True, is_virtual=True)
3039
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3040
    cls.add_method('GetTypeId', 
3041
                   'ns3::TypeId', 
3042
                   [], 
3043
                   is_static=True)
3044
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3045
    cls.add_method('Print', 
3046
                   'void', 
3047
                   [param('std::ostream &', 'os')], 
3048
                   is_const=True, is_virtual=True)
3049
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3050
    cls.add_method('Serialize', 
3051
                   'void', 
3052
                   [param('ns3::TagBuffer', 'i')], 
3053
                   is_const=True, is_virtual=True)
3054
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3055
    cls.add_method('SetAddress', 
3056
                   'void', 
3057
                   [param('ns3::Address', 'addr')])
3058
    return
3059
3060
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3550
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3061
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3551
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3062
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3552
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 3318-3323    Link Here 
3318
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3808
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3319
    return
3809
    return
3320
3810
3811
def register_Ns3TrafficControlLayer_methods(root_module, cls):
3812
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer::TrafficControlLayer() [constructor]
3813
    cls.add_constructor([])
3814
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DeleteRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3815
    cls.add_method('DeleteRootQueueDiscOnDevice', 
3816
                   'void', 
3817
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3818
                   is_virtual=True)
3819
    ## traffic-control-layer.h (module 'traffic-control'): ns3::TypeId ns3::TrafficControlLayer::GetInstanceTypeId() const [member function]
3820
    cls.add_method('GetInstanceTypeId', 
3821
                   'ns3::TypeId', 
3822
                   [], 
3823
                   is_const=True, is_virtual=True)
3824
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
3825
    cls.add_method('GetRootQueueDiscOnDevice', 
3826
                   'ns3::Ptr< ns3::QueueDisc >', 
3827
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3828
                   is_const=True, is_virtual=True)
3829
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
3830
    cls.add_method('GetTypeId', 
3831
                   'ns3::TypeId', 
3832
                   [], 
3833
                   is_static=True)
3834
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Receive(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<const ns3::Packet> p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function]
3835
    cls.add_method('Receive', 
3836
                   'void', 
3837
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'p'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'from'), param('ns3::Address const &', 'to'), param('ns3::NetDevice::PacketType', 'packetType')], 
3838
                   is_virtual=True)
3839
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device) [member function]
3840
    cls.add_method('RegisterProtocolHandler', 
3841
                   'void', 
3842
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device')])
3843
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Send(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3844
    cls.add_method('Send', 
3845
                   'void', 
3846
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3847
                   is_virtual=True)
3848
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetNode(ns3::Ptr<ns3::Node> node) [member function]
3849
    cls.add_method('SetNode', 
3850
                   'void', 
3851
                   [param('ns3::Ptr< ns3::Node >', 'node')])
3852
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device, ns3::Ptr<ns3::QueueDisc> qDisc) [member function]
3853
    cls.add_method('SetRootQueueDiscOnDevice', 
3854
                   'void', 
3855
                   [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDisc >', 'qDisc')], 
3856
                   is_virtual=True)
3857
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetupDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
3858
    cls.add_method('SetupDevice', 
3859
                   'void', 
3860
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
3861
                   is_virtual=True)
3862
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoDispose() [member function]
3863
    cls.add_method('DoDispose', 
3864
                   'void', 
3865
                   [], 
3866
                   visibility='protected', is_virtual=True)
3867
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoInitialize() [member function]
3868
    cls.add_method('DoInitialize', 
3869
                   'void', 
3870
                   [], 
3871
                   visibility='protected', is_virtual=True)
3872
    ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::NotifyNewAggregate() [member function]
3873
    cls.add_method('NotifyNewAggregate', 
3874
                   'void', 
3875
                   [], 
3876
                   visibility='protected', is_virtual=True)
3877
    return
3878
3321
def register_Ns3Trailer_methods(root_module, cls):
3879
def register_Ns3Trailer_methods(root_module, cls):
3322
    cls.add_output_stream_operator()
3880
    cls.add_output_stream_operator()
3323
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
3881
    ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor]
 Lines 3442-3447    Link Here 
3442
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4000
                   is_pure_virtual=True, is_const=True, is_virtual=True)
3443
    return
4001
    return
3444
4002
4003
def register_Ns3BooleanChecker_methods(root_module, cls):
4004
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
4005
    cls.add_constructor([])
4006
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
4007
    cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
4008
    return
4009
4010
def register_Ns3BooleanValue_methods(root_module, cls):
4011
    cls.add_output_stream_operator()
4012
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
4013
    cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
4014
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
4015
    cls.add_constructor([])
4016
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
4017
    cls.add_constructor([param('bool', 'value')])
4018
    ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
4019
    cls.add_method('Copy', 
4020
                   'ns3::Ptr< ns3::AttributeValue >', 
4021
                   [], 
4022
                   is_const=True, is_virtual=True)
4023
    ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4024
    cls.add_method('DeserializeFromString', 
4025
                   'bool', 
4026
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4027
                   is_virtual=True)
4028
    ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
4029
    cls.add_method('Get', 
4030
                   'bool', 
4031
                   [], 
4032
                   is_const=True)
4033
    ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4034
    cls.add_method('SerializeToString', 
4035
                   'std::string', 
4036
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4037
                   is_const=True, is_virtual=True)
4038
    ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
4039
    cls.add_method('Set', 
4040
                   'void', 
4041
                   [param('bool', 'value')])
4042
    return
4043
3445
def register_Ns3CallbackChecker_methods(root_module, cls):
4044
def register_Ns3CallbackChecker_methods(root_module, cls):
3446
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
4045
    ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor]
3447
    cls.add_constructor([])
4046
    cls.add_constructor([])
 Lines 3499-3504    Link Here 
3499
                   [param('ns3::CallbackBase', 'base')])
4098
                   [param('ns3::CallbackBase', 'base')])
3500
    return
4099
    return
3501
4100
4101
def register_Ns3DoubleValue_methods(root_module, cls):
4102
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
4103
    cls.add_constructor([])
4104
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
4105
    cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
4106
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
4107
    cls.add_constructor([param('double const &', 'value')])
4108
    ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
4109
    cls.add_method('Copy', 
4110
                   'ns3::Ptr< ns3::AttributeValue >', 
4111
                   [], 
4112
                   is_const=True, is_virtual=True)
4113
    ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4114
    cls.add_method('DeserializeFromString', 
4115
                   'bool', 
4116
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4117
                   is_virtual=True)
4118
    ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
4119
    cls.add_method('Get', 
4120
                   'double', 
4121
                   [], 
4122
                   is_const=True)
4123
    ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4124
    cls.add_method('SerializeToString', 
4125
                   'std::string', 
4126
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4127
                   is_const=True, is_virtual=True)
4128
    ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
4129
    cls.add_method('Set', 
4130
                   'void', 
4131
                   [param('double const &', 'value')])
4132
    return
4133
3502
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
4134
def register_Ns3EmptyAttributeValue_methods(root_module, cls):
3503
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
4135
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor]
3504
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
4136
    cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')])
 Lines 3521-3526    Link Here 
3521
                   is_const=True, visibility='private', is_virtual=True)
4153
                   is_const=True, visibility='private', is_virtual=True)
3522
    return
4154
    return
3523
4155
4156
def register_Ns3EnumChecker_methods(root_module, cls):
4157
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
4158
    cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
4159
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
4160
    cls.add_constructor([])
4161
    ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function]
4162
    cls.add_method('Add', 
4163
                   'void', 
4164
                   [param('int', 'value'), param('std::string', 'name')])
4165
    ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function]
4166
    cls.add_method('AddDefault', 
4167
                   'void', 
4168
                   [param('int', 'value'), param('std::string', 'name')])
4169
    ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
4170
    cls.add_method('Check', 
4171
                   'bool', 
4172
                   [param('ns3::AttributeValue const &', 'value')], 
4173
                   is_const=True, is_virtual=True)
4174
    ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
4175
    cls.add_method('Copy', 
4176
                   'bool', 
4177
                   [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], 
4178
                   is_const=True, is_virtual=True)
4179
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
4180
    cls.add_method('Create', 
4181
                   'ns3::Ptr< ns3::AttributeValue >', 
4182
                   [], 
4183
                   is_const=True, is_virtual=True)
4184
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
4185
    cls.add_method('GetUnderlyingTypeInformation', 
4186
                   'std::string', 
4187
                   [], 
4188
                   is_const=True, is_virtual=True)
4189
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
4190
    cls.add_method('GetValueTypeName', 
4191
                   'std::string', 
4192
                   [], 
4193
                   is_const=True, is_virtual=True)
4194
    ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
4195
    cls.add_method('HasUnderlyingTypeInformation', 
4196
                   'bool', 
4197
                   [], 
4198
                   is_const=True, is_virtual=True)
4199
    return
4200
4201
def register_Ns3EnumValue_methods(root_module, cls):
4202
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
4203
    cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
4204
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
4205
    cls.add_constructor([])
4206
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor]
4207
    cls.add_constructor([param('int', 'value')])
4208
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
4209
    cls.add_method('Copy', 
4210
                   'ns3::Ptr< ns3::AttributeValue >', 
4211
                   [], 
4212
                   is_const=True, is_virtual=True)
4213
    ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4214
    cls.add_method('DeserializeFromString', 
4215
                   'bool', 
4216
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4217
                   is_virtual=True)
4218
    ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
4219
    cls.add_method('Get', 
4220
                   'int', 
4221
                   [], 
4222
                   is_const=True)
4223
    ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4224
    cls.add_method('SerializeToString', 
4225
                   'std::string', 
4226
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4227
                   is_const=True, is_virtual=True)
4228
    ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function]
4229
    cls.add_method('Set', 
4230
                   'void', 
4231
                   [param('int', 'value')])
4232
    return
4233
4234
def register_Ns3IntegerValue_methods(root_module, cls):
4235
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
4236
    cls.add_constructor([])
4237
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
4238
    cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
4239
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
4240
    cls.add_constructor([param('int64_t const &', 'value')])
4241
    ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
4242
    cls.add_method('Copy', 
4243
                   'ns3::Ptr< ns3::AttributeValue >', 
4244
                   [], 
4245
                   is_const=True, is_virtual=True)
4246
    ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
4247
    cls.add_method('DeserializeFromString', 
4248
                   'bool', 
4249
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4250
                   is_virtual=True)
4251
    ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
4252
    cls.add_method('Get', 
4253
                   'int64_t', 
4254
                   [], 
4255
                   is_const=True)
4256
    ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
4257
    cls.add_method('SerializeToString', 
4258
                   'std::string', 
4259
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
4260
                   is_const=True, is_virtual=True)
4261
    ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
4262
    cls.add_method('Set', 
4263
                   'void', 
4264
                   [param('int64_t const &', 'value')])
4265
    return
4266
3524
def register_Ns3Ipv4_methods(root_module, cls):
4267
def register_Ns3Ipv4_methods(root_module, cls):
3525
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
4268
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
3526
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
4269
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
 Lines 3827-3836    Link Here 
3827
    cls.add_method('RemoveAddress', 
4570
    cls.add_method('RemoveAddress', 
3828
                   'ns3::Ipv4InterfaceAddress', 
4571
                   'ns3::Ipv4InterfaceAddress', 
3829
                   [param('ns3::Ipv4Address', 'address')])
4572
                   [param('ns3::Ipv4Address', 'address')])
3830
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Address dest) [member function]
4573
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr<ns3::Packet> p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function]
3831
    cls.add_method('Send', 
4574
    cls.add_method('Send', 
3832
                   'void', 
4575
                   'void', 
3833
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')])
4576
                   [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')])
3834
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arpCache) [member function]
4577
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr<ns3::ArpCache> arpCache) [member function]
3835
    cls.add_method('SetArpCache', 
4578
    cls.add_method('SetArpCache', 
3836
                   'void', 
4579
                   'void', 
 Lines 3855-3860    Link Here 
3855
    cls.add_method('SetNode', 
4598
    cls.add_method('SetNode', 
3856
                   'void', 
4599
                   'void', 
3857
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4600
                   [param('ns3::Ptr< ns3::Node >', 'node')])
4601
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr<ns3::TrafficControlLayer> tc) [member function]
4602
    cls.add_method('SetTrafficControl', 
4603
                   'void', 
4604
                   [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')])
3858
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function]
4605
    ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function]
3859
    cls.add_method('SetUp', 
4606
    cls.add_method('SetUp', 
3860
                   'void', 
4607
                   'void', 
 Lines 4181-4187    Link Here 
4181
    cls.add_constructor([])
4928
    cls.add_constructor([])
4182
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4929
    ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor]
4183
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4930
    cls.add_constructor([param('ns3::NetDevice const &', 'arg0')])
4184
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
4931
    ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function]
4185
    cls.add_method('AddLinkChangeCallback', 
4932
    cls.add_method('AddLinkChangeCallback', 
4186
                   'void', 
4933
                   'void', 
4187
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
4934
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
 Lines 4308-4313    Link Here 
4308
                   is_pure_virtual=True, is_const=True, is_virtual=True)
5055
                   is_pure_virtual=True, is_const=True, is_virtual=True)
4309
    return
5056
    return
4310
5057
5058
def register_Ns3NetDeviceQueue_methods(root_module, cls):
5059
    ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue(ns3::NetDeviceQueue const & arg0) [copy constructor]
5060
    cls.add_constructor([param('ns3::NetDeviceQueue const &', 'arg0')])
5061
    ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue() [constructor]
5062
    cls.add_constructor([])
5063
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::HasWakeCallbackSet() const [member function]
5064
    cls.add_method('HasWakeCallbackSet', 
5065
                   'bool', 
5066
                   [], 
5067
                   is_const=True, is_virtual=True)
5068
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::IsStopped() const [member function]
5069
    cls.add_method('IsStopped', 
5070
                   'bool', 
5071
                   [], 
5072
                   is_const=True)
5073
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetWakeCallback(ns3::Callback<void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5074
    cls.add_method('SetWakeCallback', 
5075
                   'void', 
5076
                   [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
5077
                   is_virtual=True)
5078
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Start() [member function]
5079
    cls.add_method('Start', 
5080
                   'void', 
5081
                   [], 
5082
                   is_virtual=True)
5083
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Stop() [member function]
5084
    cls.add_method('Stop', 
5085
                   'void', 
5086
                   [], 
5087
                   is_virtual=True)
5088
    ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Wake() [member function]
5089
    cls.add_method('Wake', 
5090
                   'void', 
5091
                   [], 
5092
                   is_virtual=True)
5093
    return
5094
5095
def register_Ns3NetDeviceQueueInterface_methods(root_module, cls):
5096
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface(ns3::NetDeviceQueueInterface const & arg0) [copy constructor]
5097
    cls.add_constructor([param('ns3::NetDeviceQueueInterface const &', 'arg0')])
5098
    ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface() [constructor]
5099
    cls.add_constructor([])
5100
    ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetSelectedQueue(ns3::Ptr<ns3::QueueItem> item) const [member function]
5101
    cls.add_method('GetSelectedQueue', 
5102
                   'uint8_t', 
5103
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
5104
                   is_const=True)
5105
    ## net-device.h (module 'network'): ns3::Ptr<ns3::NetDeviceQueue> ns3::NetDeviceQueueInterface::GetTxQueue(uint8_t i) const [member function]
5106
    cls.add_method('GetTxQueue', 
5107
                   'ns3::Ptr< ns3::NetDeviceQueue >', 
5108
                   [param('uint8_t', 'i')], 
5109
                   is_const=True)
5110
    ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetTxQueuesN() const [member function]
5111
    cls.add_method('GetTxQueuesN', 
5112
                   'uint8_t', 
5113
                   [], 
5114
                   is_const=True)
5115
    ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDeviceQueueInterface::GetTypeId() [member function]
5116
    cls.add_method('GetTypeId', 
5117
                   'ns3::TypeId', 
5118
                   [], 
5119
                   is_static=True)
5120
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5121
    cls.add_method('SetSelectQueueCallback', 
5122
                   'void', 
5123
                   [param('ns3::Callback< unsigned char, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')])
5124
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetTxQueuesN(uint8_t numTxQueues) [member function]
5125
    cls.add_method('SetTxQueuesN', 
5126
                   'void', 
5127
                   [param('uint8_t', 'numTxQueues')])
5128
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::DoDispose() [member function]
5129
    cls.add_method('DoDispose', 
5130
                   'void', 
5131
                   [], 
5132
                   visibility='protected', is_virtual=True)
5133
    return
5134
4311
def register_Ns3NixVector_methods(root_module, cls):
5135
def register_Ns3NixVector_methods(root_module, cls):
4312
    cls.add_output_stream_operator()
5136
    cls.add_output_stream_operator()
4313
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
5137
    ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor]
 Lines 4352-4357    Link Here 
4352
                   is_const=True)
5176
                   is_const=True)
4353
    return
5177
    return
4354
5178
5179
def register_Ns3Node_methods(root_module, cls):
5180
    ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor]
5181
    cls.add_constructor([param('ns3::Node const &', 'arg0')])
5182
    ## node.h (module 'network'): ns3::Node::Node() [constructor]
5183
    cls.add_constructor([])
5184
    ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor]
5185
    cls.add_constructor([param('uint32_t', 'systemId')])
5186
    ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr<ns3::Application> application) [member function]
5187
    cls.add_method('AddApplication', 
5188
                   'uint32_t', 
5189
                   [param('ns3::Ptr< ns3::Application >', 'application')])
5190
    ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5191
    cls.add_method('AddDevice', 
5192
                   'uint32_t', 
5193
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
5194
    ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function]
5195
    cls.add_method('ChecksumEnabled', 
5196
                   'bool', 
5197
                   [], 
5198
                   is_static=True)
5199
    ## node.h (module 'network'): ns3::Ptr<ns3::Application> ns3::Node::GetApplication(uint32_t index) const [member function]
5200
    cls.add_method('GetApplication', 
5201
                   'ns3::Ptr< ns3::Application >', 
5202
                   [param('uint32_t', 'index')], 
5203
                   is_const=True)
5204
    ## node.h (module 'network'): ns3::Ptr<ns3::NetDevice> ns3::Node::GetDevice(uint32_t index) const [member function]
5205
    cls.add_method('GetDevice', 
5206
                   'ns3::Ptr< ns3::NetDevice >', 
5207
                   [param('uint32_t', 'index')], 
5208
                   is_const=True)
5209
    ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function]
5210
    cls.add_method('GetId', 
5211
                   'uint32_t', 
5212
                   [], 
5213
                   is_const=True)
5214
    ## node.h (module 'network'): ns3::Time ns3::Node::GetLocalTime() const [member function]
5215
    cls.add_method('GetLocalTime', 
5216
                   'ns3::Time', 
5217
                   [], 
5218
                   is_const=True)
5219
    ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function]
5220
    cls.add_method('GetNApplications', 
5221
                   'uint32_t', 
5222
                   [], 
5223
                   is_const=True)
5224
    ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function]
5225
    cls.add_method('GetNDevices', 
5226
                   'uint32_t', 
5227
                   [], 
5228
                   is_const=True)
5229
    ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function]
5230
    cls.add_method('GetSystemId', 
5231
                   'uint32_t', 
5232
                   [], 
5233
                   is_const=True)
5234
    ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function]
5235
    cls.add_method('GetTypeId', 
5236
                   'ns3::TypeId', 
5237
                   [], 
5238
                   is_static=True)
5239
    ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
5240
    cls.add_method('RegisterDeviceAdditionListener', 
5241
                   'void', 
5242
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
5243
    ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr<ns3::NetDevice> device, bool promiscuous=false) [member function]
5244
    cls.add_method('RegisterProtocolHandler', 
5245
                   'void', 
5246
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler'), param('uint16_t', 'protocolType'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'promiscuous', default_value='false')])
5247
    ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback<void,ns3::Ptr<ns3::NetDevice>,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function]
5248
    cls.add_method('UnregisterDeviceAdditionListener', 
5249
                   'void', 
5250
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'listener')])
5251
    ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback<void, ns3::Ptr<ns3::NetDevice>, ns3::Ptr<ns3::Packet const>, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function]
5252
    cls.add_method('UnregisterProtocolHandler', 
5253
                   'void', 
5254
                   [param('ns3::Callback< void, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'handler')])
5255
    ## node.h (module 'network'): void ns3::Node::DoDispose() [member function]
5256
    cls.add_method('DoDispose', 
5257
                   'void', 
5258
                   [], 
5259
                   visibility='protected', is_virtual=True)
5260
    ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function]
5261
    cls.add_method('DoInitialize', 
5262
                   'void', 
5263
                   [], 
5264
                   visibility='protected', is_virtual=True)
5265
    return
5266
4355
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
5267
def register_Ns3OutputStreamWrapper_methods(root_module, cls):
4356
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
5268
    ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor]
4357
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
5269
    cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')])
 Lines 4550-4555    Link Here 
4550
                   is_const=True)
5462
                   is_const=True)
4551
    return
5463
    return
4552
5464
5465
def register_Ns3QueueItem_methods(root_module, cls):
5466
    cls.add_output_stream_operator()
5467
    ## net-device.h (module 'network'): ns3::QueueItem::QueueItem(ns3::Ptr<ns3::Packet> p) [constructor]
5468
    cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p')])
5469
    ## net-device.h (module 'network'): ns3::Ptr<ns3::Packet> ns3::QueueItem::GetPacket() const [member function]
5470
    cls.add_method('GetPacket', 
5471
                   'ns3::Ptr< ns3::Packet >', 
5472
                   [], 
5473
                   is_const=True)
5474
    ## net-device.h (module 'network'): uint32_t ns3::QueueItem::GetPacketSize() const [member function]
5475
    cls.add_method('GetPacketSize', 
5476
                   'uint32_t', 
5477
                   [], 
5478
                   is_const=True, is_virtual=True)
5479
    ## net-device.h (module 'network'): void ns3::QueueItem::Print(std::ostream & os) const [member function]
5480
    cls.add_method('Print', 
5481
                   'void', 
5482
                   [param('std::ostream &', 'os')], 
5483
                   is_const=True, is_virtual=True)
5484
    return
5485
4553
def register_Ns3TypeIdChecker_methods(root_module, cls):
5486
def register_Ns3TypeIdChecker_methods(root_module, cls):
4554
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
5487
    ## type-id.h (module 'core'): ns3::TypeIdChecker::TypeIdChecker() [constructor]
4555
    cls.add_constructor([])
5488
    cls.add_constructor([])
 Lines 4590-4595    Link Here 
4590
                   [param('ns3::TypeId const &', 'value')])
5523
                   [param('ns3::TypeId const &', 'value')])
4591
    return
5524
    return
4592
5525
5526
def register_Ns3UintegerValue_methods(root_module, cls):
5527
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor]
5528
    cls.add_constructor([])
5529
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor]
5530
    cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')])
5531
    ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor]
5532
    cls.add_constructor([param('uint64_t const &', 'value')])
5533
    ## uinteger.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::UintegerValue::Copy() const [member function]
5534
    cls.add_method('Copy', 
5535
                   'ns3::Ptr< ns3::AttributeValue >', 
5536
                   [], 
5537
                   is_const=True, is_virtual=True)
5538
    ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
5539
    cls.add_method('DeserializeFromString', 
5540
                   'bool', 
5541
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5542
                   is_virtual=True)
5543
    ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function]
5544
    cls.add_method('Get', 
5545
                   'uint64_t', 
5546
                   [], 
5547
                   is_const=True)
5548
    ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
5549
    cls.add_method('SerializeToString', 
5550
                   'std::string', 
5551
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
5552
                   is_const=True, is_virtual=True)
5553
    ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function]
5554
    cls.add_method('Set', 
5555
                   'void', 
5556
                   [param('uint64_t const &', 'value')])
5557
    return
5558
4593
def register_Ns3AddressChecker_methods(root_module, cls):
5559
def register_Ns3AddressChecker_methods(root_module, cls):
4594
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
5560
    ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor]
4595
    cls.add_constructor([])
5561
    cls.add_constructor([])
 Lines 4637-4642    Link Here 
4637
    cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')])
5603
    cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')])
4638
    return
5604
    return
4639
5605
5606
def register_Ns3QueueDiscItem_methods(root_module, cls):
5607
    ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem::QueueDiscItem(ns3::Ptr<ns3::Packet> p, ns3::Address const & addr, uint16_t protocol) [constructor]
5608
    cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Address const &', 'addr'), param('uint16_t', 'protocol')])
5609
    ## queue-disc.h (module 'traffic-control'): ns3::Address ns3::QueueDiscItem::GetAddress() const [member function]
5610
    cls.add_method('GetAddress', 
5611
                   'ns3::Address', 
5612
                   [], 
5613
                   is_const=True)
5614
    ## queue-disc.h (module 'traffic-control'): uint16_t ns3::QueueDiscItem::GetProtocol() const [member function]
5615
    cls.add_method('GetProtocol', 
5616
                   'uint16_t', 
5617
                   [], 
5618
                   is_const=True)
5619
    ## queue-disc.h (module 'traffic-control'): uint8_t ns3::QueueDiscItem::GetTxQueueIndex() const [member function]
5620
    cls.add_method('GetTxQueueIndex', 
5621
                   'uint8_t', 
5622
                   [], 
5623
                   is_const=True)
5624
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::SetTxQueueIndex(uint8_t txq) [member function]
5625
    cls.add_method('SetTxQueueIndex', 
5626
                   'void', 
5627
                   [param('uint8_t', 'txq')])
5628
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::AddHeader() [member function]
5629
    cls.add_method('AddHeader', 
5630
                   'void', 
5631
                   [], 
5632
                   is_pure_virtual=True, is_virtual=True)
5633
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::Print(std::ostream & os) const [member function]
5634
    cls.add_method('Print', 
5635
                   'void', 
5636
                   [param('std::ostream &', 'os')], 
5637
                   is_const=True, is_virtual=True)
5638
    return
5639
4640
def register_Ns3HashImplementation_methods(root_module, cls):
5640
def register_Ns3HashImplementation_methods(root_module, cls):
4641
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
5641
    ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor]
4642
    cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
5642
    cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')])
 Lines 4746-4751    Link Here 
4746
    module = root_module
5746
    module = root_module
4747
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
5747
    register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module)
4748
    register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
5748
    register_functions_ns3_Hash(module.get_submodule('Hash'), root_module)
5749
    register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module)
5750
    register_functions_ns3_internal(module.get_submodule('internal'), root_module)
4749
    return
5751
    return
4750
5752
4751
def register_functions_ns3_FatalImpl(module, root_module):
5753
def register_functions_ns3_FatalImpl(module, root_module):
 Lines 4758-4763    Link Here 
4758
def register_functions_ns3_Hash_Function(module, root_module):
5760
def register_functions_ns3_Hash_Function(module, root_module):
4759
    return
5761
    return
4760
5762
5763
def register_functions_ns3_TracedValueCallback(module, root_module):
5764
    return
5765
5766
def register_functions_ns3_internal(module, root_module):
5767
    return
5768
4761
def main():
5769
def main():
4762
    out = FileCodeSink(sys.stdout)
5770
    out = FileCodeSink(sys.stdout)
4763
    root_module = module_init()
5771
    root_module = module_init()
(-)a/src/config-store/bindings/modulegen__gcc_ILP32.py (-18 lines)
 Lines 24-31    Link Here 
24
    module.add_class('CallbackBase', import_from_module='ns.core')
24
    module.add_class('CallbackBase', import_from_module='ns.core')
25
    ## file-config.h (module 'config-store'): ns3::FileConfig [class]
25
    ## file-config.h (module 'config-store'): ns3::FileConfig [class]
26
    module.add_class('FileConfig', allow_subclassing=True)
26
    module.add_class('FileConfig', allow_subclassing=True)
27
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore [class]
28
    module.add_class('GtkConfigStore')
29
    ## hash.h (module 'core'): ns3::Hasher [class]
27
    ## hash.h (module 'core'): ns3::Hasher [class]
30
    module.add_class('Hasher', import_from_module='ns.core')
28
    module.add_class('Hasher', import_from_module='ns.core')
31
    ## file-config.h (module 'config-store'): ns3::NoneFileConfig [class]
29
    ## file-config.h (module 'config-store'): ns3::NoneFileConfig [class]
 Lines 130-136    Link Here 
130
def register_methods(root_module):
128
def register_methods(root_module):
131
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
129
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
132
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
130
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
133
    register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore'])
134
    register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
131
    register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
135
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
132
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
136
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
133
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
 Lines 204-224    Link Here 
204
                   is_pure_virtual=True, is_virtual=True)
201
                   is_pure_virtual=True, is_virtual=True)
205
    return
202
    return
206
203
207
def register_Ns3GtkConfigStore_methods(root_module, cls):
208
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor]
209
    cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')])
210
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore::GtkConfigStore() [constructor]
211
    cls.add_constructor([])
212
    ## gtk-config-store.h (module 'config-store'): void ns3::GtkConfigStore::ConfigureAttributes() [member function]
213
    cls.add_method('ConfigureAttributes', 
214
                   'void', 
215
                   [])
216
    ## gtk-config-store.h (module 'config-store'): void ns3::GtkConfigStore::ConfigureDefaults() [member function]
217
    cls.add_method('ConfigureDefaults', 
218
                   'void', 
219
                   [])
220
    return
221
222
def register_Ns3Hasher_methods(root_module, cls):
204
def register_Ns3Hasher_methods(root_module, cls):
223
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
205
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
224
    cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
206
    cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
(-)a/src/config-store/bindings/modulegen__gcc_LP64.py (-18 lines)
 Lines 24-31    Link Here 
24
    module.add_class('CallbackBase', import_from_module='ns.core')
24
    module.add_class('CallbackBase', import_from_module='ns.core')
25
    ## file-config.h (module 'config-store'): ns3::FileConfig [class]
25
    ## file-config.h (module 'config-store'): ns3::FileConfig [class]
26
    module.add_class('FileConfig', allow_subclassing=True)
26
    module.add_class('FileConfig', allow_subclassing=True)
27
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore [class]
28
    module.add_class('GtkConfigStore')
29
    ## hash.h (module 'core'): ns3::Hasher [class]
27
    ## hash.h (module 'core'): ns3::Hasher [class]
30
    module.add_class('Hasher', import_from_module='ns.core')
28
    module.add_class('Hasher', import_from_module='ns.core')
31
    ## file-config.h (module 'config-store'): ns3::NoneFileConfig [class]
29
    ## file-config.h (module 'config-store'): ns3::NoneFileConfig [class]
 Lines 130-136    Link Here 
130
def register_methods(root_module):
128
def register_methods(root_module):
131
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
129
    register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase'])
132
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
130
    register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig'])
133
    register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore'])
134
    register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
131
    register_Ns3Hasher_methods(root_module, root_module['ns3::Hasher'])
135
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
132
    register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig'])
136
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
133
    register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase'])
 Lines 204-224    Link Here 
204
                   is_pure_virtual=True, is_virtual=True)
201
                   is_pure_virtual=True, is_virtual=True)
205
    return
202
    return
206
203
207
def register_Ns3GtkConfigStore_methods(root_module, cls):
208
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor]
209
    cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')])
210
    ## gtk-config-store.h (module 'config-store'): ns3::GtkConfigStore::GtkConfigStore() [constructor]
211
    cls.add_constructor([])
212
    ## gtk-config-store.h (module 'config-store'): void ns3::GtkConfigStore::ConfigureAttributes() [member function]
213
    cls.add_method('ConfigureAttributes', 
214
                   'void', 
215
                   [])
216
    ## gtk-config-store.h (module 'config-store'): void ns3::GtkConfigStore::ConfigureDefaults() [member function]
217
    cls.add_method('ConfigureDefaults', 
218
                   'void', 
219
                   [])
220
    return
221
222
def register_Ns3Hasher_methods(root_module, cls):
204
def register_Ns3Hasher_methods(root_module, cls):
223
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
205
    ## hash.h (module 'core'): ns3::Hasher::Hasher(ns3::Hasher const & arg0) [copy constructor]
224
    cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
206
    cls.add_constructor([param('ns3::Hasher const &', 'arg0')])
(-)a/src/csma-layout/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 234-241    Link Here 
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
237
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
238
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 501-507    Link Here 
501
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
499
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
502
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
500
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
503
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
501
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
504
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
505
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
502
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
506
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
503
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
507
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
504
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4692-4743    Link Here 
4692
                   visibility='protected')
4689
                   visibility='protected')
4693
    return
4690
    return
4694
4691
4695
def register_Ns3SocketAddressTag_methods(root_module, cls):
4696
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4697
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4698
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4699
    cls.add_constructor([])
4700
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4701
    cls.add_method('Deserialize', 
4702
                   'void', 
4703
                   [param('ns3::TagBuffer', 'i')], 
4704
                   is_virtual=True)
4705
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4706
    cls.add_method('GetAddress', 
4707
                   'ns3::Address', 
4708
                   [], 
4709
                   is_const=True)
4710
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4711
    cls.add_method('GetInstanceTypeId', 
4712
                   'ns3::TypeId', 
4713
                   [], 
4714
                   is_const=True, is_virtual=True)
4715
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4716
    cls.add_method('GetSerializedSize', 
4717
                   'uint32_t', 
4718
                   [], 
4719
                   is_const=True, is_virtual=True)
4720
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4721
    cls.add_method('GetTypeId', 
4722
                   'ns3::TypeId', 
4723
                   [], 
4724
                   is_static=True)
4725
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4726
    cls.add_method('Print', 
4727
                   'void', 
4728
                   [param('std::ostream &', 'os')], 
4729
                   is_const=True, is_virtual=True)
4730
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4731
    cls.add_method('Serialize', 
4732
                   'void', 
4733
                   [param('ns3::TagBuffer', 'i')], 
4734
                   is_const=True, is_virtual=True)
4735
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4736
    cls.add_method('SetAddress', 
4737
                   'void', 
4738
                   [param('ns3::Address', 'addr')])
4739
    return
4740
4741
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4692
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4742
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4693
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4743
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4694
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 7064-7078    Link Here 
7064
                   'ns3::TypeId', 
7015
                   'ns3::TypeId', 
7065
                   [], 
7016
                   [], 
7066
                   is_static=True)
7017
                   is_static=True)
7067
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7068
    cls.add_method('IsQueueDiscInstalled', 
7069
                   'bool', 
7070
                   [], 
7071
                   is_const=True)
7072
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7073
    cls.add_method('SetQueueDiscInstalled', 
7074
                   'void', 
7075
                   [param('bool', 'installed')])
7076
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7018
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7077
    cls.add_method('SetSelectQueueCallback', 
7019
    cls.add_method('SetSelectQueueCallback', 
7078
                   'void', 
7020
                   'void', 
(-)a/src/csma-layout/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 234-241    Link Here 
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
237
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
238
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 501-507    Link Here 
501
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
499
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
502
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
500
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
503
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
501
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
504
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
505
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
502
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
506
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
503
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
507
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
504
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4692-4743    Link Here 
4692
                   visibility='protected')
4689
                   visibility='protected')
4693
    return
4690
    return
4694
4691
4695
def register_Ns3SocketAddressTag_methods(root_module, cls):
4696
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4697
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4698
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4699
    cls.add_constructor([])
4700
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4701
    cls.add_method('Deserialize', 
4702
                   'void', 
4703
                   [param('ns3::TagBuffer', 'i')], 
4704
                   is_virtual=True)
4705
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4706
    cls.add_method('GetAddress', 
4707
                   'ns3::Address', 
4708
                   [], 
4709
                   is_const=True)
4710
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4711
    cls.add_method('GetInstanceTypeId', 
4712
                   'ns3::TypeId', 
4713
                   [], 
4714
                   is_const=True, is_virtual=True)
4715
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4716
    cls.add_method('GetSerializedSize', 
4717
                   'uint32_t', 
4718
                   [], 
4719
                   is_const=True, is_virtual=True)
4720
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4721
    cls.add_method('GetTypeId', 
4722
                   'ns3::TypeId', 
4723
                   [], 
4724
                   is_static=True)
4725
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4726
    cls.add_method('Print', 
4727
                   'void', 
4728
                   [param('std::ostream &', 'os')], 
4729
                   is_const=True, is_virtual=True)
4730
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4731
    cls.add_method('Serialize', 
4732
                   'void', 
4733
                   [param('ns3::TagBuffer', 'i')], 
4734
                   is_const=True, is_virtual=True)
4735
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4736
    cls.add_method('SetAddress', 
4737
                   'void', 
4738
                   [param('ns3::Address', 'addr')])
4739
    return
4740
4741
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4692
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4742
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4693
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4743
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4694
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 7064-7078    Link Here 
7064
                   'ns3::TypeId', 
7015
                   'ns3::TypeId', 
7065
                   [], 
7016
                   [], 
7066
                   is_static=True)
7017
                   is_static=True)
7067
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7068
    cls.add_method('IsQueueDiscInstalled', 
7069
                   'bool', 
7070
                   [], 
7071
                   is_const=True)
7072
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7073
    cls.add_method('SetQueueDiscInstalled', 
7074
                   'void', 
7075
                   [param('bool', 'installed')])
7076
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7018
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7077
    cls.add_method('SetSelectQueueCallback', 
7019
    cls.add_method('SetSelectQueueCallback', 
7078
                   'void', 
7020
                   'void', 
(-)a/src/csma/bindings/callbacks_list.py (+1 lines)
 Lines 1-4    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/csma/bindings/modulegen__gcc_ILP32.py (-14 / +19 lines)
 Lines 395-403    Link Here 
395
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
395
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
396
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
396
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
397
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
397
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
398
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
399
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
400
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
401
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
398
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
402
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
399
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
403
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
400
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
 Lines 416-421    Link Here 
416
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
413
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
417
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
414
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
418
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
415
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
416
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
417
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
418
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
419
419
420
def register_types_ns3_internal(module):
420
def register_types_ns3_internal(module):
421
    root_module = module.get_root()
421
    root_module = module.get_root()
 Lines 3253-3262    Link Here 
3253
                   'ns3::Ptr< ns3::QueueItem const >', 
3253
                   'ns3::Ptr< ns3::QueueItem const >', 
3254
                   [], 
3254
                   [], 
3255
                   is_const=True)
3255
                   is_const=True)
3256
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3257
    cls.add_method('Remove', 
3258
                   'ns3::Ptr< ns3::QueueItem >', 
3259
                   [])
3256
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3260
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3257
    cls.add_method('ResetStatistics', 
3261
    cls.add_method('ResetStatistics', 
3258
                   'void', 
3262
                   'void', 
3259
                   [])
3263
                   [])
3264
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3265
    cls.add_method('SetDropCallback', 
3266
                   'void', 
3267
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3268
                   is_virtual=True)
3260
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3269
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3261
    cls.add_method('SetMaxBytes', 
3270
    cls.add_method('SetMaxBytes', 
3262
                   'void', 
3271
                   'void', 
 Lines 3269-3278    Link Here 
3269
    cls.add_method('SetMode', 
3278
    cls.add_method('SetMode', 
3270
                   'void', 
3279
                   'void', 
3271
                   [param('ns3::Queue::QueueMode', 'mode')])
3280
                   [param('ns3::Queue::QueueMode', 'mode')])
3272
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3281
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3273
    cls.add_method('Drop', 
3282
    cls.add_method('Drop', 
3274
                   'void', 
3283
                   'void', 
3275
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3284
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3276
                   visibility='protected')
3285
                   visibility='protected')
3277
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3286
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3278
    cls.add_method('DoDequeue', 
3287
    cls.add_method('DoDequeue', 
 Lines 3289-3294    Link Here 
3289
                   'ns3::Ptr< ns3::QueueItem const >', 
3298
                   'ns3::Ptr< ns3::QueueItem const >', 
3290
                   [], 
3299
                   [], 
3291
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3300
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3301
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3302
    cls.add_method('DoRemove', 
3303
                   'ns3::Ptr< ns3::QueueItem >', 
3304
                   [], 
3305
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3292
    return
3306
    return
3293
3307
3294
def register_Ns3RandomVariableStream_methods(root_module, cls):
3308
def register_Ns3RandomVariableStream_methods(root_module, cls):
 Lines 5213-5227    Link Here 
5213
                   'ns3::TypeId', 
5227
                   'ns3::TypeId', 
5214
                   [], 
5228
                   [], 
5215
                   is_static=True)
5229
                   is_static=True)
5216
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5217
    cls.add_method('IsQueueDiscInstalled', 
5218
                   'bool', 
5219
                   [], 
5220
                   is_const=True)
5221
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5222
    cls.add_method('SetQueueDiscInstalled', 
5223
                   'void', 
5224
                   [param('bool', 'installed')])
5225
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5230
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5226
    cls.add_method('SetSelectQueueCallback', 
5231
    cls.add_method('SetSelectQueueCallback', 
5227
                   'void', 
5232
                   'void', 
(-)a/src/csma/bindings/modulegen__gcc_LP64.py (-14 / +19 lines)
 Lines 395-403    Link Here 
395
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
395
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
396
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
396
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
397
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
397
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
398
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
399
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
400
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
401
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
398
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
402
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
399
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
403
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
400
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
 Lines 416-421    Link Here 
416
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
413
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
417
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
414
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
418
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
415
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
416
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
417
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
418
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
419
419
420
def register_types_ns3_internal(module):
420
def register_types_ns3_internal(module):
421
    root_module = module.get_root()
421
    root_module = module.get_root()
 Lines 3253-3262    Link Here 
3253
                   'ns3::Ptr< ns3::QueueItem const >', 
3253
                   'ns3::Ptr< ns3::QueueItem const >', 
3254
                   [], 
3254
                   [], 
3255
                   is_const=True)
3255
                   is_const=True)
3256
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3257
    cls.add_method('Remove', 
3258
                   'ns3::Ptr< ns3::QueueItem >', 
3259
                   [])
3256
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3260
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3257
    cls.add_method('ResetStatistics', 
3261
    cls.add_method('ResetStatistics', 
3258
                   'void', 
3262
                   'void', 
3259
                   [])
3263
                   [])
3264
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3265
    cls.add_method('SetDropCallback', 
3266
                   'void', 
3267
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3268
                   is_virtual=True)
3260
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3269
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3261
    cls.add_method('SetMaxBytes', 
3270
    cls.add_method('SetMaxBytes', 
3262
                   'void', 
3271
                   'void', 
 Lines 3269-3278    Link Here 
3269
    cls.add_method('SetMode', 
3278
    cls.add_method('SetMode', 
3270
                   'void', 
3279
                   'void', 
3271
                   [param('ns3::Queue::QueueMode', 'mode')])
3280
                   [param('ns3::Queue::QueueMode', 'mode')])
3272
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3281
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3273
    cls.add_method('Drop', 
3282
    cls.add_method('Drop', 
3274
                   'void', 
3283
                   'void', 
3275
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3284
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3276
                   visibility='protected')
3285
                   visibility='protected')
3277
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3286
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3278
    cls.add_method('DoDequeue', 
3287
    cls.add_method('DoDequeue', 
 Lines 3289-3294    Link Here 
3289
                   'ns3::Ptr< ns3::QueueItem const >', 
3298
                   'ns3::Ptr< ns3::QueueItem const >', 
3290
                   [], 
3299
                   [], 
3291
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3300
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3301
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3302
    cls.add_method('DoRemove', 
3303
                   'ns3::Ptr< ns3::QueueItem >', 
3304
                   [], 
3305
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3292
    return
3306
    return
3293
3307
3294
def register_Ns3RandomVariableStream_methods(root_module, cls):
3308
def register_Ns3RandomVariableStream_methods(root_module, cls):
 Lines 5213-5227    Link Here 
5213
                   'ns3::TypeId', 
5227
                   'ns3::TypeId', 
5214
                   [], 
5228
                   [], 
5215
                   is_static=True)
5229
                   is_static=True)
5216
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5217
    cls.add_method('IsQueueDiscInstalled', 
5218
                   'bool', 
5219
                   [], 
5220
                   is_const=True)
5221
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5222
    cls.add_method('SetQueueDiscInstalled', 
5223
                   'void', 
5224
                   [param('bool', 'installed')])
5225
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5230
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5226
    cls.add_method('SetSelectQueueCallback', 
5231
    cls.add_method('SetSelectQueueCallback', 
5227
                   'void', 
5232
                   'void', 
(-)a/src/dsdv/bindings/callbacks_list.py (-1 / +2 lines)
 Lines 1-7    Link Here 
1
callback_classes = [
1
callback_classes = [
2
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
2
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
3
    ['void', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::Ptr<ns3::Packet const>', 'ns3::Ipv4Header const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Socket>', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/dsdv/bindings/modulegen__gcc_ILP32.py (-67 / +28 lines)
 Lines 234-241    Link Here 
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
237
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
238
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 466-474    Link Here 
466
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
464
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
467
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
465
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
468
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
466
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
469
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
470
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
471
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
472
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
467
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
473
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
468
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
474
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
469
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
 Lines 484-489    Link Here 
484
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
479
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
485
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
480
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
486
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
481
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
482
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
483
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
484
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
487
485
488
def register_types_ns3_dsdv(module):
486
def register_types_ns3_dsdv(module):
489
    root_module = module.get_root()
487
    root_module = module.get_root()
 Lines 589-595    Link Here 
589
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
587
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
590
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
588
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
591
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
589
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
592
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
593
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
590
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
594
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
591
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
595
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
592
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3357-3366    Link Here 
3357
                   'ns3::Ptr< ns3::QueueItem const >', 
3354
                   'ns3::Ptr< ns3::QueueItem const >', 
3358
                   [], 
3355
                   [], 
3359
                   is_const=True)
3356
                   is_const=True)
3357
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3358
    cls.add_method('Remove', 
3359
                   'ns3::Ptr< ns3::QueueItem >', 
3360
                   [])
3360
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3361
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3361
    cls.add_method('ResetStatistics', 
3362
    cls.add_method('ResetStatistics', 
3362
                   'void', 
3363
                   'void', 
3363
                   [])
3364
                   [])
3365
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3366
    cls.add_method('SetDropCallback', 
3367
                   'void', 
3368
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3369
                   is_virtual=True)
3364
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3370
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3365
    cls.add_method('SetMaxBytes', 
3371
    cls.add_method('SetMaxBytes', 
3366
                   'void', 
3372
                   'void', 
 Lines 3373-3382    Link Here 
3373
    cls.add_method('SetMode', 
3379
    cls.add_method('SetMode', 
3374
                   'void', 
3380
                   'void', 
3375
                   [param('ns3::Queue::QueueMode', 'mode')])
3381
                   [param('ns3::Queue::QueueMode', 'mode')])
3376
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3382
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3377
    cls.add_method('Drop', 
3383
    cls.add_method('Drop', 
3378
                   'void', 
3384
                   'void', 
3379
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3385
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3380
                   visibility='protected')
3386
                   visibility='protected')
3381
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3387
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3382
    cls.add_method('DoDequeue', 
3388
    cls.add_method('DoDequeue', 
 Lines 3393-3398    Link Here 
3393
                   'ns3::Ptr< ns3::QueueItem const >', 
3399
                   'ns3::Ptr< ns3::QueueItem const >', 
3394
                   [], 
3400
                   [], 
3395
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3401
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3402
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3403
    cls.add_method('DoRemove', 
3404
                   'ns3::Ptr< ns3::QueueItem >', 
3405
                   [], 
3406
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3396
    return
3407
    return
3397
3408
3398
def register_Ns3QueueDisc_methods(root_module, cls):
3409
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 3526-3531    Link Here 
3526
    cls.add_method('SetNetDevice', 
3537
    cls.add_method('SetNetDevice', 
3527
                   'void', 
3538
                   'void', 
3528
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3539
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3540
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3541
    cls.add_method('SetParentDropCallback', 
3542
                   'void', 
3543
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3544
                   is_virtual=True)
3529
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3545
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3530
    cls.add_method('SetQuota', 
3546
    cls.add_method('SetQuota', 
3531
                   'void', 
3547
                   'void', 
 Lines 3541-3550    Link Here 
3541
                   'void', 
3557
                   'void', 
3542
                   [], 
3558
                   [], 
3543
                   visibility='protected', is_virtual=True)
3559
                   visibility='protected', is_virtual=True)
3544
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3560
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3545
    cls.add_method('Drop', 
3561
    cls.add_method('Drop', 
3546
                   'void', 
3562
                   'void', 
3547
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3563
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3548
                   visibility='protected')
3564
                   visibility='protected')
3549
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3565
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3550
    cls.add_method('CheckConfig', 
3566
    cls.add_method('CheckConfig', 
 Lines 4201-4252    Link Here 
4201
                   visibility='protected')
4217
                   visibility='protected')
4202
    return
4218
    return
4203
4219
4204
def register_Ns3SocketAddressTag_methods(root_module, cls):
4205
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4206
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4207
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4208
    cls.add_constructor([])
4209
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4210
    cls.add_method('Deserialize', 
4211
                   'void', 
4212
                   [param('ns3::TagBuffer', 'i')], 
4213
                   is_virtual=True)
4214
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4215
    cls.add_method('GetAddress', 
4216
                   'ns3::Address', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4220
    cls.add_method('GetInstanceTypeId', 
4221
                   'ns3::TypeId', 
4222
                   [], 
4223
                   is_const=True, is_virtual=True)
4224
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4225
    cls.add_method('GetSerializedSize', 
4226
                   'uint32_t', 
4227
                   [], 
4228
                   is_const=True, is_virtual=True)
4229
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4230
    cls.add_method('GetTypeId', 
4231
                   'ns3::TypeId', 
4232
                   [], 
4233
                   is_static=True)
4234
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4235
    cls.add_method('Print', 
4236
                   'void', 
4237
                   [param('std::ostream &', 'os')], 
4238
                   is_const=True, is_virtual=True)
4239
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4240
    cls.add_method('Serialize', 
4241
                   'void', 
4242
                   [param('ns3::TagBuffer', 'i')], 
4243
                   is_const=True, is_virtual=True)
4244
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4245
    cls.add_method('SetAddress', 
4246
                   'void', 
4247
                   [param('ns3::Address', 'addr')])
4248
    return
4249
4250
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4220
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4251
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4221
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4252
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4222
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4719-4729    Link Here 
4719
                   'ns3::TypeId', 
4689
                   'ns3::TypeId', 
4720
                   [], 
4690
                   [], 
4721
                   is_const=True, is_virtual=True)
4691
                   is_const=True, is_virtual=True)
4722
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4692
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
4723
    cls.add_method('GetRootQueueDiscOnDevice', 
4693
    cls.add_method('GetRootQueueDiscOnDevice', 
4724
                   'ns3::Ptr< ns3::QueueDisc >', 
4694
                   'ns3::Ptr< ns3::QueueDisc >', 
4725
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4695
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4726
                   is_virtual=True)
4696
                   is_const=True, is_virtual=True)
4727
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4697
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4728
    cls.add_method('GetTypeId', 
4698
    cls.add_method('GetTypeId', 
4729
                   'ns3::TypeId', 
4699
                   'ns3::TypeId', 
 Lines 6704-6718    Link Here 
6704
                   'ns3::TypeId', 
6674
                   'ns3::TypeId', 
6705
                   [], 
6675
                   [], 
6706
                   is_static=True)
6676
                   is_static=True)
6707
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6708
    cls.add_method('IsQueueDiscInstalled', 
6709
                   'bool', 
6710
                   [], 
6711
                   is_const=True)
6712
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6713
    cls.add_method('SetQueueDiscInstalled', 
6714
                   'void', 
6715
                   [param('bool', 'installed')])
6716
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6677
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6717
    cls.add_method('SetSelectQueueCallback', 
6678
    cls.add_method('SetSelectQueueCallback', 
6718
                   'void', 
6679
                   'void', 
(-)a/src/dsdv/bindings/modulegen__gcc_LP64.py (-67 / +28 lines)
 Lines 234-241    Link Here 
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
234
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
235
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
236
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
237
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
238
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
239
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
237
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
240
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
238
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
241
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
239
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 466-474    Link Here 
466
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
464
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
467
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
465
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
468
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
466
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
469
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
470
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
471
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
472
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
467
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
473
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
468
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
474
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
469
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
 Lines 484-489    Link Here 
484
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
479
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
485
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
480
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
486
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
481
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
482
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
483
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
484
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
487
485
488
def register_types_ns3_dsdv(module):
486
def register_types_ns3_dsdv(module):
489
    root_module = module.get_root()
487
    root_module = module.get_root()
 Lines 589-595    Link Here 
589
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
587
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
590
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
588
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
591
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
589
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
592
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
593
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
590
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
594
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
591
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
595
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
592
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3357-3366    Link Here 
3357
                   'ns3::Ptr< ns3::QueueItem const >', 
3354
                   'ns3::Ptr< ns3::QueueItem const >', 
3358
                   [], 
3355
                   [], 
3359
                   is_const=True)
3356
                   is_const=True)
3357
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3358
    cls.add_method('Remove', 
3359
                   'ns3::Ptr< ns3::QueueItem >', 
3360
                   [])
3360
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3361
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3361
    cls.add_method('ResetStatistics', 
3362
    cls.add_method('ResetStatistics', 
3362
                   'void', 
3363
                   'void', 
3363
                   [])
3364
                   [])
3365
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3366
    cls.add_method('SetDropCallback', 
3367
                   'void', 
3368
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3369
                   is_virtual=True)
3364
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3370
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3365
    cls.add_method('SetMaxBytes', 
3371
    cls.add_method('SetMaxBytes', 
3366
                   'void', 
3372
                   'void', 
 Lines 3373-3382    Link Here 
3373
    cls.add_method('SetMode', 
3379
    cls.add_method('SetMode', 
3374
                   'void', 
3380
                   'void', 
3375
                   [param('ns3::Queue::QueueMode', 'mode')])
3381
                   [param('ns3::Queue::QueueMode', 'mode')])
3376
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3382
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3377
    cls.add_method('Drop', 
3383
    cls.add_method('Drop', 
3378
                   'void', 
3384
                   'void', 
3379
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3385
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3380
                   visibility='protected')
3386
                   visibility='protected')
3381
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3387
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3382
    cls.add_method('DoDequeue', 
3388
    cls.add_method('DoDequeue', 
 Lines 3393-3398    Link Here 
3393
                   'ns3::Ptr< ns3::QueueItem const >', 
3399
                   'ns3::Ptr< ns3::QueueItem const >', 
3394
                   [], 
3400
                   [], 
3395
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3401
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3402
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3403
    cls.add_method('DoRemove', 
3404
                   'ns3::Ptr< ns3::QueueItem >', 
3405
                   [], 
3406
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3396
    return
3407
    return
3397
3408
3398
def register_Ns3QueueDisc_methods(root_module, cls):
3409
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 3526-3531    Link Here 
3526
    cls.add_method('SetNetDevice', 
3537
    cls.add_method('SetNetDevice', 
3527
                   'void', 
3538
                   'void', 
3528
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3539
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
3540
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3541
    cls.add_method('SetParentDropCallback', 
3542
                   'void', 
3543
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3544
                   is_virtual=True)
3529
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3545
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
3530
    cls.add_method('SetQuota', 
3546
    cls.add_method('SetQuota', 
3531
                   'void', 
3547
                   'void', 
 Lines 3541-3550    Link Here 
3541
                   'void', 
3557
                   'void', 
3542
                   [], 
3558
                   [], 
3543
                   visibility='protected', is_virtual=True)
3559
                   visibility='protected', is_virtual=True)
3544
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
3560
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3545
    cls.add_method('Drop', 
3561
    cls.add_method('Drop', 
3546
                   'void', 
3562
                   'void', 
3547
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
3563
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3548
                   visibility='protected')
3564
                   visibility='protected')
3549
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3565
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
3550
    cls.add_method('CheckConfig', 
3566
    cls.add_method('CheckConfig', 
 Lines 4201-4252    Link Here 
4201
                   visibility='protected')
4217
                   visibility='protected')
4202
    return
4218
    return
4203
4219
4204
def register_Ns3SocketAddressTag_methods(root_module, cls):
4205
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4206
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4207
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4208
    cls.add_constructor([])
4209
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4210
    cls.add_method('Deserialize', 
4211
                   'void', 
4212
                   [param('ns3::TagBuffer', 'i')], 
4213
                   is_virtual=True)
4214
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4215
    cls.add_method('GetAddress', 
4216
                   'ns3::Address', 
4217
                   [], 
4218
                   is_const=True)
4219
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4220
    cls.add_method('GetInstanceTypeId', 
4221
                   'ns3::TypeId', 
4222
                   [], 
4223
                   is_const=True, is_virtual=True)
4224
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4225
    cls.add_method('GetSerializedSize', 
4226
                   'uint32_t', 
4227
                   [], 
4228
                   is_const=True, is_virtual=True)
4229
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4230
    cls.add_method('GetTypeId', 
4231
                   'ns3::TypeId', 
4232
                   [], 
4233
                   is_static=True)
4234
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4235
    cls.add_method('Print', 
4236
                   'void', 
4237
                   [param('std::ostream &', 'os')], 
4238
                   is_const=True, is_virtual=True)
4239
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4240
    cls.add_method('Serialize', 
4241
                   'void', 
4242
                   [param('ns3::TagBuffer', 'i')], 
4243
                   is_const=True, is_virtual=True)
4244
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4245
    cls.add_method('SetAddress', 
4246
                   'void', 
4247
                   [param('ns3::Address', 'addr')])
4248
    return
4249
4250
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4220
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4251
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4221
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4252
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4222
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4719-4729    Link Here 
4719
                   'ns3::TypeId', 
4689
                   'ns3::TypeId', 
4720
                   [], 
4690
                   [], 
4721
                   is_const=True, is_virtual=True)
4691
                   is_const=True, is_virtual=True)
4722
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
4692
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
4723
    cls.add_method('GetRootQueueDiscOnDevice', 
4693
    cls.add_method('GetRootQueueDiscOnDevice', 
4724
                   'ns3::Ptr< ns3::QueueDisc >', 
4694
                   'ns3::Ptr< ns3::QueueDisc >', 
4725
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4695
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
4726
                   is_virtual=True)
4696
                   is_const=True, is_virtual=True)
4727
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4697
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
4728
    cls.add_method('GetTypeId', 
4698
    cls.add_method('GetTypeId', 
4729
                   'ns3::TypeId', 
4699
                   'ns3::TypeId', 
 Lines 6704-6718    Link Here 
6704
                   'ns3::TypeId', 
6674
                   'ns3::TypeId', 
6705
                   [], 
6675
                   [], 
6706
                   is_static=True)
6676
                   is_static=True)
6707
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6708
    cls.add_method('IsQueueDiscInstalled', 
6709
                   'bool', 
6710
                   [], 
6711
                   is_const=True)
6712
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6713
    cls.add_method('SetQueueDiscInstalled', 
6714
                   'void', 
6715
                   [param('bool', 'installed')])
6716
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6677
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6717
    cls.add_method('SetSelectQueueCallback', 
6678
    cls.add_method('SetSelectQueueCallback', 
6718
                   'void', 
6679
                   'void', 
(-)a/src/dsr/bindings/callbacks_list.py (+1 lines)
 Lines 4-9    Link Here 
4
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
4
    ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ipv4Address', 'unsigned char', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['void', 'ns3::Ipv4Address', 'unsigned char', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['void', 'ns3::Ptr<ns3::ArpCache const>', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::Packet>', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr<ns3::Ipv4Route>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
10
    ['void', 'ns3::Ptr<ns3::Socket>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
(-)a/src/dsr/bindings/modulegen__gcc_ILP32.py (-68 / +58 lines)
 Lines 30-39    Link Here 
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
31
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
31
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
32
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
32
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
33
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
34
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
33
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
35
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
34
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
36
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
35
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
36
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
37
    ## address.h (module 'network'): ns3::Address [class]
37
    ## address.h (module 'network'): ns3::Address [class]
38
    module.add_class('Address', import_from_module='ns.network')
38
    module.add_class('Address', import_from_module='ns.network')
39
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
39
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
 Lines 302-309    Link Here 
302
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
302
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
303
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
303
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
304
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
304
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
305
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
306
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
307
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
305
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
308
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
306
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
309
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
307
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 513-518    Link Here 
513
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
511
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
514
    module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
512
    module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
515
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
513
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
514
    module.add_container('std::list< ns3::ArpCache::Entry * >', 'ns3::ArpCache::Entry *', container_type=u'list')
516
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
515
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
517
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >', u'ns3::SequenceNumber16')
516
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >', u'ns3::SequenceNumber16')
518
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >*', u'ns3::SequenceNumber16*')
517
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >*', u'ns3::SequenceNumber16*')
 Lines 855-861    Link Here 
855
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
854
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
856
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
855
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
857
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
856
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
858
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
859
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
857
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
860
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
858
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
861
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
859
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4443-4452    Link Here 
4443
                   'ns3::Ptr< ns3::QueueItem const >', 
4441
                   'ns3::Ptr< ns3::QueueItem const >', 
4444
                   [], 
4442
                   [], 
4445
                   is_const=True)
4443
                   is_const=True)
4444
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
4445
    cls.add_method('Remove', 
4446
                   'ns3::Ptr< ns3::QueueItem >', 
4447
                   [])
4446
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4448
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4447
    cls.add_method('ResetStatistics', 
4449
    cls.add_method('ResetStatistics', 
4448
                   'void', 
4450
                   'void', 
4449
                   [])
4451
                   [])
4452
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4453
    cls.add_method('SetDropCallback', 
4454
                   'void', 
4455
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4456
                   is_virtual=True)
4450
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4457
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4451
    cls.add_method('SetMaxBytes', 
4458
    cls.add_method('SetMaxBytes', 
4452
                   'void', 
4459
                   'void', 
 Lines 4459-4468    Link Here 
4459
    cls.add_method('SetMode', 
4466
    cls.add_method('SetMode', 
4460
                   'void', 
4467
                   'void', 
4461
                   [param('ns3::Queue::QueueMode', 'mode')])
4468
                   [param('ns3::Queue::QueueMode', 'mode')])
4462
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
4469
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4463
    cls.add_method('Drop', 
4470
    cls.add_method('Drop', 
4464
                   'void', 
4471
                   'void', 
4465
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
4472
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4466
                   visibility='protected')
4473
                   visibility='protected')
4467
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4474
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4468
    cls.add_method('DoDequeue', 
4475
    cls.add_method('DoDequeue', 
 Lines 4479-4484    Link Here 
4479
                   'ns3::Ptr< ns3::QueueItem const >', 
4486
                   'ns3::Ptr< ns3::QueueItem const >', 
4480
                   [], 
4487
                   [], 
4481
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4488
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4489
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
4490
    cls.add_method('DoRemove', 
4491
                   'ns3::Ptr< ns3::QueueItem >', 
4492
                   [], 
4493
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4482
    return
4494
    return
4483
4495
4484
def register_Ns3QueueDisc_methods(root_module, cls):
4496
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 4612-4617    Link Here 
4612
    cls.add_method('SetNetDevice', 
4624
    cls.add_method('SetNetDevice', 
4613
                   'void', 
4625
                   'void', 
4614
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4626
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4627
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4628
    cls.add_method('SetParentDropCallback', 
4629
                   'void', 
4630
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4631
                   is_virtual=True)
4615
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
4632
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
4616
    cls.add_method('SetQuota', 
4633
    cls.add_method('SetQuota', 
4617
                   'void', 
4634
                   'void', 
 Lines 4627-4636    Link Here 
4627
                   'void', 
4644
                   'void', 
4628
                   [], 
4645
                   [], 
4629
                   visibility='protected', is_virtual=True)
4646
                   visibility='protected', is_virtual=True)
4630
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
4647
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4631
    cls.add_method('Drop', 
4648
    cls.add_method('Drop', 
4632
                   'void', 
4649
                   'void', 
4633
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
4650
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4634
                   visibility='protected')
4651
                   visibility='protected')
4635
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
4652
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
4636
    cls.add_method('CheckConfig', 
4653
    cls.add_method('CheckConfig', 
 Lines 5299-5350    Link Here 
5299
                   visibility='protected')
5316
                   visibility='protected')
5300
    return
5317
    return
5301
5318
5302
def register_Ns3SocketAddressTag_methods(root_module, cls):
5303
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5304
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5305
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5306
    cls.add_constructor([])
5307
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5308
    cls.add_method('Deserialize', 
5309
                   'void', 
5310
                   [param('ns3::TagBuffer', 'i')], 
5311
                   is_virtual=True)
5312
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5313
    cls.add_method('GetAddress', 
5314
                   'ns3::Address', 
5315
                   [], 
5316
                   is_const=True)
5317
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5318
    cls.add_method('GetInstanceTypeId', 
5319
                   'ns3::TypeId', 
5320
                   [], 
5321
                   is_const=True, is_virtual=True)
5322
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5323
    cls.add_method('GetSerializedSize', 
5324
                   'uint32_t', 
5325
                   [], 
5326
                   is_const=True, is_virtual=True)
5327
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5328
    cls.add_method('GetTypeId', 
5329
                   'ns3::TypeId', 
5330
                   [], 
5331
                   is_static=True)
5332
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5333
    cls.add_method('Print', 
5334
                   'void', 
5335
                   [param('std::ostream &', 'os')], 
5336
                   is_const=True, is_virtual=True)
5337
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5338
    cls.add_method('Serialize', 
5339
                   'void', 
5340
                   [param('ns3::TagBuffer', 'i')], 
5341
                   is_const=True, is_virtual=True)
5342
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5343
    cls.add_method('SetAddress', 
5344
                   'void', 
5345
                   [param('ns3::Address', 'addr')])
5346
    return
5347
5348
def register_Ns3SocketIpTosTag_methods(root_module, cls):
5319
def register_Ns3SocketIpTosTag_methods(root_module, cls):
5349
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
5320
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
5350
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
5321
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 5817-5827    Link Here 
5817
                   'ns3::TypeId', 
5788
                   'ns3::TypeId', 
5818
                   [], 
5789
                   [], 
5819
                   is_const=True, is_virtual=True)
5790
                   is_const=True, is_virtual=True)
5820
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5791
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
5821
    cls.add_method('GetRootQueueDiscOnDevice', 
5792
    cls.add_method('GetRootQueueDiscOnDevice', 
5822
                   'ns3::Ptr< ns3::QueueDisc >', 
5793
                   'ns3::Ptr< ns3::QueueDisc >', 
5823
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5794
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5824
                   is_virtual=True)
5795
                   is_const=True, is_virtual=True)
5825
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
5796
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
5826
    cls.add_method('GetTypeId', 
5797
    cls.add_method('GetTypeId', 
5827
                   'ns3::TypeId', 
5798
                   'ns3::TypeId', 
 Lines 6798-6803    Link Here 
6798
                   'void', 
6769
                   'void', 
6799
                   [param('ns3::WifiPhyStandard', 'standard')], 
6770
                   [param('ns3::WifiPhyStandard', 'standard')], 
6800
                   is_pure_virtual=True, is_virtual=True)
6771
                   is_pure_virtual=True, is_virtual=True)
6772
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
6773
    cls.add_method('DbToRatio', 
6774
                   'double', 
6775
                   [param('double', 'db')], 
6776
                   is_const=True)
6777
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
6778
    cls.add_method('DbmToW', 
6779
                   'double', 
6780
                   [param('double', 'dbm')], 
6781
                   is_const=True)
6801
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6782
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6802
    cls.add_method('GetBssMembershipSelector', 
6783
    cls.add_method('GetBssMembershipSelector', 
6803
                   'uint32_t', 
6784
                   'uint32_t', 
 Lines 7468-7473    Link Here 
7468
    cls.add_method('NotifyTxEnd', 
7449
    cls.add_method('NotifyTxEnd', 
7469
                   'void', 
7450
                   'void', 
7470
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
7451
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
7452
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
7453
    cls.add_method('RatioToDb', 
7454
                   'double', 
7455
                   [param('double', 'ratio')], 
7456
                   is_const=True)
7471
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
7457
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
7472
    cls.add_method('RegisterListener', 
7458
    cls.add_method('RegisterListener', 
7473
                   'void', 
7459
                   'void', 
 Lines 7528-7537    Link Here 
7528
                   'void', 
7514
                   'void', 
7529
                   [param('uint32_t', 'tx')], 
7515
                   [param('uint32_t', 'tx')], 
7530
                   is_pure_virtual=True, is_virtual=True)
7516
                   is_pure_virtual=True, is_virtual=True)
7531
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7517
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7532
    cls.add_method('SetReceiveErrorCallback', 
7518
    cls.add_method('SetReceiveErrorCallback', 
7533
                   'void', 
7519
                   'void', 
7534
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
7520
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
7535
                   is_pure_virtual=True, is_virtual=True)
7521
                   is_pure_virtual=True, is_virtual=True)
7536
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7522
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7537
    cls.add_method('SetReceiveOkCallback', 
7523
    cls.add_method('SetReceiveOkCallback', 
 Lines 7558-7563    Link Here 
7558
                   'void', 
7544
                   'void', 
7559
                   [param('ns3::WifiPhyListener *', 'listener')], 
7545
                   [param('ns3::WifiPhyListener *', 'listener')], 
7560
                   is_pure_virtual=True, is_virtual=True)
7546
                   is_pure_virtual=True, is_virtual=True)
7547
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
7548
    cls.add_method('WToDbm', 
7549
                   'double', 
7550
                   [param('double', 'w')], 
7551
                   is_const=True)
7561
    return
7552
    return
7562
7553
7563
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
7554
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 8314-8319    Link Here 
8314
    cls.add_method('Lookup', 
8305
    cls.add_method('Lookup', 
8315
                   'ns3::ArpCache::Entry *', 
8306
                   'ns3::ArpCache::Entry *', 
8316
                   [param('ns3::Ipv4Address', 'destination')])
8307
                   [param('ns3::Ipv4Address', 'destination')])
8308
    ## arp-cache.h (module 'internet'): std::list<ns3::ArpCache::Entry*,std::allocator<ns3::ArpCache::Entry*> > ns3::ArpCache::LookupInverse(ns3::Address destination) [member function]
8309
    cls.add_method('LookupInverse', 
8310
                   'std::list< ns3::ArpCache::Entry * >', 
8311
                   [param('ns3::Address', 'destination')])
8317
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
8312
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
8318
    cls.add_method('PrintArpCache', 
8313
    cls.add_method('PrintArpCache', 
8319
                   'void', 
8314
                   'void', 
 Lines 8434-8439    Link Here 
8434
    cls.add_method('SetMacAddresss', 
8429
    cls.add_method('SetMacAddresss', 
8435
                   'void', 
8430
                   'void', 
8436
                   [param('ns3::Address', 'macAddress')])
8431
                   [param('ns3::Address', 'macAddress')])
8432
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::Entry::UpdateSeen() [member function]
8433
    cls.add_method('UpdateSeen', 
8434
                   'void', 
8435
                   [])
8437
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
8436
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
8438
    cls.add_method('UpdateWaitReply', 
8437
    cls.add_method('UpdateWaitReply', 
8439
                   'bool', 
8438
                   'bool', 
 Lines 10634-10648    Link Here 
10634
                   'ns3::TypeId', 
10633
                   'ns3::TypeId', 
10635
                   [], 
10634
                   [], 
10636
                   is_static=True)
10635
                   is_static=True)
10637
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
10638
    cls.add_method('IsQueueDiscInstalled', 
10639
                   'bool', 
10640
                   [], 
10641
                   is_const=True)
10642
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
10643
    cls.add_method('SetQueueDiscInstalled', 
10644
                   'void', 
10645
                   [param('bool', 'installed')])
10646
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10636
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10647
    cls.add_method('SetSelectQueueCallback', 
10637
    cls.add_method('SetSelectQueueCallback', 
10648
                   'void', 
10638
                   'void', 
(-)a/src/dsr/bindings/modulegen__gcc_LP64.py (-68 / +58 lines)
 Lines 30-39    Link Here 
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
30
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
31
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
31
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
32
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
32
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
33
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
34
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
33
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
35
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
34
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
36
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
35
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
36
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
37
    ## address.h (module 'network'): ns3::Address [class]
37
    ## address.h (module 'network'): ns3::Address [class]
38
    module.add_class('Address', import_from_module='ns.network')
38
    module.add_class('Address', import_from_module='ns.network')
39
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
39
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
 Lines 302-309    Link Here 
302
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
302
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
303
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
303
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
304
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
304
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
305
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
306
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
307
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
305
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
308
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
306
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
309
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
307
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 513-518    Link Here 
513
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
511
    module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector')
514
    module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
512
    module.add_container('std::vector< unsigned int >', 'unsigned int', container_type=u'vector')
515
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
513
    module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::Ipv4Header >', container_type=u'list')
514
    module.add_container('std::list< ns3::ArpCache::Entry * >', 'ns3::ArpCache::Entry *', container_type=u'list')
516
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
515
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
517
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >', u'ns3::SequenceNumber16')
516
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >', u'ns3::SequenceNumber16')
518
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >*', u'ns3::SequenceNumber16*')
517
    typehandlers.add_type_alias(u'ns3::SequenceNumber< short unsigned int, short int >*', u'ns3::SequenceNumber16*')
 Lines 855-861    Link Here 
855
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
854
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
856
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
855
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
857
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
856
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
858
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
859
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
857
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
860
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
858
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
861
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
859
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4443-4452    Link Here 
4443
                   'ns3::Ptr< ns3::QueueItem const >', 
4441
                   'ns3::Ptr< ns3::QueueItem const >', 
4444
                   [], 
4442
                   [], 
4445
                   is_const=True)
4443
                   is_const=True)
4444
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
4445
    cls.add_method('Remove', 
4446
                   'ns3::Ptr< ns3::QueueItem >', 
4447
                   [])
4446
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4448
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
4447
    cls.add_method('ResetStatistics', 
4449
    cls.add_method('ResetStatistics', 
4448
                   'void', 
4450
                   'void', 
4449
                   [])
4451
                   [])
4452
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4453
    cls.add_method('SetDropCallback', 
4454
                   'void', 
4455
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4456
                   is_virtual=True)
4450
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4457
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
4451
    cls.add_method('SetMaxBytes', 
4458
    cls.add_method('SetMaxBytes', 
4452
                   'void', 
4459
                   'void', 
 Lines 4459-4468    Link Here 
4459
    cls.add_method('SetMode', 
4466
    cls.add_method('SetMode', 
4460
                   'void', 
4467
                   'void', 
4461
                   [param('ns3::Queue::QueueMode', 'mode')])
4468
                   [param('ns3::Queue::QueueMode', 'mode')])
4462
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
4469
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4463
    cls.add_method('Drop', 
4470
    cls.add_method('Drop', 
4464
                   'void', 
4471
                   'void', 
4465
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
4472
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4466
                   visibility='protected')
4473
                   visibility='protected')
4467
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4474
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
4468
    cls.add_method('DoDequeue', 
4475
    cls.add_method('DoDequeue', 
 Lines 4479-4484    Link Here 
4479
                   'ns3::Ptr< ns3::QueueItem const >', 
4486
                   'ns3::Ptr< ns3::QueueItem const >', 
4480
                   [], 
4487
                   [], 
4481
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4488
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
4489
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
4490
    cls.add_method('DoRemove', 
4491
                   'ns3::Ptr< ns3::QueueItem >', 
4492
                   [], 
4493
                   is_pure_virtual=True, visibility='private', is_virtual=True)
4482
    return
4494
    return
4483
4495
4484
def register_Ns3QueueDisc_methods(root_module, cls):
4496
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 4612-4617    Link Here 
4612
    cls.add_method('SetNetDevice', 
4624
    cls.add_method('SetNetDevice', 
4613
                   'void', 
4625
                   'void', 
4614
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4626
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')])
4627
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4628
    cls.add_method('SetParentDropCallback', 
4629
                   'void', 
4630
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
4631
                   is_virtual=True)
4615
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
4632
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function]
4616
    cls.add_method('SetQuota', 
4633
    cls.add_method('SetQuota', 
4617
                   'void', 
4634
                   'void', 
 Lines 4627-4636    Link Here 
4627
                   'void', 
4644
                   'void', 
4628
                   [], 
4645
                   [], 
4629
                   visibility='protected', is_virtual=True)
4646
                   visibility='protected', is_virtual=True)
4630
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueDiscItem> item) [member function]
4647
    ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
4631
    cls.add_method('Drop', 
4648
    cls.add_method('Drop', 
4632
                   'void', 
4649
                   'void', 
4633
                   [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], 
4650
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
4634
                   visibility='protected')
4651
                   visibility='protected')
4635
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
4652
    ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function]
4636
    cls.add_method('CheckConfig', 
4653
    cls.add_method('CheckConfig', 
 Lines 5299-5350    Link Here 
5299
                   visibility='protected')
5316
                   visibility='protected')
5300
    return
5317
    return
5301
5318
5302
def register_Ns3SocketAddressTag_methods(root_module, cls):
5303
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5304
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5305
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5306
    cls.add_constructor([])
5307
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5308
    cls.add_method('Deserialize', 
5309
                   'void', 
5310
                   [param('ns3::TagBuffer', 'i')], 
5311
                   is_virtual=True)
5312
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5313
    cls.add_method('GetAddress', 
5314
                   'ns3::Address', 
5315
                   [], 
5316
                   is_const=True)
5317
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5318
    cls.add_method('GetInstanceTypeId', 
5319
                   'ns3::TypeId', 
5320
                   [], 
5321
                   is_const=True, is_virtual=True)
5322
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5323
    cls.add_method('GetSerializedSize', 
5324
                   'uint32_t', 
5325
                   [], 
5326
                   is_const=True, is_virtual=True)
5327
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5328
    cls.add_method('GetTypeId', 
5329
                   'ns3::TypeId', 
5330
                   [], 
5331
                   is_static=True)
5332
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5333
    cls.add_method('Print', 
5334
                   'void', 
5335
                   [param('std::ostream &', 'os')], 
5336
                   is_const=True, is_virtual=True)
5337
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5338
    cls.add_method('Serialize', 
5339
                   'void', 
5340
                   [param('ns3::TagBuffer', 'i')], 
5341
                   is_const=True, is_virtual=True)
5342
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5343
    cls.add_method('SetAddress', 
5344
                   'void', 
5345
                   [param('ns3::Address', 'addr')])
5346
    return
5347
5348
def register_Ns3SocketIpTosTag_methods(root_module, cls):
5319
def register_Ns3SocketIpTosTag_methods(root_module, cls):
5349
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
5320
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
5350
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
5321
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 5817-5827    Link Here 
5817
                   'ns3::TypeId', 
5788
                   'ns3::TypeId', 
5818
                   [], 
5789
                   [], 
5819
                   is_const=True, is_virtual=True)
5790
                   is_const=True, is_virtual=True)
5820
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) [member function]
5791
    ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr<ns3::QueueDisc> ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr<ns3::NetDevice> device) const [member function]
5821
    cls.add_method('GetRootQueueDiscOnDevice', 
5792
    cls.add_method('GetRootQueueDiscOnDevice', 
5822
                   'ns3::Ptr< ns3::QueueDisc >', 
5793
                   'ns3::Ptr< ns3::QueueDisc >', 
5823
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5794
                   [param('ns3::Ptr< ns3::NetDevice >', 'device')], 
5824
                   is_virtual=True)
5795
                   is_const=True, is_virtual=True)
5825
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
5796
    ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function]
5826
    cls.add_method('GetTypeId', 
5797
    cls.add_method('GetTypeId', 
5827
                   'ns3::TypeId', 
5798
                   'ns3::TypeId', 
 Lines 6798-6803    Link Here 
6798
                   'void', 
6769
                   'void', 
6799
                   [param('ns3::WifiPhyStandard', 'standard')], 
6770
                   [param('ns3::WifiPhyStandard', 'standard')], 
6800
                   is_pure_virtual=True, is_virtual=True)
6771
                   is_pure_virtual=True, is_virtual=True)
6772
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
6773
    cls.add_method('DbToRatio', 
6774
                   'double', 
6775
                   [param('double', 'db')], 
6776
                   is_const=True)
6777
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
6778
    cls.add_method('DbmToW', 
6779
                   'double', 
6780
                   [param('double', 'dbm')], 
6781
                   is_const=True)
6801
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6782
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6802
    cls.add_method('GetBssMembershipSelector', 
6783
    cls.add_method('GetBssMembershipSelector', 
6803
                   'uint32_t', 
6784
                   'uint32_t', 
 Lines 7468-7473    Link Here 
7468
    cls.add_method('NotifyTxEnd', 
7449
    cls.add_method('NotifyTxEnd', 
7469
                   'void', 
7450
                   'void', 
7470
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
7451
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
7452
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
7453
    cls.add_method('RatioToDb', 
7454
                   'double', 
7455
                   [param('double', 'ratio')], 
7456
                   is_const=True)
7471
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
7457
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
7472
    cls.add_method('RegisterListener', 
7458
    cls.add_method('RegisterListener', 
7473
                   'void', 
7459
                   'void', 
 Lines 7528-7537    Link Here 
7528
                   'void', 
7514
                   'void', 
7529
                   [param('uint32_t', 'tx')], 
7515
                   [param('uint32_t', 'tx')], 
7530
                   is_pure_virtual=True, is_virtual=True)
7516
                   is_pure_virtual=True, is_virtual=True)
7531
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7517
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7532
    cls.add_method('SetReceiveErrorCallback', 
7518
    cls.add_method('SetReceiveErrorCallback', 
7533
                   'void', 
7519
                   'void', 
7534
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
7520
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
7535
                   is_pure_virtual=True, is_virtual=True)
7521
                   is_pure_virtual=True, is_virtual=True)
7536
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7522
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
7537
    cls.add_method('SetReceiveOkCallback', 
7523
    cls.add_method('SetReceiveOkCallback', 
 Lines 7558-7563    Link Here 
7558
                   'void', 
7544
                   'void', 
7559
                   [param('ns3::WifiPhyListener *', 'listener')], 
7545
                   [param('ns3::WifiPhyListener *', 'listener')], 
7560
                   is_pure_virtual=True, is_virtual=True)
7546
                   is_pure_virtual=True, is_virtual=True)
7547
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
7548
    cls.add_method('WToDbm', 
7549
                   'double', 
7550
                   [param('double', 'w')], 
7551
                   is_const=True)
7561
    return
7552
    return
7562
7553
7563
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
7554
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 8314-8319    Link Here 
8314
    cls.add_method('Lookup', 
8305
    cls.add_method('Lookup', 
8315
                   'ns3::ArpCache::Entry *', 
8306
                   'ns3::ArpCache::Entry *', 
8316
                   [param('ns3::Ipv4Address', 'destination')])
8307
                   [param('ns3::Ipv4Address', 'destination')])
8308
    ## arp-cache.h (module 'internet'): std::list<ns3::ArpCache::Entry*,std::allocator<ns3::ArpCache::Entry*> > ns3::ArpCache::LookupInverse(ns3::Address destination) [member function]
8309
    cls.add_method('LookupInverse', 
8310
                   'std::list< ns3::ArpCache::Entry * >', 
8311
                   [param('ns3::Address', 'destination')])
8317
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
8312
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::PrintArpCache(ns3::Ptr<ns3::OutputStreamWrapper> stream) [member function]
8318
    cls.add_method('PrintArpCache', 
8313
    cls.add_method('PrintArpCache', 
8319
                   'void', 
8314
                   'void', 
 Lines 8434-8439    Link Here 
8434
    cls.add_method('SetMacAddresss', 
8429
    cls.add_method('SetMacAddresss', 
8435
                   'void', 
8430
                   'void', 
8436
                   [param('ns3::Address', 'macAddress')])
8431
                   [param('ns3::Address', 'macAddress')])
8432
    ## arp-cache.h (module 'internet'): void ns3::ArpCache::Entry::UpdateSeen() [member function]
8433
    cls.add_method('UpdateSeen', 
8434
                   'void', 
8435
                   [])
8437
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
8436
    ## arp-cache.h (module 'internet'): bool ns3::ArpCache::Entry::UpdateWaitReply(std::pair<ns3::Ptr<ns3::Packet>,ns3::Ipv4Header> waiting) [member function]
8438
    cls.add_method('UpdateWaitReply', 
8437
    cls.add_method('UpdateWaitReply', 
8439
                   'bool', 
8438
                   'bool', 
 Lines 10634-10648    Link Here 
10634
                   'ns3::TypeId', 
10633
                   'ns3::TypeId', 
10635
                   [], 
10634
                   [], 
10636
                   is_static=True)
10635
                   is_static=True)
10637
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
10638
    cls.add_method('IsQueueDiscInstalled', 
10639
                   'bool', 
10640
                   [], 
10641
                   is_const=True)
10642
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
10643
    cls.add_method('SetQueueDiscInstalled', 
10644
                   'void', 
10645
                   [param('bool', 'installed')])
10646
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10636
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10647
    cls.add_method('SetSelectQueueCallback', 
10637
    cls.add_method('SetSelectQueueCallback', 
10648
                   'void', 
10638
                   'void', 
(-)a/src/energy/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 3996-4010    Link Here 
3996
                   'ns3::TypeId', 
3996
                   'ns3::TypeId', 
3997
                   [], 
3997
                   [], 
3998
                   is_static=True)
3998
                   is_static=True)
3999
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4000
    cls.add_method('IsQueueDiscInstalled', 
4001
                   'bool', 
4002
                   [], 
4003
                   is_const=True)
4004
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4005
    cls.add_method('SetQueueDiscInstalled', 
4006
                   'void', 
4007
                   [param('bool', 'installed')])
4008
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3999
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4009
    cls.add_method('SetSelectQueueCallback', 
4000
    cls.add_method('SetSelectQueueCallback', 
4010
                   'void', 
4001
                   'void', 
(-)a/src/energy/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 3996-4010    Link Here 
3996
                   'ns3::TypeId', 
3996
                   'ns3::TypeId', 
3997
                   [], 
3997
                   [], 
3998
                   is_static=True)
3998
                   is_static=True)
3999
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4000
    cls.add_method('IsQueueDiscInstalled', 
4001
                   'bool', 
4002
                   [], 
4003
                   is_const=True)
4004
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4005
    cls.add_method('SetQueueDiscInstalled', 
4006
                   'void', 
4007
                   [param('bool', 'installed')])
4008
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3999
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4009
    cls.add_method('SetSelectQueueCallback', 
4000
    cls.add_method('SetSelectQueueCallback', 
4010
                   'void', 
4001
                   'void', 
(-)a/src/fd-net-device/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 4118-4132    Link Here 
4118
                   'ns3::TypeId', 
4118
                   'ns3::TypeId', 
4119
                   [], 
4119
                   [], 
4120
                   is_static=True)
4120
                   is_static=True)
4121
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4122
    cls.add_method('IsQueueDiscInstalled', 
4123
                   'bool', 
4124
                   [], 
4125
                   is_const=True)
4126
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4127
    cls.add_method('SetQueueDiscInstalled', 
4128
                   'void', 
4129
                   [param('bool', 'installed')])
4130
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4121
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4131
    cls.add_method('SetSelectQueueCallback', 
4122
    cls.add_method('SetSelectQueueCallback', 
4132
                   'void', 
4123
                   'void', 
(-)a/src/fd-net-device/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 4118-4132    Link Here 
4118
                   'ns3::TypeId', 
4118
                   'ns3::TypeId', 
4119
                   [], 
4119
                   [], 
4120
                   is_static=True)
4120
                   is_static=True)
4121
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4122
    cls.add_method('IsQueueDiscInstalled', 
4123
                   'bool', 
4124
                   [], 
4125
                   is_const=True)
4126
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4127
    cls.add_method('SetQueueDiscInstalled', 
4128
                   'void', 
4129
                   [param('bool', 'installed')])
4130
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4121
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4131
    cls.add_method('SetSelectQueueCallback', 
4122
    cls.add_method('SetSelectQueueCallback', 
4132
                   'void', 
4123
                   'void', 
(-)a/src/flow-monitor/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 194-201    Link Here 
194
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
194
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
195
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
195
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
196
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
196
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
197
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
198
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
199
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
197
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
200
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
198
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
201
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
199
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 471-477    Link Here 
471
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
469
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
472
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
470
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
473
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
471
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
474
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
475
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
472
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
476
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
473
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
477
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
474
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3665-3716    Link Here 
3665
                   visibility='protected')
3662
                   visibility='protected')
3666
    return
3663
    return
3667
3664
3668
def register_Ns3SocketAddressTag_methods(root_module, cls):
3669
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3670
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3671
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3672
    cls.add_constructor([])
3673
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3674
    cls.add_method('Deserialize', 
3675
                   'void', 
3676
                   [param('ns3::TagBuffer', 'i')], 
3677
                   is_virtual=True)
3678
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3679
    cls.add_method('GetAddress', 
3680
                   'ns3::Address', 
3681
                   [], 
3682
                   is_const=True)
3683
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3684
    cls.add_method('GetInstanceTypeId', 
3685
                   'ns3::TypeId', 
3686
                   [], 
3687
                   is_const=True, is_virtual=True)
3688
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3689
    cls.add_method('GetSerializedSize', 
3690
                   'uint32_t', 
3691
                   [], 
3692
                   is_const=True, is_virtual=True)
3693
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3694
    cls.add_method('GetTypeId', 
3695
                   'ns3::TypeId', 
3696
                   [], 
3697
                   is_static=True)
3698
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3699
    cls.add_method('Print', 
3700
                   'void', 
3701
                   [param('std::ostream &', 'os')], 
3702
                   is_const=True, is_virtual=True)
3703
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3704
    cls.add_method('Serialize', 
3705
                   'void', 
3706
                   [param('ns3::TagBuffer', 'i')], 
3707
                   is_const=True, is_virtual=True)
3708
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3709
    cls.add_method('SetAddress', 
3710
                   'void', 
3711
                   [param('ns3::Address', 'addr')])
3712
    return
3713
3714
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3665
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3715
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3666
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3716
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3667
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 6199-6213    Link Here 
6199
                   'ns3::TypeId', 
6150
                   'ns3::TypeId', 
6200
                   [], 
6151
                   [], 
6201
                   is_static=True)
6152
                   is_static=True)
6202
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6203
    cls.add_method('IsQueueDiscInstalled', 
6204
                   'bool', 
6205
                   [], 
6206
                   is_const=True)
6207
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6208
    cls.add_method('SetQueueDiscInstalled', 
6209
                   'void', 
6210
                   [param('bool', 'installed')])
6211
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6153
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6212
    cls.add_method('SetSelectQueueCallback', 
6154
    cls.add_method('SetSelectQueueCallback', 
6213
                   'void', 
6155
                   'void', 
(-)a/src/flow-monitor/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 194-201    Link Here 
194
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
194
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
195
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
195
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
196
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
196
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
197
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
198
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
199
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
197
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
200
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
198
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
201
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
199
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 471-477    Link Here 
471
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
469
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
472
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
470
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
473
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
471
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
474
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
475
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
472
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
476
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
473
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
477
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
474
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3665-3716    Link Here 
3665
                   visibility='protected')
3662
                   visibility='protected')
3666
    return
3663
    return
3667
3664
3668
def register_Ns3SocketAddressTag_methods(root_module, cls):
3669
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3670
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3671
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3672
    cls.add_constructor([])
3673
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3674
    cls.add_method('Deserialize', 
3675
                   'void', 
3676
                   [param('ns3::TagBuffer', 'i')], 
3677
                   is_virtual=True)
3678
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3679
    cls.add_method('GetAddress', 
3680
                   'ns3::Address', 
3681
                   [], 
3682
                   is_const=True)
3683
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3684
    cls.add_method('GetInstanceTypeId', 
3685
                   'ns3::TypeId', 
3686
                   [], 
3687
                   is_const=True, is_virtual=True)
3688
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3689
    cls.add_method('GetSerializedSize', 
3690
                   'uint32_t', 
3691
                   [], 
3692
                   is_const=True, is_virtual=True)
3693
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3694
    cls.add_method('GetTypeId', 
3695
                   'ns3::TypeId', 
3696
                   [], 
3697
                   is_static=True)
3698
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3699
    cls.add_method('Print', 
3700
                   'void', 
3701
                   [param('std::ostream &', 'os')], 
3702
                   is_const=True, is_virtual=True)
3703
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3704
    cls.add_method('Serialize', 
3705
                   'void', 
3706
                   [param('ns3::TagBuffer', 'i')], 
3707
                   is_const=True, is_virtual=True)
3708
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3709
    cls.add_method('SetAddress', 
3710
                   'void', 
3711
                   [param('ns3::Address', 'addr')])
3712
    return
3713
3714
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3665
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3715
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3666
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3716
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3667
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 6199-6213    Link Here 
6199
                   'ns3::TypeId', 
6150
                   'ns3::TypeId', 
6200
                   [], 
6151
                   [], 
6201
                   is_static=True)
6152
                   is_static=True)
6202
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6203
    cls.add_method('IsQueueDiscInstalled', 
6204
                   'bool', 
6205
                   [], 
6206
                   is_const=True)
6207
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6208
    cls.add_method('SetQueueDiscInstalled', 
6209
                   'void', 
6210
                   [param('bool', 'installed')])
6211
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6153
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6212
    cls.add_method('SetSelectQueueCallback', 
6154
    cls.add_method('SetSelectQueueCallback', 
6213
                   'void', 
6155
                   'void', 
(-)a/src/internet-apps/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 138-145    Link Here 
138
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
138
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
139
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
139
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
140
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
140
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
141
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
142
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
143
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
141
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
144
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
142
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
145
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
143
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 374-380    Link Here 
374
    register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter<ns3::RadvdPrefix> >'])
372
    register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter<ns3::RadvdPrefix> >'])
375
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
373
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
376
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
374
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
377
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
378
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
375
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
379
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
376
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
380
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
377
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 2738-2789    Link Here 
2738
                   visibility='protected')
2735
                   visibility='protected')
2739
    return
2736
    return
2740
2737
2741
def register_Ns3SocketAddressTag_methods(root_module, cls):
2742
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
2743
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
2744
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
2745
    cls.add_constructor([])
2746
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
2747
    cls.add_method('Deserialize', 
2748
                   'void', 
2749
                   [param('ns3::TagBuffer', 'i')], 
2750
                   is_virtual=True)
2751
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
2752
    cls.add_method('GetAddress', 
2753
                   'ns3::Address', 
2754
                   [], 
2755
                   is_const=True)
2756
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
2757
    cls.add_method('GetInstanceTypeId', 
2758
                   'ns3::TypeId', 
2759
                   [], 
2760
                   is_const=True, is_virtual=True)
2761
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
2762
    cls.add_method('GetSerializedSize', 
2763
                   'uint32_t', 
2764
                   [], 
2765
                   is_const=True, is_virtual=True)
2766
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
2767
    cls.add_method('GetTypeId', 
2768
                   'ns3::TypeId', 
2769
                   [], 
2770
                   is_static=True)
2771
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
2772
    cls.add_method('Print', 
2773
                   'void', 
2774
                   [param('std::ostream &', 'os')], 
2775
                   is_const=True, is_virtual=True)
2776
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
2777
    cls.add_method('Serialize', 
2778
                   'void', 
2779
                   [param('ns3::TagBuffer', 'i')], 
2780
                   is_const=True, is_virtual=True)
2781
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
2782
    cls.add_method('SetAddress', 
2783
                   'void', 
2784
                   [param('ns3::Address', 'addr')])
2785
    return
2786
2787
def register_Ns3SocketIpTosTag_methods(root_module, cls):
2738
def register_Ns3SocketIpTosTag_methods(root_module, cls):
2788
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
2739
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
2789
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
2740
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4442-4456    Link Here 
4442
                   'ns3::TypeId', 
4393
                   'ns3::TypeId', 
4443
                   [], 
4394
                   [], 
4444
                   is_static=True)
4395
                   is_static=True)
4445
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4446
    cls.add_method('IsQueueDiscInstalled', 
4447
                   'bool', 
4448
                   [], 
4449
                   is_const=True)
4450
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4451
    cls.add_method('SetQueueDiscInstalled', 
4452
                   'void', 
4453
                   [param('bool', 'installed')])
4454
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4396
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4455
    cls.add_method('SetSelectQueueCallback', 
4397
    cls.add_method('SetSelectQueueCallback', 
4456
                   'void', 
4398
                   'void', 
(-)a/src/internet-apps/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 138-145    Link Here 
138
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
138
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
139
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
139
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
140
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
140
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
141
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
142
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
143
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
141
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
144
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
142
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
145
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
143
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 374-380    Link Here 
374
    register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter<ns3::RadvdPrefix> >'])
372
    register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter<ns3::RadvdPrefix> >'])
375
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
373
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
376
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
374
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
377
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
378
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
375
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
379
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
376
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
380
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
377
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 2738-2789    Link Here 
2738
                   visibility='protected')
2735
                   visibility='protected')
2739
    return
2736
    return
2740
2737
2741
def register_Ns3SocketAddressTag_methods(root_module, cls):
2742
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
2743
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
2744
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
2745
    cls.add_constructor([])
2746
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
2747
    cls.add_method('Deserialize', 
2748
                   'void', 
2749
                   [param('ns3::TagBuffer', 'i')], 
2750
                   is_virtual=True)
2751
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
2752
    cls.add_method('GetAddress', 
2753
                   'ns3::Address', 
2754
                   [], 
2755
                   is_const=True)
2756
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
2757
    cls.add_method('GetInstanceTypeId', 
2758
                   'ns3::TypeId', 
2759
                   [], 
2760
                   is_const=True, is_virtual=True)
2761
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
2762
    cls.add_method('GetSerializedSize', 
2763
                   'uint32_t', 
2764
                   [], 
2765
                   is_const=True, is_virtual=True)
2766
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
2767
    cls.add_method('GetTypeId', 
2768
                   'ns3::TypeId', 
2769
                   [], 
2770
                   is_static=True)
2771
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
2772
    cls.add_method('Print', 
2773
                   'void', 
2774
                   [param('std::ostream &', 'os')], 
2775
                   is_const=True, is_virtual=True)
2776
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
2777
    cls.add_method('Serialize', 
2778
                   'void', 
2779
                   [param('ns3::TagBuffer', 'i')], 
2780
                   is_const=True, is_virtual=True)
2781
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
2782
    cls.add_method('SetAddress', 
2783
                   'void', 
2784
                   [param('ns3::Address', 'addr')])
2785
    return
2786
2787
def register_Ns3SocketIpTosTag_methods(root_module, cls):
2738
def register_Ns3SocketIpTosTag_methods(root_module, cls):
2788
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
2739
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
2789
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
2740
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4442-4456    Link Here 
4442
                   'ns3::TypeId', 
4393
                   'ns3::TypeId', 
4443
                   [], 
4394
                   [], 
4444
                   is_static=True)
4395
                   is_static=True)
4445
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4446
    cls.add_method('IsQueueDiscInstalled', 
4447
                   'bool', 
4448
                   [], 
4449
                   is_const=True)
4450
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4451
    cls.add_method('SetQueueDiscInstalled', 
4452
                   'void', 
4453
                   [param('bool', 'installed')])
4454
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4396
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4455
    cls.add_method('SetSelectQueueCallback', 
4397
    cls.add_method('SetSelectQueueCallback', 
4456
                   'void', 
4398
                   'void', 
(-)a/src/internet/bindings/modulegen__gcc_ILP32.py (-58 / +9 lines)
 Lines 446-453    Link Here 
446
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
446
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
447
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
447
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
448
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
448
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
449
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
450
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
451
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
449
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
452
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
450
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
453
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
451
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 1080-1086    Link Here 
1080
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
1078
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
1081
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
1079
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
1082
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1080
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1083
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
1084
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
1081
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
1085
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1082
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1086
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1083
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 7964-7969    Link Here 
7964
                   'ns3::Ptr< ns3::QueueItem const >', 
7961
                   'ns3::Ptr< ns3::QueueItem const >', 
7965
                   [], 
7962
                   [], 
7966
                   is_const=True)
7963
                   is_const=True)
7964
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
7965
    cls.add_method('Remove', 
7966
                   'ns3::Ptr< ns3::QueueItem >', 
7967
                   [])
7967
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
7968
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
7968
    cls.add_method('ResetStatistics', 
7969
    cls.add_method('ResetStatistics', 
7969
                   'void', 
7970
                   'void', 
 Lines 8005-8010    Link Here 
8005
                   'ns3::Ptr< ns3::QueueItem const >', 
8006
                   'ns3::Ptr< ns3::QueueItem const >', 
8006
                   [], 
8007
                   [], 
8007
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
8008
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
8009
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
8010
    cls.add_method('DoRemove', 
8011
                   'ns3::Ptr< ns3::QueueItem >', 
8012
                   [], 
8013
                   is_pure_virtual=True, visibility='private', is_virtual=True)
8008
    return
8014
    return
8009
8015
8010
def register_Ns3QueueDisc_methods(root_module, cls):
8016
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 9208-9259    Link Here 
9208
                   visibility='protected')
9214
                   visibility='protected')
9209
    return
9215
    return
9210
9216
9211
def register_Ns3SocketAddressTag_methods(root_module, cls):
9212
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
9213
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
9214
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
9215
    cls.add_constructor([])
9216
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
9217
    cls.add_method('Deserialize', 
9218
                   'void', 
9219
                   [param('ns3::TagBuffer', 'i')], 
9220
                   is_virtual=True)
9221
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
9222
    cls.add_method('GetAddress', 
9223
                   'ns3::Address', 
9224
                   [], 
9225
                   is_const=True)
9226
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
9227
    cls.add_method('GetInstanceTypeId', 
9228
                   'ns3::TypeId', 
9229
                   [], 
9230
                   is_const=True, is_virtual=True)
9231
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
9232
    cls.add_method('GetSerializedSize', 
9233
                   'uint32_t', 
9234
                   [], 
9235
                   is_const=True, is_virtual=True)
9236
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
9237
    cls.add_method('GetTypeId', 
9238
                   'ns3::TypeId', 
9239
                   [], 
9240
                   is_static=True)
9241
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
9242
    cls.add_method('Print', 
9243
                   'void', 
9244
                   [param('std::ostream &', 'os')], 
9245
                   is_const=True, is_virtual=True)
9246
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
9247
    cls.add_method('Serialize', 
9248
                   'void', 
9249
                   [param('ns3::TagBuffer', 'i')], 
9250
                   is_const=True, is_virtual=True)
9251
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
9252
    cls.add_method('SetAddress', 
9253
                   'void', 
9254
                   [param('ns3::Address', 'addr')])
9255
    return
9256
9257
def register_Ns3SocketFactory_methods(root_module, cls):
9217
def register_Ns3SocketFactory_methods(root_module, cls):
9258
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
9218
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
9259
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
9219
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
 Lines 15928-15942    Link Here 
15928
                   'ns3::TypeId', 
15888
                   'ns3::TypeId', 
15929
                   [], 
15889
                   [], 
15930
                   is_static=True)
15890
                   is_static=True)
15931
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
15932
    cls.add_method('IsQueueDiscInstalled', 
15933
                   'bool', 
15934
                   [], 
15935
                   is_const=True)
15936
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
15937
    cls.add_method('SetQueueDiscInstalled', 
15938
                   'void', 
15939
                   [param('bool', 'installed')])
15940
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15891
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15941
    cls.add_method('SetSelectQueueCallback', 
15892
    cls.add_method('SetSelectQueueCallback', 
15942
                   'void', 
15893
                   'void', 
(-)a/src/internet/bindings/modulegen__gcc_LP64.py (-58 / +9 lines)
 Lines 446-453    Link Here 
446
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
446
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
447
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
447
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
448
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
448
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
449
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
450
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
451
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
449
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
452
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
450
    module.add_class('SocketFactory', import_from_module='ns.network', parent=root_module['ns3::Object'])
453
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
451
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 1080-1086    Link Here 
1080
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
1078
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
1081
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
1079
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
1082
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1080
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1083
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
1084
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
1081
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
1085
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1082
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1086
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1083
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 7964-7969    Link Here 
7964
                   'ns3::Ptr< ns3::QueueItem const >', 
7961
                   'ns3::Ptr< ns3::QueueItem const >', 
7965
                   [], 
7962
                   [], 
7966
                   is_const=True)
7963
                   is_const=True)
7964
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
7965
    cls.add_method('Remove', 
7966
                   'ns3::Ptr< ns3::QueueItem >', 
7967
                   [])
7967
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
7968
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
7968
    cls.add_method('ResetStatistics', 
7969
    cls.add_method('ResetStatistics', 
7969
                   'void', 
7970
                   'void', 
 Lines 8005-8010    Link Here 
8005
                   'ns3::Ptr< ns3::QueueItem const >', 
8006
                   'ns3::Ptr< ns3::QueueItem const >', 
8006
                   [], 
8007
                   [], 
8007
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
8008
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
8009
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
8010
    cls.add_method('DoRemove', 
8011
                   'ns3::Ptr< ns3::QueueItem >', 
8012
                   [], 
8013
                   is_pure_virtual=True, visibility='private', is_virtual=True)
8008
    return
8014
    return
8009
8015
8010
def register_Ns3QueueDisc_methods(root_module, cls):
8016
def register_Ns3QueueDisc_methods(root_module, cls):
 Lines 9208-9259    Link Here 
9208
                   visibility='protected')
9214
                   visibility='protected')
9209
    return
9215
    return
9210
9216
9211
def register_Ns3SocketAddressTag_methods(root_module, cls):
9212
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
9213
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
9214
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
9215
    cls.add_constructor([])
9216
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
9217
    cls.add_method('Deserialize', 
9218
                   'void', 
9219
                   [param('ns3::TagBuffer', 'i')], 
9220
                   is_virtual=True)
9221
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
9222
    cls.add_method('GetAddress', 
9223
                   'ns3::Address', 
9224
                   [], 
9225
                   is_const=True)
9226
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
9227
    cls.add_method('GetInstanceTypeId', 
9228
                   'ns3::TypeId', 
9229
                   [], 
9230
                   is_const=True, is_virtual=True)
9231
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
9232
    cls.add_method('GetSerializedSize', 
9233
                   'uint32_t', 
9234
                   [], 
9235
                   is_const=True, is_virtual=True)
9236
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
9237
    cls.add_method('GetTypeId', 
9238
                   'ns3::TypeId', 
9239
                   [], 
9240
                   is_static=True)
9241
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
9242
    cls.add_method('Print', 
9243
                   'void', 
9244
                   [param('std::ostream &', 'os')], 
9245
                   is_const=True, is_virtual=True)
9246
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
9247
    cls.add_method('Serialize', 
9248
                   'void', 
9249
                   [param('ns3::TagBuffer', 'i')], 
9250
                   is_const=True, is_virtual=True)
9251
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
9252
    cls.add_method('SetAddress', 
9253
                   'void', 
9254
                   [param('ns3::Address', 'addr')])
9255
    return
9256
9257
def register_Ns3SocketFactory_methods(root_module, cls):
9217
def register_Ns3SocketFactory_methods(root_module, cls):
9258
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
9218
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
9259
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
9219
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
 Lines 15928-15942    Link Here 
15928
                   'ns3::TypeId', 
15888
                   'ns3::TypeId', 
15929
                   [], 
15889
                   [], 
15930
                   is_static=True)
15890
                   is_static=True)
15931
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
15932
    cls.add_method('IsQueueDiscInstalled', 
15933
                   'bool', 
15934
                   [], 
15935
                   is_const=True)
15936
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
15937
    cls.add_method('SetQueueDiscInstalled', 
15938
                   'void', 
15939
                   [param('bool', 'installed')])
15940
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15891
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15941
    cls.add_method('SetSelectQueueCallback', 
15892
    cls.add_method('SetSelectQueueCallback', 
15942
                   'void', 
15893
                   'void', 
(-)a/src/internet/model/nsc-tcp-socket-impl.cc (-12 / +1 lines)
 Lines 461-474    Link Here 
461
{
461
{
462
  NS_LOG_FUNCTION (this << maxSize << flags);
462
  NS_LOG_FUNCTION (this << maxSize << flags);
463
  Ptr<Packet> packet = Recv (maxSize, flags);
463
  Ptr<Packet> packet = Recv (maxSize, flags);
464
  if (packet != 0)
464
  GetPeerName (fromAddress);
465
    {
466
      SocketAddressTag tag;
467
      bool found;
468
      found = packet->PeekPacketTag (tag);
469
      NS_ASSERT (found);
470
      fromAddress = tag.GetAddress ();
471
    }
472
  return packet;
465
  return packet;
473
}
466
}
474
467
 Lines 630-639    Link Here 
630
623
631
  Ptr<Packet> p =  Create<Packet> (buffer, len);
624
  Ptr<Packet> p =  Create<Packet> (buffer, len);
632
625
633
  SocketAddressTag tag;
634
635
  tag.SetAddress (m_peerAddress);
636
  p->AddPacketTag (tag);
637
  m_deliveryQueue.push (p);
626
  m_deliveryQueue.push (p);
638
  m_rxAvailable += p->GetSize ();
627
  m_rxAvailable += p->GetSize ();
639
628
(-)a/src/internet/model/tcp-socket-base.cc (-13 lines)
 Lines 863-881    Link Here 
863
      return Create<Packet> (); // Send EOF on connection close
863
      return Create<Packet> (); // Send EOF on connection close
864
    }
864
    }
865
  Ptr<Packet> outPacket = m_rxBuffer->Extract (maxSize);
865
  Ptr<Packet> outPacket = m_rxBuffer->Extract (maxSize);
866
  if (outPacket != 0 && outPacket->GetSize () != 0)
867
    {
868
      SocketAddressTag tag;
869
      if (m_endPoint != 0)
870
        {
871
          tag.SetAddress (InetSocketAddress (m_endPoint->GetPeerAddress (), m_endPoint->GetPeerPort ()));
872
        }
873
      else if (m_endPoint6 != 0)
874
        {
875
          tag.SetAddress (Inet6SocketAddress (m_endPoint6->GetPeerAddress (), m_endPoint6->GetPeerPort ()));
876
        }
877
      outPacket->AddPacketTag (tag);
878
    }
879
  return outPacket;
866
  return outPacket;
880
}
867
}
881
868
(-)a/src/internet/model/udp-socket-impl.cc (-34 / +25 lines)
 Lines 841-862    Link Here 
841
UdpSocketImpl::Recv (uint32_t maxSize, uint32_t flags)
841
UdpSocketImpl::Recv (uint32_t maxSize, uint32_t flags)
842
{
842
{
843
  NS_LOG_FUNCTION (this << maxSize << flags);
843
  NS_LOG_FUNCTION (this << maxSize << flags);
844
  if (m_deliveryQueue.empty () )
844
845
    {
845
  Address fromAddress;
846
      m_errno = ERROR_AGAIN;
846
  Ptr<Packet> packet = RecvFrom (maxSize, flags, fromAddress);
847
      return 0;
847
  return packet;
848
    }
849
  Ptr<Packet> p = m_deliveryQueue.front ();
850
  if (p->GetSize () <= maxSize) 
851
    {
852
      m_deliveryQueue.pop ();
853
      m_rxAvailable -= p->GetSize ();
854
    }
855
  else
856
    {
857
      p = 0; 
858
    }
859
  return p;
860
}
848
}
861
849
862
Ptr<Packet>
850
Ptr<Packet>
 Lines 864-879    Link Here 
864
                         Address &fromAddress)
852
                         Address &fromAddress)
865
{
853
{
866
  NS_LOG_FUNCTION (this << maxSize << flags);
854
  NS_LOG_FUNCTION (this << maxSize << flags);
867
  Ptr<Packet> packet = Recv (maxSize, flags);
855
868
  if (packet != 0)
856
  if (m_deliveryQueue.empty () )
869
    {
857
    {
870
      SocketAddressTag tag;
858
      m_errno = ERROR_AGAIN;
871
      bool found;
859
      return 0;
872
      found = packet->PeekPacketTag (tag);
873
      NS_ASSERT (found);
874
      fromAddress = tag.GetAddress ();
875
    }
860
    }
876
  return packet;
861
  Ptr<Packet> p = m_deliveryQueue.front ().first;
862
  fromAddress = m_deliveryQueue.front ().second;
863
864
  if (p->GetSize () <= maxSize)
865
    {
866
      m_deliveryQueue.pop ();
867
      m_rxAvailable -= p->GetSize ();
868
    }
869
  else
870
    {
871
      p = 0;
872
    }
873
  return p;
877
}
874
}
878
875
879
int
876
int
 Lines 1034-1043    Link Here 
1034
  if ((m_rxAvailable + packet->GetSize ()) <= m_rcvBufSize)
1031
  if ((m_rxAvailable + packet->GetSize ()) <= m_rcvBufSize)
1035
    {
1032
    {
1036
      Address address = InetSocketAddress (header.GetSource (), port);
1033
      Address address = InetSocketAddress (header.GetSource (), port);
1037
      SocketAddressTag tag;
1034
      m_deliveryQueue.push (std::make_pair (packet, address));
1038
      tag.SetAddress (address);
1039
      packet->AddPacketTag (tag);
1040
      m_deliveryQueue.push (packet);
1041
      m_rxAvailable += packet->GetSize ();
1035
      m_rxAvailable += packet->GetSize ();
1042
      NotifyDataRecv ();
1036
      NotifyDataRecv ();
1043
    }
1037
    }
 Lines 1063-1069    Link Here 
1063
      return;
1057
      return;
1064
    }
1058
    }
1065
1059
1066
  // Should check via getsockopt ()..
1060
  // Should check via getsockopt ().
1067
  if (IsRecvPktInfo ())
1061
  if (IsRecvPktInfo ())
1068
    {
1062
    {
1069
      Ipv6PacketInfoTag tag;
1063
      Ipv6PacketInfoTag tag;
 Lines 1072-1078    Link Here 
1072
      packet->AddPacketTag (tag);
1066
      packet->AddPacketTag (tag);
1073
    }
1067
    }
1074
1068
1075
  //Check only version 6 options
1069
  // Check only version 6 options
1076
  if (IsIpv6RecvTclass ())
1070
  if (IsIpv6RecvTclass ())
1077
    {
1071
    {
1078
      SocketIpv6TclassTag ipTclassTag;
1072
      SocketIpv6TclassTag ipTclassTag;
 Lines 1090-1099    Link Here 
1090
  if ((m_rxAvailable + packet->GetSize ()) <= m_rcvBufSize)
1084
  if ((m_rxAvailable + packet->GetSize ()) <= m_rcvBufSize)
1091
    {
1085
    {
1092
      Address address = Inet6SocketAddress (header.GetSourceAddress (), port);
1086
      Address address = Inet6SocketAddress (header.GetSourceAddress (), port);
1093
      SocketAddressTag tag;
1087
      m_deliveryQueue.push (std::make_pair (packet, address));
1094
      tag.SetAddress (address);
1095
      packet->AddPacketTag (tag);
1096
      m_deliveryQueue.push (packet);
1097
      m_rxAvailable += packet->GetSize ();
1088
      m_rxAvailable += packet->GetSize ();
1098
      NotifyDataRecv ();
1089
      NotifyDataRecv ();
1099
    }
1090
    }
(-)a/src/internet/model/udp-socket-impl.h (-1 / +1 lines)
 Lines 235-241    Link Here 
235
  bool                     m_connected;       //!< Connection established
235
  bool                     m_connected;       //!< Connection established
236
  bool                     m_allowBroadcast;  //!< Allow send broadcast packets
236
  bool                     m_allowBroadcast;  //!< Allow send broadcast packets
237
237
238
  std::queue<Ptr<Packet> > m_deliveryQueue; //!< Queue for incoming packets
238
  std::queue<std::pair<Ptr<Packet>, Address> > m_deliveryQueue; //!< Queue for incoming packets
239
  uint32_t m_rxAvailable;                   //!< Number of available bytes to be received
239
  uint32_t m_rxAvailable;                   //!< Number of available bytes to be received
240
240
241
  // Socket attributes
241
  // Socket attributes
(-)a/src/internet/test/ipv4-rip-test.cc (-4 / +3 lines)
 Lines 481-491    Link Here 
481
{
481
{
482
  uint32_t availableData;
482
  uint32_t availableData;
483
  availableData = socket->GetRxAvailable ();
483
  availableData = socket->GetRxAvailable ();
484
  Ptr<Packet> receivedPacketProbe = socket->Recv (std::numeric_limits<uint32_t>::max (), 0);
484
  Address srcAddr;
485
  Ptr<Packet> receivedPacketProbe = socket->RecvFrom (std::numeric_limits<uint32_t>::max (), 0, srcAddr);
485
  NS_ASSERT (availableData == receivedPacketProbe->GetSize ());
486
  NS_ASSERT (availableData == receivedPacketProbe->GetSize ());
486
  SocketAddressTag tag;
487
  Ipv4Address senderAddress = InetSocketAddress::ConvertFrom (srcAddr).GetIpv4 ();
487
  receivedPacketProbe->RemovePacketTag (tag);
488
  Ipv4Address senderAddress = InetSocketAddress::ConvertFrom (tag.GetAddress ()).GetIpv4 ();
489
488
490
  if (senderAddress == "192.168.0.2")
489
  if (senderAddress == "192.168.0.2")
491
    {
490
    {
(-)a/src/internet/test/ipv6-ripng-test.cc (-4 / +3 lines)
 Lines 479-489    Link Here 
479
{
479
{
480
  uint32_t availableData;
480
  uint32_t availableData;
481
  availableData = socket->GetRxAvailable ();
481
  availableData = socket->GetRxAvailable ();
482
  Ptr<Packet> receivedPacketProbe = socket->Recv (std::numeric_limits<uint32_t>::max (), 0);
482
  Address srcAddr;
483
  Ptr<Packet> receivedPacketProbe = socket->RecvFrom (std::numeric_limits<uint32_t>::max (), 0, srcAddr);
483
  NS_ASSERT (availableData == receivedPacketProbe->GetSize ());
484
  NS_ASSERT (availableData == receivedPacketProbe->GetSize ());
484
  SocketAddressTag tag;
485
  Ipv6Address senderAddress = Inet6SocketAddress::ConvertFrom (srcAddr).GetIpv6 ();
485
  receivedPacketProbe->RemovePacketTag (tag);
486
  Ipv6Address senderAddress = Inet6SocketAddress::ConvertFrom (tag.GetAddress ()).GetIpv6 ();
487
486
488
  if (senderAddress == "fe80::200:ff:fe00:4")
487
  if (senderAddress == "fe80::200:ff:fe00:4")
489
    {
488
    {
(-)a/src/lr-wpan/bindings/modulegen__gcc_ILP32.py (-17 / +8 lines)
 Lines 20-39    Link Here 
20
def register_types(module):
20
def register_types(module):
21
    root_module = module.get_root()
21
    root_module = module.get_root()
22
    
22
    
23
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyEnumeration [enumeration]
23
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyOption [enumeration]
24
    module.add_enum('LrWpanPhyEnumeration', ['IEEE_802_15_4_PHY_BUSY', 'IEEE_802_15_4_PHY_BUSY_RX', 'IEEE_802_15_4_PHY_BUSY_TX', 'IEEE_802_15_4_PHY_FORCE_TRX_OFF', 'IEEE_802_15_4_PHY_IDLE', 'IEEE_802_15_4_PHY_INVALID_PARAMETER', 'IEEE_802_15_4_PHY_RX_ON', 'IEEE_802_15_4_PHY_SUCCESS', 'IEEE_802_15_4_PHY_TRX_OFF', 'IEEE_802_15_4_PHY_TX_ON', 'IEEE_802_15_4_PHY_UNSUPPORTED_ATTRIBUTE', 'IEEE_802_15_4_PHY_READ_ONLY', 'IEEE_802_15_4_PHY_UNSPECIFIED'])
24
    module.add_enum('LrWpanPhyOption', ['IEEE_802_15_4_868MHZ_BPSK', 'IEEE_802_15_4_915MHZ_BPSK', 'IEEE_802_15_4_868MHZ_ASK', 'IEEE_802_15_4_915MHZ_ASK', 'IEEE_802_15_4_868MHZ_OQPSK', 'IEEE_802_15_4_915MHZ_OQPSK', 'IEEE_802_15_4_2_4GHZ_OQPSK', 'IEEE_802_15_4_INVALID_PHY_OPTION'])
25
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanTxOption [enumeration]
25
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanTxOption [enumeration]
26
    module.add_enum('LrWpanTxOption', ['TX_OPTION_NONE', 'TX_OPTION_ACK', 'TX_OPTION_GTS', 'TX_OPTION_INDIRECT'])
26
    module.add_enum('LrWpanTxOption', ['TX_OPTION_NONE', 'TX_OPTION_ACK', 'TX_OPTION_GTS', 'TX_OPTION_INDIRECT'])
27
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMcpsDataConfirmStatus [enumeration]
27
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMcpsDataConfirmStatus [enumeration]
28
    module.add_enum('LrWpanMcpsDataConfirmStatus', ['IEEE_802_15_4_SUCCESS', 'IEEE_802_15_4_TRANSACTION_OVERFLOW', 'IEEE_802_15_4_TRANSACTION_EXPIRED', 'IEEE_802_15_4_CHANNEL_ACCESS_FAILURE', 'IEEE_802_15_4_INVALID_ADDRESS', 'IEEE_802_15_4_INVALID_GTS', 'IEEE_802_15_4_NO_ACK', 'IEEE_802_15_4_COUNTER_ERROR', 'IEEE_802_15_4_FRAME_TOO_LONG', 'IEEE_802_15_4_UNAVAILABLE_KEY', 'IEEE_802_15_4_UNSUPPORTED_SECURITY', 'IEEE_802_15_4_INVALID_PARAMETER'])
28
    module.add_enum('LrWpanMcpsDataConfirmStatus', ['IEEE_802_15_4_SUCCESS', 'IEEE_802_15_4_TRANSACTION_OVERFLOW', 'IEEE_802_15_4_TRANSACTION_EXPIRED', 'IEEE_802_15_4_CHANNEL_ACCESS_FAILURE', 'IEEE_802_15_4_INVALID_ADDRESS', 'IEEE_802_15_4_INVALID_GTS', 'IEEE_802_15_4_NO_ACK', 'IEEE_802_15_4_COUNTER_ERROR', 'IEEE_802_15_4_FRAME_TOO_LONG', 'IEEE_802_15_4_UNAVAILABLE_KEY', 'IEEE_802_15_4_UNSUPPORTED_SECURITY', 'IEEE_802_15_4_INVALID_PARAMETER'])
29
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyEnumeration [enumeration]
30
    module.add_enum('LrWpanPhyEnumeration', ['IEEE_802_15_4_PHY_BUSY', 'IEEE_802_15_4_PHY_BUSY_RX', 'IEEE_802_15_4_PHY_BUSY_TX', 'IEEE_802_15_4_PHY_FORCE_TRX_OFF', 'IEEE_802_15_4_PHY_IDLE', 'IEEE_802_15_4_PHY_INVALID_PARAMETER', 'IEEE_802_15_4_PHY_RX_ON', 'IEEE_802_15_4_PHY_SUCCESS', 'IEEE_802_15_4_PHY_TRX_OFF', 'IEEE_802_15_4_PHY_TX_ON', 'IEEE_802_15_4_PHY_UNSUPPORTED_ATTRIBUTE', 'IEEE_802_15_4_PHY_READ_ONLY', 'IEEE_802_15_4_PHY_UNSPECIFIED'])
29
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPibAttributeIdentifier [enumeration]
31
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPibAttributeIdentifier [enumeration]
30
    module.add_enum('LrWpanPibAttributeIdentifier', ['phyCurrentChannel', 'phyChannelsSupported', 'phyTransmitPower', 'phyCCAMode', 'phyCurrentPage', 'phyMaxFrameDuration', 'phySHRDuration', 'phySymbolsPerOctet'])
32
    module.add_enum('LrWpanPibAttributeIdentifier', ['phyCurrentChannel', 'phyChannelsSupported', 'phyTransmitPower', 'phyCCAMode', 'phyCurrentPage', 'phyMaxFrameDuration', 'phySHRDuration', 'phySymbolsPerOctet'])
33
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAssociationStatus [enumeration]
34
    module.add_enum('LrWpanAssociationStatus', ['ASSOCIATED', 'PAN_AT_CAPACITY', 'PAN_ACCESS_DENIED', 'ASSOCIATED_WITHOUT_ADDRESS', 'DISASSOCIATED'])
31
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMacState [enumeration]
35
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMacState [enumeration]
32
    module.add_enum('LrWpanMacState', ['MAC_IDLE', 'MAC_CSMA', 'MAC_SENDING', 'MAC_ACK_PENDING', 'CHANNEL_ACCESS_FAILURE', 'CHANNEL_IDLE', 'SET_PHY_TX_ON'])
36
    module.add_enum('LrWpanMacState', ['MAC_IDLE', 'MAC_CSMA', 'MAC_SENDING', 'MAC_ACK_PENDING', 'CHANNEL_ACCESS_FAILURE', 'CHANNEL_IDLE', 'SET_PHY_TX_ON'])
33
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyOption [enumeration]
34
    module.add_enum('LrWpanPhyOption', ['IEEE_802_15_4_868MHZ_BPSK', 'IEEE_802_15_4_915MHZ_BPSK', 'IEEE_802_15_4_868MHZ_ASK', 'IEEE_802_15_4_915MHZ_ASK', 'IEEE_802_15_4_868MHZ_OQPSK', 'IEEE_802_15_4_915MHZ_OQPSK', 'IEEE_802_15_4_2_4GHZ_OQPSK', 'IEEE_802_15_4_INVALID_PHY_OPTION'])
35
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAssociationStatus [enumeration]
36
    module.add_enum('LrWpanAssociationStatus', ['ASSOCIATED', 'PAN_AT_CAPACITY', 'PAN_ACCESS_DENIED', 'ASSOCIATED_WITHOUT_ADDRESS', 'DISASSOCIATED'])
37
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAddressMode [enumeration]
37
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAddressMode [enumeration]
38
    module.add_enum('LrWpanAddressMode', ['NO_PANID_ADDR', 'ADDR_MODE_RESERVED', 'SHORT_ADDR', 'EXT_ADDR'])
38
    module.add_enum('LrWpanAddressMode', ['NO_PANID_ADDR', 'ADDR_MODE_RESERVED', 'SHORT_ADDR', 'EXT_ADDR'])
39
    ## address.h (module 'network'): ns3::Address [class]
39
    ## address.h (module 'network'): ns3::Address [class]
 Lines 1733-1742    Link Here 
1733
    return
1733
    return
1734
1734
1735
def register_Ns3LrWpanEdPower_methods(root_module, cls):
1735
def register_Ns3LrWpanEdPower_methods(root_module, cls):
1736
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::LrWpanEdPower() [constructor]
1737
    cls.add_constructor([])
1736
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::LrWpanEdPower(ns3::LrWpanEdPower const & arg0) [copy constructor]
1738
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::LrWpanEdPower(ns3::LrWpanEdPower const & arg0) [copy constructor]
1737
    cls.add_constructor([param('ns3::LrWpanEdPower const &', 'arg0')])
1739
    cls.add_constructor([param('ns3::LrWpanEdPower const &', 'arg0')])
1738
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::LrWpanEdPower() [constructor]
1739
    cls.add_constructor([])
1740
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::averagePower [variable]
1740
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::averagePower [variable]
1741
    cls.add_instance_attribute('averagePower', 'double', is_const=False)
1741
    cls.add_instance_attribute('averagePower', 'double', is_const=False)
1742
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::lastUpdate [variable]
1742
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanEdPower::lastUpdate [variable]
 Lines 5640-5654    Link Here 
5640
                   'ns3::TypeId', 
5640
                   'ns3::TypeId', 
5641
                   [], 
5641
                   [], 
5642
                   is_static=True)
5642
                   is_static=True)
5643
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5644
    cls.add_method('IsQueueDiscInstalled', 
5645
                   'bool', 
5646
                   [], 
5647
                   is_const=True)
5648
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5649
    cls.add_method('SetQueueDiscInstalled', 
5650
                   'void', 
5651
                   [param('bool', 'installed')])
5652
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5643
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5653
    cls.add_method('SetSelectQueueCallback', 
5644
    cls.add_method('SetSelectQueueCallback', 
5654
                   'void', 
5645
                   'void', 
(-)a/src/lr-wpan/bindings/modulegen__gcc_LP64.py (-15 / +6 lines)
 Lines 20-41    Link Here 
20
def register_types(module):
20
def register_types(module):
21
    root_module = module.get_root()
21
    root_module = module.get_root()
22
    
22
    
23
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPibAttributeIdentifier [enumeration]
24
    module.add_enum('LrWpanPibAttributeIdentifier', ['phyCurrentChannel', 'phyChannelsSupported', 'phyTransmitPower', 'phyCCAMode', 'phyCurrentPage', 'phyMaxFrameDuration', 'phySHRDuration', 'phySymbolsPerOctet'])
23
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanTxOption [enumeration]
25
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanTxOption [enumeration]
24
    module.add_enum('LrWpanTxOption', ['TX_OPTION_NONE', 'TX_OPTION_ACK', 'TX_OPTION_GTS', 'TX_OPTION_INDIRECT'])
26
    module.add_enum('LrWpanTxOption', ['TX_OPTION_NONE', 'TX_OPTION_ACK', 'TX_OPTION_GTS', 'TX_OPTION_INDIRECT'])
25
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyOption [enumeration]
27
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyOption [enumeration]
26
    module.add_enum('LrWpanPhyOption', ['IEEE_802_15_4_868MHZ_BPSK', 'IEEE_802_15_4_915MHZ_BPSK', 'IEEE_802_15_4_868MHZ_ASK', 'IEEE_802_15_4_915MHZ_ASK', 'IEEE_802_15_4_868MHZ_OQPSK', 'IEEE_802_15_4_915MHZ_OQPSK', 'IEEE_802_15_4_2_4GHZ_OQPSK', 'IEEE_802_15_4_INVALID_PHY_OPTION'])
28
    module.add_enum('LrWpanPhyOption', ['IEEE_802_15_4_868MHZ_BPSK', 'IEEE_802_15_4_915MHZ_BPSK', 'IEEE_802_15_4_868MHZ_ASK', 'IEEE_802_15_4_915MHZ_ASK', 'IEEE_802_15_4_868MHZ_OQPSK', 'IEEE_802_15_4_915MHZ_OQPSK', 'IEEE_802_15_4_2_4GHZ_OQPSK', 'IEEE_802_15_4_INVALID_PHY_OPTION'])
29
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMcpsDataConfirmStatus [enumeration]
30
    module.add_enum('LrWpanMcpsDataConfirmStatus', ['IEEE_802_15_4_SUCCESS', 'IEEE_802_15_4_TRANSACTION_OVERFLOW', 'IEEE_802_15_4_TRANSACTION_EXPIRED', 'IEEE_802_15_4_CHANNEL_ACCESS_FAILURE', 'IEEE_802_15_4_INVALID_ADDRESS', 'IEEE_802_15_4_INVALID_GTS', 'IEEE_802_15_4_NO_ACK', 'IEEE_802_15_4_COUNTER_ERROR', 'IEEE_802_15_4_FRAME_TOO_LONG', 'IEEE_802_15_4_UNAVAILABLE_KEY', 'IEEE_802_15_4_UNSUPPORTED_SECURITY', 'IEEE_802_15_4_INVALID_PARAMETER'])
27
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyEnumeration [enumeration]
31
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPhyEnumeration [enumeration]
28
    module.add_enum('LrWpanPhyEnumeration', ['IEEE_802_15_4_PHY_BUSY', 'IEEE_802_15_4_PHY_BUSY_RX', 'IEEE_802_15_4_PHY_BUSY_TX', 'IEEE_802_15_4_PHY_FORCE_TRX_OFF', 'IEEE_802_15_4_PHY_IDLE', 'IEEE_802_15_4_PHY_INVALID_PARAMETER', 'IEEE_802_15_4_PHY_RX_ON', 'IEEE_802_15_4_PHY_SUCCESS', 'IEEE_802_15_4_PHY_TRX_OFF', 'IEEE_802_15_4_PHY_TX_ON', 'IEEE_802_15_4_PHY_UNSUPPORTED_ATTRIBUTE', 'IEEE_802_15_4_PHY_READ_ONLY', 'IEEE_802_15_4_PHY_UNSPECIFIED'])
32
    module.add_enum('LrWpanPhyEnumeration', ['IEEE_802_15_4_PHY_BUSY', 'IEEE_802_15_4_PHY_BUSY_RX', 'IEEE_802_15_4_PHY_BUSY_TX', 'IEEE_802_15_4_PHY_FORCE_TRX_OFF', 'IEEE_802_15_4_PHY_IDLE', 'IEEE_802_15_4_PHY_INVALID_PARAMETER', 'IEEE_802_15_4_PHY_RX_ON', 'IEEE_802_15_4_PHY_SUCCESS', 'IEEE_802_15_4_PHY_TRX_OFF', 'IEEE_802_15_4_PHY_TX_ON', 'IEEE_802_15_4_PHY_UNSUPPORTED_ATTRIBUTE', 'IEEE_802_15_4_PHY_READ_ONLY', 'IEEE_802_15_4_PHY_UNSPECIFIED'])
29
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMcpsDataConfirmStatus [enumeration]
33
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAddressMode [enumeration]
30
    module.add_enum('LrWpanMcpsDataConfirmStatus', ['IEEE_802_15_4_SUCCESS', 'IEEE_802_15_4_TRANSACTION_OVERFLOW', 'IEEE_802_15_4_TRANSACTION_EXPIRED', 'IEEE_802_15_4_CHANNEL_ACCESS_FAILURE', 'IEEE_802_15_4_INVALID_ADDRESS', 'IEEE_802_15_4_INVALID_GTS', 'IEEE_802_15_4_NO_ACK', 'IEEE_802_15_4_COUNTER_ERROR', 'IEEE_802_15_4_FRAME_TOO_LONG', 'IEEE_802_15_4_UNAVAILABLE_KEY', 'IEEE_802_15_4_UNSUPPORTED_SECURITY', 'IEEE_802_15_4_INVALID_PARAMETER'])
34
    module.add_enum('LrWpanAddressMode', ['NO_PANID_ADDR', 'ADDR_MODE_RESERVED', 'SHORT_ADDR', 'EXT_ADDR'])
31
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAssociationStatus [enumeration]
35
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAssociationStatus [enumeration]
32
    module.add_enum('LrWpanAssociationStatus', ['ASSOCIATED', 'PAN_AT_CAPACITY', 'PAN_ACCESS_DENIED', 'ASSOCIATED_WITHOUT_ADDRESS', 'DISASSOCIATED'])
36
    module.add_enum('LrWpanAssociationStatus', ['ASSOCIATED', 'PAN_AT_CAPACITY', 'PAN_ACCESS_DENIED', 'ASSOCIATED_WITHOUT_ADDRESS', 'DISASSOCIATED'])
33
    ## lr-wpan-phy.h (module 'lr-wpan'): ns3::LrWpanPibAttributeIdentifier [enumeration]
34
    module.add_enum('LrWpanPibAttributeIdentifier', ['phyCurrentChannel', 'phyChannelsSupported', 'phyTransmitPower', 'phyCCAMode', 'phyCurrentPage', 'phyMaxFrameDuration', 'phySHRDuration', 'phySymbolsPerOctet'])
35
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMacState [enumeration]
37
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanMacState [enumeration]
36
    module.add_enum('LrWpanMacState', ['MAC_IDLE', 'MAC_CSMA', 'MAC_SENDING', 'MAC_ACK_PENDING', 'CHANNEL_ACCESS_FAILURE', 'CHANNEL_IDLE', 'SET_PHY_TX_ON'])
38
    module.add_enum('LrWpanMacState', ['MAC_IDLE', 'MAC_CSMA', 'MAC_SENDING', 'MAC_ACK_PENDING', 'CHANNEL_ACCESS_FAILURE', 'CHANNEL_IDLE', 'SET_PHY_TX_ON'])
37
    ## lr-wpan-mac.h (module 'lr-wpan'): ns3::LrWpanAddressMode [enumeration]
38
    module.add_enum('LrWpanAddressMode', ['NO_PANID_ADDR', 'ADDR_MODE_RESERVED', 'SHORT_ADDR', 'EXT_ADDR'])
39
    ## address.h (module 'network'): ns3::Address [class]
39
    ## address.h (module 'network'): ns3::Address [class]
40
    module.add_class('Address', import_from_module='ns.network')
40
    module.add_class('Address', import_from_module='ns.network')
41
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
41
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
 Lines 5640-5654    Link Here 
5640
                   'ns3::TypeId', 
5640
                   'ns3::TypeId', 
5641
                   [], 
5641
                   [], 
5642
                   is_static=True)
5642
                   is_static=True)
5643
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5644
    cls.add_method('IsQueueDiscInstalled', 
5645
                   'bool', 
5646
                   [], 
5647
                   is_const=True)
5648
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5649
    cls.add_method('SetQueueDiscInstalled', 
5650
                   'void', 
5651
                   [param('bool', 'installed')])
5652
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5643
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5653
    cls.add_method('SetSelectQueueCallback', 
5644
    cls.add_method('SetSelectQueueCallback', 
5654
                   'void', 
5645
                   'void', 
(-)a/src/lte/bindings/modulegen__gcc_ILP32.py (-69 / +11 lines)
 Lines 872-879    Link Here 
872
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
872
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
873
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
873
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
874
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
874
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
875
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
876
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
877
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
875
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
878
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
876
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
879
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
877
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 1392-1400    Link Here 
1392
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
1390
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
1393
    module.add_container('std::list< ns3::Ptr< ns3::LteControlMessage > >', 'ns3::Ptr< ns3::LteControlMessage >', container_type=u'list')
1391
    module.add_container('std::list< ns3::Ptr< ns3::LteControlMessage > >', 'ns3::Ptr< ns3::LteControlMessage >', container_type=u'list')
1394
    module.add_container('std::list< ns3::UlDciLteControlMessage >', 'ns3::UlDciLteControlMessage', container_type=u'list')
1392
    module.add_container('std::list< ns3::UlDciLteControlMessage >', 'ns3::UlDciLteControlMessage', container_type=u'list')
1395
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >', u'ns3::Uint32Map')
1396
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >*', u'ns3::Uint32Map*')
1397
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >&', u'ns3::Uint32Map&')
1398
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >', u'ns3::Uint64Map')
1393
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >', u'ns3::Uint64Map')
1399
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >*', u'ns3::Uint64Map*')
1394
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >*', u'ns3::Uint64Map*')
1400
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >&', u'ns3::Uint64Map&')
1395
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long long > > >&', u'ns3::Uint64Map&')
 Lines 1472-1492    Link Here 
1472
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >', u'ns3::DoubleMap')
1467
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >', u'ns3::DoubleMap')
1473
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >*', u'ns3::DoubleMap*')
1468
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >*', u'ns3::DoubleMap*')
1474
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >&', u'ns3::DoubleMap&')
1469
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >&', u'ns3::DoubleMap&')
1470
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >', u'ns3::Uint32Map')
1471
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >*', u'ns3::Uint32Map*')
1472
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >&', u'ns3::Uint32Map&')
1475
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LtePhyUlHarqFeedbackCallback')
1473
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LtePhyUlHarqFeedbackCallback')
1476
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LtePhyUlHarqFeedbackCallback*')
1474
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LtePhyUlHarqFeedbackCallback*')
1477
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LtePhyUlHarqFeedbackCallback&')
1475
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LtePhyUlHarqFeedbackCallback&')
1478
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >', u'ns3::Uint64StatsMap')
1479
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >*', u'ns3::Uint64StatsMap*')
1480
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >&', u'ns3::Uint64StatsMap&')
1481
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >', u'ns3::RlcPduList_t')
1476
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >', u'ns3::RlcPduList_t')
1482
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >*', u'ns3::RlcPduList_t*')
1477
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >*', u'ns3::RlcPduList_t*')
1483
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >&', u'ns3::RlcPduList_t&')
1478
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >&', u'ns3::RlcPduList_t&')
1484
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >', u'ns3::DlHarqProcessesDciBuffer_t')
1479
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >', u'ns3::DlHarqProcessesDciBuffer_t')
1485
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >*', u'ns3::DlHarqProcessesDciBuffer_t*')
1480
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >*', u'ns3::DlHarqProcessesDciBuffer_t*')
1486
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >&', u'ns3::DlHarqProcessesDciBuffer_t&')
1481
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >&', u'ns3::DlHarqProcessesDciBuffer_t&')
1487
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >', u'ns3::FlowIdMap')
1488
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >*', u'ns3::FlowIdMap*')
1489
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >&', u'ns3::FlowIdMap&')
1490
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LteChunkProcessorCallback')
1482
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LteChunkProcessorCallback')
1491
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LteChunkProcessorCallback*')
1483
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LteChunkProcessorCallback*')
1492
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LteChunkProcessorCallback&')
1484
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LteChunkProcessorCallback&')
 Lines 1497-1502    Link Here 
1497
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::DlHarqProcessesTimer_t')
1489
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::DlHarqProcessesTimer_t')
1498
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::DlHarqProcessesTimer_t*')
1490
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::DlHarqProcessesTimer_t*')
1499
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::DlHarqProcessesTimer_t&')
1491
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::DlHarqProcessesTimer_t&')
1492
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >', u'ns3::FlowIdMap')
1493
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >*', u'ns3::FlowIdMap*')
1494
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >&', u'ns3::FlowIdMap&')
1500
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >', u'ns3::Uint32StatsMap')
1495
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >', u'ns3::Uint32StatsMap')
1501
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >*', u'ns3::Uint32StatsMap*')
1496
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >*', u'ns3::Uint32StatsMap*')
1502
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >&', u'ns3::Uint32StatsMap&')
1497
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >&', u'ns3::Uint32StatsMap&')
 Lines 1506-1511    Link Here 
1506
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >', u'ns3::DlHarqProcessesBuffer_t')
1501
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >', u'ns3::DlHarqProcessesBuffer_t')
1507
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >*', u'ns3::DlHarqProcessesBuffer_t*')
1502
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >*', u'ns3::DlHarqProcessesBuffer_t*')
1508
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >&', u'ns3::DlHarqProcessesBuffer_t&')
1503
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >&', u'ns3::DlHarqProcessesBuffer_t&')
1504
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >', u'ns3::Uint64StatsMap')
1505
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >*', u'ns3::Uint64StatsMap*')
1506
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long long > > > > >&', u'ns3::Uint64StatsMap&')
1509
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::UlHarqProcessesStatus_t')
1507
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::UlHarqProcessesStatus_t')
1510
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::UlHarqProcessesStatus_t*')
1508
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::UlHarqProcessesStatus_t*')
1511
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::UlHarqProcessesStatus_t&')
1509
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::UlHarqProcessesStatus_t&')
 Lines 1970-1976    Link Here 
1970
    register_Ns3SimpleRefCount__Ns3X2CellInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2CellInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2CellInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2CellInfo> >'])
1968
    register_Ns3SimpleRefCount__Ns3X2CellInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2CellInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2CellInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2CellInfo> >'])
1971
    register_Ns3SimpleRefCount__Ns3X2IfaceInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2IfaceInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2IfaceInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2IfaceInfo> >'])
1969
    register_Ns3SimpleRefCount__Ns3X2IfaceInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2IfaceInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2IfaceInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2IfaceInfo> >'])
1972
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1970
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1973
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
1974
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1971
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1975
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1972
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1976
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
1973
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 8940-8947    Link Here 
8940
    return
8937
    return
8941
8938
8942
def register_Ns3Int64x64_t_methods(root_module, cls):
8939
def register_Ns3Int64x64_t_methods(root_module, cls):
8940
    cls.add_binary_comparison_operator('<=')
8943
    cls.add_binary_comparison_operator('!=')
8941
    cls.add_binary_comparison_operator('!=')
8944
    cls.add_binary_comparison_operator('<=')
8945
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
8942
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
8946
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8943
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8947
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8944
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
 Lines 10941-10992    Link Here 
10941
                   visibility='protected')
10938
                   visibility='protected')
10942
    return
10939
    return
10943
10940
10944
def register_Ns3SocketAddressTag_methods(root_module, cls):
10945
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
10946
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
10947
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
10948
    cls.add_constructor([])
10949
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
10950
    cls.add_method('Deserialize', 
10951
                   'void', 
10952
                   [param('ns3::TagBuffer', 'i')], 
10953
                   is_virtual=True)
10954
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
10955
    cls.add_method('GetAddress', 
10956
                   'ns3::Address', 
10957
                   [], 
10958
                   is_const=True)
10959
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
10960
    cls.add_method('GetInstanceTypeId', 
10961
                   'ns3::TypeId', 
10962
                   [], 
10963
                   is_const=True, is_virtual=True)
10964
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
10965
    cls.add_method('GetSerializedSize', 
10966
                   'uint32_t', 
10967
                   [], 
10968
                   is_const=True, is_virtual=True)
10969
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
10970
    cls.add_method('GetTypeId', 
10971
                   'ns3::TypeId', 
10972
                   [], 
10973
                   is_static=True)
10974
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
10975
    cls.add_method('Print', 
10976
                   'void', 
10977
                   [param('std::ostream &', 'os')], 
10978
                   is_const=True, is_virtual=True)
10979
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
10980
    cls.add_method('Serialize', 
10981
                   'void', 
10982
                   [param('ns3::TagBuffer', 'i')], 
10983
                   is_const=True, is_virtual=True)
10984
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
10985
    cls.add_method('SetAddress', 
10986
                   'void', 
10987
                   [param('ns3::Address', 'addr')])
10988
    return
10989
10990
def register_Ns3SocketIpTosTag_methods(root_module, cls):
10941
def register_Ns3SocketIpTosTag_methods(root_module, cls):
10991
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
10942
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
10992
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
10943
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 11464-11471    Link Here 
11464
    return
11415
    return
11465
11416
11466
def register_Ns3Time_methods(root_module, cls):
11417
def register_Ns3Time_methods(root_module, cls):
11418
    cls.add_binary_comparison_operator('<=')
11467
    cls.add_binary_comparison_operator('!=')
11419
    cls.add_binary_comparison_operator('!=')
11468
    cls.add_binary_comparison_operator('<=')
11469
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
11420
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
11470
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
11421
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
11471
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
11422
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
 Lines 18194-18208    Link Here 
18194
                   'ns3::TypeId', 
18145
                   'ns3::TypeId', 
18195
                   [], 
18146
                   [], 
18196
                   is_static=True)
18147
                   is_static=True)
18197
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
18198
    cls.add_method('IsQueueDiscInstalled', 
18199
                   'bool', 
18200
                   [], 
18201
                   is_const=True)
18202
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
18203
    cls.add_method('SetQueueDiscInstalled', 
18204
                   'void', 
18205
                   [param('bool', 'installed')])
18206
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
18148
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
18207
    cls.add_method('SetSelectQueueCallback', 
18149
    cls.add_method('SetSelectQueueCallback', 
18208
                   'void', 
18150
                   'void', 
(-)a/src/lte/bindings/modulegen__gcc_LP64.py (-69 / +11 lines)
 Lines 872-879    Link Here 
872
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
872
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
873
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
873
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
874
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
874
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
875
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
876
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
877
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
875
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
878
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
876
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
879
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
877
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 1392-1400    Link Here 
1392
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
1390
    module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map')
1393
    module.add_container('std::list< ns3::Ptr< ns3::LteControlMessage > >', 'ns3::Ptr< ns3::LteControlMessage >', container_type=u'list')
1391
    module.add_container('std::list< ns3::Ptr< ns3::LteControlMessage > >', 'ns3::Ptr< ns3::LteControlMessage >', container_type=u'list')
1394
    module.add_container('std::list< ns3::UlDciLteControlMessage >', 'ns3::UlDciLteControlMessage', container_type=u'list')
1392
    module.add_container('std::list< ns3::UlDciLteControlMessage >', 'ns3::UlDciLteControlMessage', container_type=u'list')
1395
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >', u'ns3::Uint32Map')
1396
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >*', u'ns3::Uint32Map*')
1397
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >&', u'ns3::Uint32Map&')
1398
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >', u'ns3::Uint64Map')
1393
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >', u'ns3::Uint64Map')
1399
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >*', u'ns3::Uint64Map*')
1394
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >*', u'ns3::Uint64Map*')
1400
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >&', u'ns3::Uint64Map&')
1395
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned long, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned long > > >&', u'ns3::Uint64Map&')
 Lines 1472-1492    Link Here 
1472
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >', u'ns3::DoubleMap')
1467
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >', u'ns3::DoubleMap')
1473
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >*', u'ns3::DoubleMap*')
1468
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >*', u'ns3::DoubleMap*')
1474
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >&', u'ns3::DoubleMap&')
1469
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, double, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, double > > >&', u'ns3::DoubleMap&')
1470
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >', u'ns3::Uint32Map')
1471
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >*', u'ns3::Uint32Map*')
1472
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, unsigned int, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, unsigned int > > >&', u'ns3::Uint32Map&')
1475
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LtePhyUlHarqFeedbackCallback')
1473
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LtePhyUlHarqFeedbackCallback')
1476
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LtePhyUlHarqFeedbackCallback*')
1474
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LtePhyUlHarqFeedbackCallback*')
1477
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LtePhyUlHarqFeedbackCallback&')
1475
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::UlInfoListElement_s, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LtePhyUlHarqFeedbackCallback&')
1478
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >', u'ns3::Uint64StatsMap')
1479
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >*', u'ns3::Uint64StatsMap*')
1480
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >&', u'ns3::Uint64StatsMap&')
1481
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >', u'ns3::RlcPduList_t')
1476
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >', u'ns3::RlcPduList_t')
1482
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >*', u'ns3::RlcPduList_t*')
1477
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >*', u'ns3::RlcPduList_t*')
1483
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >&', u'ns3::RlcPduList_t&')
1478
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > >, std::allocator< std::vector< ns3::RlcPduListElement_s, std::allocator< ns3::RlcPduListElement_s > > > >&', u'ns3::RlcPduList_t&')
1484
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >', u'ns3::DlHarqProcessesDciBuffer_t')
1479
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >', u'ns3::DlHarqProcessesDciBuffer_t')
1485
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >*', u'ns3::DlHarqProcessesDciBuffer_t*')
1480
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >*', u'ns3::DlHarqProcessesDciBuffer_t*')
1486
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >&', u'ns3::DlHarqProcessesDciBuffer_t&')
1481
    typehandlers.add_type_alias(u'std::vector< ns3::DlDciListElement_s, std::allocator< ns3::DlDciListElement_s > >&', u'ns3::DlHarqProcessesDciBuffer_t&')
1487
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >', u'ns3::FlowIdMap')
1488
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >*', u'ns3::FlowIdMap*')
1489
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >&', u'ns3::FlowIdMap&')
1490
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LteChunkProcessorCallback')
1482
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', u'ns3::LteChunkProcessorCallback')
1491
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LteChunkProcessorCallback*')
1483
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', u'ns3::LteChunkProcessorCallback*')
1492
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LteChunkProcessorCallback&')
1484
    typehandlers.add_type_alias(u'ns3::Callback< void, ns3::SpectrumValue const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', u'ns3::LteChunkProcessorCallback&')
 Lines 1497-1502    Link Here 
1497
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::DlHarqProcessesTimer_t')
1489
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::DlHarqProcessesTimer_t')
1498
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::DlHarqProcessesTimer_t*')
1490
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::DlHarqProcessesTimer_t*')
1499
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::DlHarqProcessesTimer_t&')
1491
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::DlHarqProcessesTimer_t&')
1492
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >', u'ns3::FlowIdMap')
1493
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >*', u'ns3::FlowIdMap*')
1494
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::LteFlowId_t, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::LteFlowId_t > > >&', u'ns3::FlowIdMap&')
1500
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >', u'ns3::Uint32StatsMap')
1495
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >', u'ns3::Uint32StatsMap')
1501
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >*', u'ns3::Uint32StatsMap*')
1496
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >*', u'ns3::Uint32StatsMap*')
1502
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >&', u'ns3::Uint32StatsMap&')
1497
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned int > > > > >&', u'ns3::Uint32StatsMap&')
 Lines 1506-1511    Link Here 
1506
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >', u'ns3::DlHarqProcessesBuffer_t')
1501
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >', u'ns3::DlHarqProcessesBuffer_t')
1507
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >*', u'ns3::DlHarqProcessesBuffer_t*')
1502
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >*', u'ns3::DlHarqProcessesBuffer_t*')
1508
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >&', u'ns3::DlHarqProcessesBuffer_t&')
1503
    typehandlers.add_type_alias(u'std::vector< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > >, std::allocator< std::vector< ns3::Ptr< ns3::PacketBurst >, std::allocator< ns3::Ptr< ns3::PacketBurst > > > > >&', u'ns3::DlHarqProcessesBuffer_t&')
1504
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >', u'ns3::Uint64StatsMap')
1505
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >*', u'ns3::Uint64StatsMap*')
1506
    typehandlers.add_type_alias(u'std::map< ns3::ImsiLcidPair_t, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > >, std::less< ns3::ImsiLcidPair_t >, std::allocator< std::pair< ns3::ImsiLcidPair_t const, ns3::Ptr< ns3::MinMaxAvgTotalCalculator< unsigned long > > > > >&', u'ns3::Uint64StatsMap&')
1509
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::UlHarqProcessesStatus_t')
1507
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >', u'ns3::UlHarqProcessesStatus_t')
1510
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::UlHarqProcessesStatus_t*')
1508
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >*', u'ns3::UlHarqProcessesStatus_t*')
1511
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::UlHarqProcessesStatus_t&')
1509
    typehandlers.add_type_alias(u'std::vector< unsigned char, std::allocator< unsigned char > >&', u'ns3::UlHarqProcessesStatus_t&')
 Lines 1970-1976    Link Here 
1970
    register_Ns3SimpleRefCount__Ns3X2CellInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2CellInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2CellInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2CellInfo> >'])
1968
    register_Ns3SimpleRefCount__Ns3X2CellInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2CellInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2CellInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2CellInfo> >'])
1971
    register_Ns3SimpleRefCount__Ns3X2IfaceInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2IfaceInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2IfaceInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2IfaceInfo> >'])
1969
    register_Ns3SimpleRefCount__Ns3X2IfaceInfo_Ns3Empty_Ns3DefaultDeleter__lt__ns3X2IfaceInfo__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::X2IfaceInfo, ns3::empty, ns3::DefaultDeleter<ns3::X2IfaceInfo> >'])
1972
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1970
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
1973
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
1974
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1971
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
1975
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1972
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
1976
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
1973
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 8940-8947    Link Here 
8940
    return
8937
    return
8941
8938
8942
def register_Ns3Int64x64_t_methods(root_module, cls):
8939
def register_Ns3Int64x64_t_methods(root_module, cls):
8940
    cls.add_binary_comparison_operator('<=')
8943
    cls.add_binary_comparison_operator('!=')
8941
    cls.add_binary_comparison_operator('!=')
8944
    cls.add_binary_comparison_operator('<=')
8945
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
8942
    cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', u'right'))
8946
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8943
    cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8947
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
8944
    cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', u'right'))
 Lines 10941-10992    Link Here 
10941
                   visibility='protected')
10938
                   visibility='protected')
10942
    return
10939
    return
10943
10940
10944
def register_Ns3SocketAddressTag_methods(root_module, cls):
10945
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
10946
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
10947
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
10948
    cls.add_constructor([])
10949
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
10950
    cls.add_method('Deserialize', 
10951
                   'void', 
10952
                   [param('ns3::TagBuffer', 'i')], 
10953
                   is_virtual=True)
10954
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
10955
    cls.add_method('GetAddress', 
10956
                   'ns3::Address', 
10957
                   [], 
10958
                   is_const=True)
10959
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
10960
    cls.add_method('GetInstanceTypeId', 
10961
                   'ns3::TypeId', 
10962
                   [], 
10963
                   is_const=True, is_virtual=True)
10964
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
10965
    cls.add_method('GetSerializedSize', 
10966
                   'uint32_t', 
10967
                   [], 
10968
                   is_const=True, is_virtual=True)
10969
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
10970
    cls.add_method('GetTypeId', 
10971
                   'ns3::TypeId', 
10972
                   [], 
10973
                   is_static=True)
10974
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
10975
    cls.add_method('Print', 
10976
                   'void', 
10977
                   [param('std::ostream &', 'os')], 
10978
                   is_const=True, is_virtual=True)
10979
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
10980
    cls.add_method('Serialize', 
10981
                   'void', 
10982
                   [param('ns3::TagBuffer', 'i')], 
10983
                   is_const=True, is_virtual=True)
10984
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
10985
    cls.add_method('SetAddress', 
10986
                   'void', 
10987
                   [param('ns3::Address', 'addr')])
10988
    return
10989
10990
def register_Ns3SocketIpTosTag_methods(root_module, cls):
10941
def register_Ns3SocketIpTosTag_methods(root_module, cls):
10991
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
10942
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
10992
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
10943
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 11464-11471    Link Here 
11464
    return
11415
    return
11465
11416
11466
def register_Ns3Time_methods(root_module, cls):
11417
def register_Ns3Time_methods(root_module, cls):
11418
    cls.add_binary_comparison_operator('<=')
11467
    cls.add_binary_comparison_operator('!=')
11419
    cls.add_binary_comparison_operator('!=')
11468
    cls.add_binary_comparison_operator('<=')
11469
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
11420
    cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', u'right'))
11470
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
11421
    cls.add_binary_numeric_operator('*', root_module['ns3::Time'], root_module['ns3::Time'], param('int64_t const &', u'right'))
11471
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
11422
    cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', u'right'))
 Lines 18194-18208    Link Here 
18194
                   'ns3::TypeId', 
18145
                   'ns3::TypeId', 
18195
                   [], 
18146
                   [], 
18196
                   is_static=True)
18147
                   is_static=True)
18197
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
18198
    cls.add_method('IsQueueDiscInstalled', 
18199
                   'bool', 
18200
                   [], 
18201
                   is_const=True)
18202
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
18203
    cls.add_method('SetQueueDiscInstalled', 
18204
                   'void', 
18205
                   [param('bool', 'installed')])
18206
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
18148
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
18207
    cls.add_method('SetSelectQueueCallback', 
18149
    cls.add_method('SetSelectQueueCallback', 
18208
                   'void', 
18150
                   'void', 
(-)a/src/lte/model/epc-enb-application.cc (-10 lines)
 Lines 243-253    Link Here 
243
  NS_ASSERT (socket == m_lteSocket);
243
  NS_ASSERT (socket == m_lteSocket);
244
  Ptr<Packet> packet = socket->Recv ();
244
  Ptr<Packet> packet = socket->Recv ();
245
245
246
  /// \internal
247
  /// Workaround for \bugid{231}
248
  SocketAddressTag satag;
249
  packet->RemovePacketTag (satag);
250
251
  EpsBearerTag tag;
246
  EpsBearerTag tag;
252
  bool found = packet->RemovePacketTag (tag);
247
  bool found = packet->RemovePacketTag (tag);
253
  NS_ASSERT (found);
248
  NS_ASSERT (found);
 Lines 280-290    Link Here 
280
  std::map<uint32_t, EpsFlowId_t>::iterator it = m_teidRbidMap.find (teid);
275
  std::map<uint32_t, EpsFlowId_t>::iterator it = m_teidRbidMap.find (teid);
281
  NS_ASSERT (it != m_teidRbidMap.end ());
276
  NS_ASSERT (it != m_teidRbidMap.end ());
282
277
283
  /// \internal
284
  /// Workaround for \bugid{231}
285
  SocketAddressTag tag;
286
  packet->RemovePacketTag (tag);
287
  
288
  SendToLteSocket (packet, it->second.m_rnti, it->second.m_bid);
278
  SendToLteSocket (packet, it->second.m_rnti, it->second.m_bid);
289
}
279
}
290
280
(-)a/src/lte/model/epc-sgw-pgw-application.cc (-5 lines)
 Lines 183-193    Link Here 
183
  packet->RemoveHeader (gtpu);
183
  packet->RemoveHeader (gtpu);
184
  uint32_t teid = gtpu.GetTeid ();
184
  uint32_t teid = gtpu.GetTeid ();
185
185
186
  /// \internal
187
  /// Workaround for \bugid{231}
188
  SocketAddressTag tag;
189
  packet->RemovePacketTag (tag);
190
191
  SendToTunDevice (packet, teid);
186
  SendToTunDevice (packet, teid);
192
}
187
}
193
188
(-)a/src/mesh/bindings/modulegen__gcc_ILP32.py (-11 / +59 lines)
 Lines 154-159    Link Here 
154
    module.add_class('TagBuffer', import_from_module='ns.network')
154
    module.add_class('TagBuffer', import_from_module='ns.network')
155
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
155
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
156
    module.add_class('TimeWithUnit', import_from_module='ns.core')
156
    module.add_class('TimeWithUnit', import_from_module='ns.core')
157
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
158
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
157
    ## type-id.h (module 'core'): ns3::TypeId [class]
159
    ## type-id.h (module 'core'): ns3::TypeId [class]
158
    module.add_class('TypeId', import_from_module='ns.core')
160
    module.add_class('TypeId', import_from_module='ns.core')
159
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
161
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
 Lines 714-719    Link Here 
714
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
716
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
715
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
717
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
716
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
718
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
719
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
717
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
720
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
718
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
721
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
719
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
722
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
 Lines 3300-3305    Link Here 
3300
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
3303
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
3301
    return
3304
    return
3302
3305
3306
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
3307
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
3308
    cls.add_constructor([])
3309
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
3310
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
3311
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
3312
    cls.add_constructor([param('unsigned int const &', 'v')])
3313
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
3314
    cls.add_method('Connect', 
3315
                   'void', 
3316
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
3317
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
3318
    cls.add_method('ConnectWithoutContext', 
3319
                   'void', 
3320
                   [param('ns3::CallbackBase const &', 'cb')])
3321
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
3322
    cls.add_method('Disconnect', 
3323
                   'void', 
3324
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
3325
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
3326
    cls.add_method('DisconnectWithoutContext', 
3327
                   'void', 
3328
                   [param('ns3::CallbackBase const &', 'cb')])
3329
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
3330
    cls.add_method('Get', 
3331
                   'unsigned int', 
3332
                   [], 
3333
                   is_const=True)
3334
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
3335
    cls.add_method('Set', 
3336
                   'void', 
3337
                   [param('unsigned int const &', 'v')])
3338
    return
3339
3303
def register_Ns3TypeId_methods(root_module, cls):
3340
def register_Ns3TypeId_methods(root_module, cls):
3304
    cls.add_binary_comparison_operator('!=')
3341
    cls.add_binary_comparison_operator('!=')
3305
    cls.add_binary_comparison_operator('<')
3342
    cls.add_binary_comparison_operator('<')
 Lines 6158-6163    Link Here 
6158
                   'void', 
6195
                   'void', 
6159
                   [param('ns3::WifiPhyStandard', 'standard')], 
6196
                   [param('ns3::WifiPhyStandard', 'standard')], 
6160
                   is_pure_virtual=True, is_virtual=True)
6197
                   is_pure_virtual=True, is_virtual=True)
6198
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
6199
    cls.add_method('DbToRatio', 
6200
                   'double', 
6201
                   [param('double', 'db')], 
6202
                   is_const=True)
6203
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
6204
    cls.add_method('DbmToW', 
6205
                   'double', 
6206
                   [param('double', 'dbm')], 
6207
                   is_const=True)
6161
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6208
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6162
    cls.add_method('GetBssMembershipSelector', 
6209
    cls.add_method('GetBssMembershipSelector', 
6163
                   'uint32_t', 
6210
                   'uint32_t', 
 Lines 6828-6833    Link Here 
6828
    cls.add_method('NotifyTxEnd', 
6875
    cls.add_method('NotifyTxEnd', 
6829
                   'void', 
6876
                   'void', 
6830
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
6877
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
6878
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
6879
    cls.add_method('RatioToDb', 
6880
                   'double', 
6881
                   [param('double', 'ratio')], 
6882
                   is_const=True)
6831
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
6883
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
6832
    cls.add_method('RegisterListener', 
6884
    cls.add_method('RegisterListener', 
6833
                   'void', 
6885
                   'void', 
 Lines 6888-6897    Link Here 
6888
                   'void', 
6940
                   'void', 
6889
                   [param('uint32_t', 'tx')], 
6941
                   [param('uint32_t', 'tx')], 
6890
                   is_pure_virtual=True, is_virtual=True)
6942
                   is_pure_virtual=True, is_virtual=True)
6891
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6943
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6892
    cls.add_method('SetReceiveErrorCallback', 
6944
    cls.add_method('SetReceiveErrorCallback', 
6893
                   'void', 
6945
                   'void', 
6894
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
6946
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
6895
                   is_pure_virtual=True, is_virtual=True)
6947
                   is_pure_virtual=True, is_virtual=True)
6896
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6948
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6897
    cls.add_method('SetReceiveOkCallback', 
6949
    cls.add_method('SetReceiveOkCallback', 
 Lines 6918-6923    Link Here 
6918
                   'void', 
6970
                   'void', 
6919
                   [param('ns3::WifiPhyListener *', 'listener')], 
6971
                   [param('ns3::WifiPhyListener *', 'listener')], 
6920
                   is_pure_virtual=True, is_virtual=True)
6972
                   is_pure_virtual=True, is_virtual=True)
6973
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
6974
    cls.add_method('WToDbm', 
6975
                   'double', 
6976
                   [param('double', 'w')], 
6977
                   is_const=True)
6921
    return
6978
    return
6922
6979
6923
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
6980
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 9782-9796    Link Here 
9782
                   'ns3::TypeId', 
9839
                   'ns3::TypeId', 
9783
                   [], 
9840
                   [], 
9784
                   is_static=True)
9841
                   is_static=True)
9785
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
9786
    cls.add_method('IsQueueDiscInstalled', 
9787
                   'bool', 
9788
                   [], 
9789
                   is_const=True)
9790
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
9791
    cls.add_method('SetQueueDiscInstalled', 
9792
                   'void', 
9793
                   [param('bool', 'installed')])
9794
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
9842
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
9795
    cls.add_method('SetSelectQueueCallback', 
9843
    cls.add_method('SetSelectQueueCallback', 
9796
                   'void', 
9844
                   'void', 
(-)a/src/mesh/bindings/modulegen__gcc_LP64.py (-11 / +59 lines)
 Lines 154-159    Link Here 
154
    module.add_class('TagBuffer', import_from_module='ns.network')
154
    module.add_class('TagBuffer', import_from_module='ns.network')
155
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
155
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
156
    module.add_class('TimeWithUnit', import_from_module='ns.core')
156
    module.add_class('TimeWithUnit', import_from_module='ns.core')
157
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
158
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
157
    ## type-id.h (module 'core'): ns3::TypeId [class]
159
    ## type-id.h (module 'core'): ns3::TypeId [class]
158
    module.add_class('TypeId', import_from_module='ns.core')
160
    module.add_class('TypeId', import_from_module='ns.core')
159
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
161
    ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration]
 Lines 714-719    Link Here 
714
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
716
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
715
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
717
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
716
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
718
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
719
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
717
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
720
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
718
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
721
    register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation'])
719
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
722
    register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation'])
 Lines 3300-3305    Link Here 
3300
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
3303
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
3301
    return
3304
    return
3302
3305
3306
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
3307
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
3308
    cls.add_constructor([])
3309
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
3310
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
3311
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
3312
    cls.add_constructor([param('unsigned int const &', 'v')])
3313
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
3314
    cls.add_method('Connect', 
3315
                   'void', 
3316
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
3317
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
3318
    cls.add_method('ConnectWithoutContext', 
3319
                   'void', 
3320
                   [param('ns3::CallbackBase const &', 'cb')])
3321
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
3322
    cls.add_method('Disconnect', 
3323
                   'void', 
3324
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
3325
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
3326
    cls.add_method('DisconnectWithoutContext', 
3327
                   'void', 
3328
                   [param('ns3::CallbackBase const &', 'cb')])
3329
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
3330
    cls.add_method('Get', 
3331
                   'unsigned int', 
3332
                   [], 
3333
                   is_const=True)
3334
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
3335
    cls.add_method('Set', 
3336
                   'void', 
3337
                   [param('unsigned int const &', 'v')])
3338
    return
3339
3303
def register_Ns3TypeId_methods(root_module, cls):
3340
def register_Ns3TypeId_methods(root_module, cls):
3304
    cls.add_binary_comparison_operator('!=')
3341
    cls.add_binary_comparison_operator('!=')
3305
    cls.add_binary_comparison_operator('<')
3342
    cls.add_binary_comparison_operator('<')
 Lines 6158-6163    Link Here 
6158
                   'void', 
6195
                   'void', 
6159
                   [param('ns3::WifiPhyStandard', 'standard')], 
6196
                   [param('ns3::WifiPhyStandard', 'standard')], 
6160
                   is_pure_virtual=True, is_virtual=True)
6197
                   is_pure_virtual=True, is_virtual=True)
6198
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
6199
    cls.add_method('DbToRatio', 
6200
                   'double', 
6201
                   [param('double', 'db')], 
6202
                   is_const=True)
6203
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
6204
    cls.add_method('DbmToW', 
6205
                   'double', 
6206
                   [param('double', 'dbm')], 
6207
                   is_const=True)
6161
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6208
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
6162
    cls.add_method('GetBssMembershipSelector', 
6209
    cls.add_method('GetBssMembershipSelector', 
6163
                   'uint32_t', 
6210
                   'uint32_t', 
 Lines 6828-6833    Link Here 
6828
    cls.add_method('NotifyTxEnd', 
6875
    cls.add_method('NotifyTxEnd', 
6829
                   'void', 
6876
                   'void', 
6830
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
6877
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
6878
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
6879
    cls.add_method('RatioToDb', 
6880
                   'double', 
6881
                   [param('double', 'ratio')], 
6882
                   is_const=True)
6831
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
6883
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
6832
    cls.add_method('RegisterListener', 
6884
    cls.add_method('RegisterListener', 
6833
                   'void', 
6885
                   'void', 
 Lines 6888-6897    Link Here 
6888
                   'void', 
6940
                   'void', 
6889
                   [param('uint32_t', 'tx')], 
6941
                   [param('uint32_t', 'tx')], 
6890
                   is_pure_virtual=True, is_virtual=True)
6942
                   is_pure_virtual=True, is_virtual=True)
6891
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6943
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6892
    cls.add_method('SetReceiveErrorCallback', 
6944
    cls.add_method('SetReceiveErrorCallback', 
6893
                   'void', 
6945
                   'void', 
6894
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
6946
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
6895
                   is_pure_virtual=True, is_virtual=True)
6947
                   is_pure_virtual=True, is_virtual=True)
6896
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6948
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
6897
    cls.add_method('SetReceiveOkCallback', 
6949
    cls.add_method('SetReceiveOkCallback', 
 Lines 6918-6923    Link Here 
6918
                   'void', 
6970
                   'void', 
6919
                   [param('ns3::WifiPhyListener *', 'listener')], 
6971
                   [param('ns3::WifiPhyListener *', 'listener')], 
6920
                   is_pure_virtual=True, is_virtual=True)
6972
                   is_pure_virtual=True, is_virtual=True)
6973
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
6974
    cls.add_method('WToDbm', 
6975
                   'double', 
6976
                   [param('double', 'w')], 
6977
                   is_const=True)
6921
    return
6978
    return
6922
6979
6923
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
6980
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 9782-9796    Link Here 
9782
                   'ns3::TypeId', 
9839
                   'ns3::TypeId', 
9783
                   [], 
9840
                   [], 
9784
                   is_static=True)
9841
                   is_static=True)
9785
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
9786
    cls.add_method('IsQueueDiscInstalled', 
9787
                   'bool', 
9788
                   [], 
9789
                   is_const=True)
9790
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
9791
    cls.add_method('SetQueueDiscInstalled', 
9792
                   'void', 
9793
                   [param('bool', 'installed')])
9794
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
9842
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
9795
    cls.add_method('SetSelectQueueCallback', 
9843
    cls.add_method('SetSelectQueueCallback', 
9796
                   'void', 
9844
                   'void', 
(-)a/src/mobility/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 3771-3785    Link Here 
3771
                   'ns3::TypeId', 
3771
                   'ns3::TypeId', 
3772
                   [], 
3772
                   [], 
3773
                   is_static=True)
3773
                   is_static=True)
3774
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
3775
    cls.add_method('IsQueueDiscInstalled', 
3776
                   'bool', 
3777
                   [], 
3778
                   is_const=True)
3779
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
3780
    cls.add_method('SetQueueDiscInstalled', 
3781
                   'void', 
3782
                   [param('bool', 'installed')])
3783
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3774
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3784
    cls.add_method('SetSelectQueueCallback', 
3775
    cls.add_method('SetSelectQueueCallback', 
3785
                   'void', 
3776
                   'void', 
(-)a/src/mobility/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 3771-3785    Link Here 
3771
                   'ns3::TypeId', 
3771
                   'ns3::TypeId', 
3772
                   [], 
3772
                   [], 
3773
                   is_static=True)
3773
                   is_static=True)
3774
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
3775
    cls.add_method('IsQueueDiscInstalled', 
3776
                   'bool', 
3777
                   [], 
3778
                   is_const=True)
3779
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
3780
    cls.add_method('SetQueueDiscInstalled', 
3781
                   'void', 
3782
                   [param('bool', 'installed')])
3783
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3774
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3784
    cls.add_method('SetSelectQueueCallback', 
3775
    cls.add_method('SetSelectQueueCallback', 
3785
                   'void', 
3776
                   'void', 
(-)a/src/network/bindings/modulegen__gcc_ILP32.py (-49 lines)
 Lines 274-281    Link Here 
274
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'])
274
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'])
275
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
275
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
276
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'])
276
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'])
277
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
278
    module.add_class('SocketAddressTag', parent=root_module['ns3::Tag'])
279
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
277
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
280
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
278
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
281
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
279
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 724-730    Link Here 
724
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
722
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
725
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
723
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
726
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
724
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
727
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
728
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
725
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
729
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
726
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
730
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
727
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 5390-5441    Link Here 
5390
                   visibility='protected')
5387
                   visibility='protected')
5391
    return
5388
    return
5392
5389
5393
def register_Ns3SocketAddressTag_methods(root_module, cls):
5394
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5395
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5396
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5397
    cls.add_constructor([])
5398
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5399
    cls.add_method('Deserialize', 
5400
                   'void', 
5401
                   [param('ns3::TagBuffer', 'i')], 
5402
                   is_virtual=True)
5403
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5404
    cls.add_method('GetAddress', 
5405
                   'ns3::Address', 
5406
                   [], 
5407
                   is_const=True)
5408
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5409
    cls.add_method('GetInstanceTypeId', 
5410
                   'ns3::TypeId', 
5411
                   [], 
5412
                   is_const=True, is_virtual=True)
5413
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5414
    cls.add_method('GetSerializedSize', 
5415
                   'uint32_t', 
5416
                   [], 
5417
                   is_const=True, is_virtual=True)
5418
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5419
    cls.add_method('GetTypeId', 
5420
                   'ns3::TypeId', 
5421
                   [], 
5422
                   is_static=True)
5423
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5424
    cls.add_method('Print', 
5425
                   'void', 
5426
                   [param('std::ostream &', 'os')], 
5427
                   is_const=True, is_virtual=True)
5428
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5429
    cls.add_method('Serialize', 
5430
                   'void', 
5431
                   [param('ns3::TagBuffer', 'i')], 
5432
                   is_const=True, is_virtual=True)
5433
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5434
    cls.add_method('SetAddress', 
5435
                   'void', 
5436
                   [param('ns3::Address', 'addr')])
5437
    return
5438
5439
def register_Ns3SocketFactory_methods(root_module, cls):
5390
def register_Ns3SocketFactory_methods(root_module, cls):
5440
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5391
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5441
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
5392
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
(-)a/src/network/bindings/modulegen__gcc_LP64.py (-49 lines)
 Lines 274-281    Link Here 
274
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'])
274
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'])
275
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
275
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
276
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'])
276
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'])
277
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
278
    module.add_class('SocketAddressTag', parent=root_module['ns3::Tag'])
279
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
277
    ## socket-factory.h (module 'network'): ns3::SocketFactory [class]
280
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
278
    module.add_class('SocketFactory', parent=root_module['ns3::Object'])
281
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
279
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
 Lines 724-730    Link Here 
724
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
722
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
725
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
723
    register_Ns3SllHeader_methods(root_module, root_module['ns3::SllHeader'])
726
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
724
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
727
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
728
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
725
    register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory'])
729
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
726
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
730
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
727
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
 Lines 5390-5441    Link Here 
5390
                   visibility='protected')
5387
                   visibility='protected')
5391
    return
5388
    return
5392
5389
5393
def register_Ns3SocketAddressTag_methods(root_module, cls):
5394
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
5395
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
5396
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
5397
    cls.add_constructor([])
5398
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
5399
    cls.add_method('Deserialize', 
5400
                   'void', 
5401
                   [param('ns3::TagBuffer', 'i')], 
5402
                   is_virtual=True)
5403
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
5404
    cls.add_method('GetAddress', 
5405
                   'ns3::Address', 
5406
                   [], 
5407
                   is_const=True)
5408
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
5409
    cls.add_method('GetInstanceTypeId', 
5410
                   'ns3::TypeId', 
5411
                   [], 
5412
                   is_const=True, is_virtual=True)
5413
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
5414
    cls.add_method('GetSerializedSize', 
5415
                   'uint32_t', 
5416
                   [], 
5417
                   is_const=True, is_virtual=True)
5418
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
5419
    cls.add_method('GetTypeId', 
5420
                   'ns3::TypeId', 
5421
                   [], 
5422
                   is_static=True)
5423
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
5424
    cls.add_method('Print', 
5425
                   'void', 
5426
                   [param('std::ostream &', 'os')], 
5427
                   is_const=True, is_virtual=True)
5428
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
5429
    cls.add_method('Serialize', 
5430
                   'void', 
5431
                   [param('ns3::TagBuffer', 'i')], 
5432
                   is_const=True, is_virtual=True)
5433
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
5434
    cls.add_method('SetAddress', 
5435
                   'void', 
5436
                   [param('ns3::Address', 'addr')])
5437
    return
5438
5439
def register_Ns3SocketFactory_methods(root_module, cls):
5390
def register_Ns3SocketFactory_methods(root_module, cls):
5440
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5391
    ## socket-factory.h (module 'network'): ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor]
5441
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
5392
    cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')])
(-)a/src/network/model/socket.cc (-61 lines)
 Lines 546-612    Link Here 
546
 *           Socket Tags
546
 *           Socket Tags
547
 ***************************************************************/
547
 ***************************************************************/
548
548
549
SocketAddressTag::SocketAddressTag ()
550
{
551
  NS_LOG_FUNCTION (this);
552
}
553
554
void 
555
SocketAddressTag::SetAddress (Address addr)
556
{
557
  NS_LOG_FUNCTION (this << addr);
558
  m_address = addr;
559
}
560
561
Address 
562
SocketAddressTag::GetAddress (void) const
563
{
564
  NS_LOG_FUNCTION (this);
565
  return m_address;
566
}
567
568
NS_OBJECT_ENSURE_REGISTERED (SocketAddressTag);
569
570
TypeId
571
SocketAddressTag::GetTypeId (void)
572
{
573
  static TypeId tid = TypeId ("ns3::SocketAddressTag")
574
    .SetParent<Tag> ()
575
    .SetGroupName("Network")
576
    .AddConstructor<SocketAddressTag> ()
577
  ;
578
  return tid;
579
}
580
TypeId
581
SocketAddressTag::GetInstanceTypeId (void) const
582
{
583
  return GetTypeId ();
584
}
585
uint32_t
586
SocketAddressTag::GetSerializedSize (void) const
587
{
588
  NS_LOG_FUNCTION (this);
589
  return m_address.GetSerializedSize ();
590
}
591
void
592
SocketAddressTag::Serialize (TagBuffer i) const
593
{
594
  NS_LOG_FUNCTION (this << &i);
595
  m_address.Serialize (i);
596
}
597
void
598
SocketAddressTag::Deserialize (TagBuffer i)
599
{
600
  NS_LOG_FUNCTION (this << &i);
601
  m_address.Deserialize (i);
602
}
603
void
604
SocketAddressTag::Print (std::ostream &os) const
605
{
606
  NS_LOG_FUNCTION (this << &os);
607
  os << "address=" << m_address;
608
}
609
610
SocketIpTtlTag::SocketIpTtlTag ()
549
SocketIpTtlTag::SocketIpTtlTag ()
611
{
550
{
612
  NS_LOG_FUNCTION (this);
551
  NS_LOG_FUNCTION (this);
(-)a/src/network/model/socket.h (-48 lines)
 Lines 999-1052    Link Here 
999
};
999
};
1000
1000
1001
/**
1001
/**
1002
 * \brief This class implements a tag that carries an address
1003
 * of a packet across the socket interface.
1004
 */
1005
class SocketAddressTag : public Tag
1006
{
1007
public:
1008
  SocketAddressTag ();
1009
1010
  /**
1011
   * \brief Set the tag's address
1012
   *
1013
   * \param addr the address
1014
   */
1015
  void SetAddress (Address addr);
1016
1017
  /**
1018
   * \brief Get the tag's address
1019
   *
1020
   * \returns the address
1021
   */
1022
  Address GetAddress (void) const;
1023
1024
  /**
1025
   * \brief Get the type ID.
1026
   * \return the object TypeId
1027
   */
1028
  static TypeId GetTypeId (void);
1029
1030
  // inherited function, no need to doc.
1031
  virtual TypeId GetInstanceTypeId (void) const;
1032
1033
  // inherited function, no need to doc.
1034
  virtual uint32_t GetSerializedSize (void) const;
1035
1036
  // inherited function, no need to doc.
1037
  virtual void Serialize (TagBuffer i) const;
1038
1039
  // inherited function, no need to doc.
1040
  virtual void Deserialize (TagBuffer i);
1041
1042
  // inherited function, no need to doc.
1043
  virtual void Print (std::ostream &os) const;
1044
1045
private:
1046
  Address m_address; //!< the address carried by the tag
1047
};
1048
1049
/**
1050
 * \brief This class implements a tag that carries the socket-specific
1002
 * \brief This class implements a tag that carries the socket-specific
1051
 * TTL of a packet to the IP layer
1003
 * TTL of a packet to the IP layer
1052
 */
1004
 */
(-)a/src/network/utils/packet-socket.cc (-21 / +15 lines)
 Lines 397-408    Link Here 
397
      PacketSocketTag pst;
397
      PacketSocketTag pst;
398
      pst.SetPacketType (packetType);
398
      pst.SetPacketType (packetType);
399
      pst.SetDestAddress (to);
399
      pst.SetDestAddress (to);
400
      SocketAddressTag tag;
401
      tag.SetAddress (address);
402
      copy->AddPacketTag (tag); // Attach From Physical Address
403
      copy->AddPacketTag (pst); // Attach Packet Type and Dest Address
400
      copy->AddPacketTag (pst); // Attach Packet Type and Dest Address
404
      copy->AddPacketTag (dnt); // Attach device source name
401
      copy->AddPacketTag (dnt); // Attach device source name
405
      m_deliveryQueue.push (copy);
402
      m_deliveryQueue.push (std::make_pair (copy, address));
406
      m_rxAvailable += packet->GetSize ();
403
      m_rxAvailable += packet->GetSize ();
407
      NS_LOG_LOGIC ("UID is " << packet->GetUid () << " PacketSocket " << this);
404
      NS_LOG_LOGIC ("UID is " << packet->GetUid () << " PacketSocket " << this);
408
      NotifyDataRecv ();
405
      NotifyDataRecv ();
 Lines 432-442    Link Here 
432
PacketSocket::Recv (uint32_t maxSize, uint32_t flags)
429
PacketSocket::Recv (uint32_t maxSize, uint32_t flags)
433
{
430
{
434
  NS_LOG_FUNCTION (this << maxSize << flags);
431
  NS_LOG_FUNCTION (this << maxSize << flags);
432
433
  Address fromAddress;
434
  Ptr<Packet> packet = RecvFrom (maxSize, flags, fromAddress);
435
  return packet;
436
}
437
438
Ptr<Packet>
439
PacketSocket::RecvFrom (uint32_t maxSize, uint32_t flags, Address &fromAddress)
440
{
441
  NS_LOG_FUNCTION (this << maxSize << flags);
442
435
  if (m_deliveryQueue.empty () )
443
  if (m_deliveryQueue.empty () )
436
    {
444
    {
437
      return 0;
445
      return 0;
438
    }
446
    }
439
  Ptr<Packet> p = m_deliveryQueue.front ();
447
  Ptr<Packet> p = m_deliveryQueue.front ().first;
448
  fromAddress = m_deliveryQueue.front ().second;
449
440
  if (p->GetSize () <= maxSize)
450
  if (p->GetSize () <= maxSize)
441
    {
451
    {
442
      m_deliveryQueue.pop ();
452
      m_deliveryQueue.pop ();
 Lines 449-470    Link Here 
449
  return p;
459
  return p;
450
}
460
}
451
461
452
Ptr<Packet>
453
PacketSocket::RecvFrom (uint32_t maxSize, uint32_t flags, Address &fromAddress)
454
{
455
  NS_LOG_FUNCTION (this << maxSize << flags << fromAddress);
456
  Ptr<Packet> packet = Recv (maxSize, flags);
457
  if (packet != 0)
458
    {
459
      SocketAddressTag tag;
460
      bool found;
461
      found = packet->PeekPacketTag (tag);
462
      NS_ASSERT (found);
463
      fromAddress = tag.GetAddress ();
464
    }
465
  return packet;
466
}
467
468
int
462
int
469
PacketSocket::GetSockName (Address &address) const
463
PacketSocket::GetSockName (Address &address) const
470
{
464
{
(-)a/src/network/utils/packet-socket.h (-1 / +16 lines)
 Lines 74-80    Link Here 
74
 * - Accept: not allowed
74
 * - Accept: not allowed
75
 *
75
 *
76
 * - Listen: returns -1 (OPNOTSUPP)
76
 * - Listen: returns -1 (OPNOTSUPP)
77
 *
78
 * Socket data that is read from this socket using the methods returning
79
 * an ns3::Packet object (i.e., Recv (), RecvMsg (), RecvFrom ()) will
80
 * return Packet objects with three PacketTag objects attached.
81
 * Applications may wish to read the extra out-of-band data provided in
82
 * these tags, and may safely remove the tags from the Packet.
83
 *
84
 * - PacketSocketTag: contains destination address (type PacketSocketAddress)
85
 *   and packet type of the received packet
86
 *
87
 * - DeviceNameTag:  contains the TypeId string of the relevant NetDevice
88
 *
89
 * \see class PacketSocketTag
90
 * \see class DeviceNameTag
77
 */
91
 */
92
78
class PacketSocket : public Socket
93
class PacketSocket : public Socket
79
{
94
{
80
public:
95
public:
 Lines 187-193    Link Here 
187
  uint32_t m_device;        //!< index of the bound NetDevice
202
  uint32_t m_device;        //!< index of the bound NetDevice
188
  Address m_destAddr;       //!< Default destination address
203
  Address m_destAddr;       //!< Default destination address
189
204
190
  std::queue<Ptr<Packet> > m_deliveryQueue; //!< Rx queue
205
  std::queue<std::pair<Ptr<Packet>, Address> > m_deliveryQueue; //!< Rx queue
191
  uint32_t m_rxAvailable; //!< Rx queue size [Bytes]
206
  uint32_t m_rxAvailable; //!< Rx queue size [Bytes]
192
207
193
  /// Traced callback: dropped packets
208
  /// Traced callback: dropped packets
(-)a/src/nix-vector-routing/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 184-191    Link Here 
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
187
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
188
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
189
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
187
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
190
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
188
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
191
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
189
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 427-433    Link Here 
427
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
425
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
428
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
426
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
429
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
427
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
430
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
431
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
428
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
432
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
429
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
433
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
430
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3487-3538    Link Here 
3487
                   visibility='protected')
3484
                   visibility='protected')
3488
    return
3485
    return
3489
3486
3490
def register_Ns3SocketAddressTag_methods(root_module, cls):
3491
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3492
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3493
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3494
    cls.add_constructor([])
3495
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3496
    cls.add_method('Deserialize', 
3497
                   'void', 
3498
                   [param('ns3::TagBuffer', 'i')], 
3499
                   is_virtual=True)
3500
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3501
    cls.add_method('GetAddress', 
3502
                   'ns3::Address', 
3503
                   [], 
3504
                   is_const=True)
3505
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3506
    cls.add_method('GetInstanceTypeId', 
3507
                   'ns3::TypeId', 
3508
                   [], 
3509
                   is_const=True, is_virtual=True)
3510
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3511
    cls.add_method('GetSerializedSize', 
3512
                   'uint32_t', 
3513
                   [], 
3514
                   is_const=True, is_virtual=True)
3515
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3516
    cls.add_method('GetTypeId', 
3517
                   'ns3::TypeId', 
3518
                   [], 
3519
                   is_static=True)
3520
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3521
    cls.add_method('Print', 
3522
                   'void', 
3523
                   [param('std::ostream &', 'os')], 
3524
                   is_const=True, is_virtual=True)
3525
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3526
    cls.add_method('Serialize', 
3527
                   'void', 
3528
                   [param('ns3::TagBuffer', 'i')], 
3529
                   is_const=True, is_virtual=True)
3530
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3531
    cls.add_method('SetAddress', 
3532
                   'void', 
3533
                   [param('ns3::Address', 'addr')])
3534
    return
3535
3536
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3487
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3537
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3488
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3538
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3489
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4987-5001    Link Here 
4987
                   'ns3::TypeId', 
4938
                   'ns3::TypeId', 
4988
                   [], 
4939
                   [], 
4989
                   is_static=True)
4940
                   is_static=True)
4990
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4991
    cls.add_method('IsQueueDiscInstalled', 
4992
                   'bool', 
4993
                   [], 
4994
                   is_const=True)
4995
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4996
    cls.add_method('SetQueueDiscInstalled', 
4997
                   'void', 
4998
                   [param('bool', 'installed')])
4999
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4941
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5000
    cls.add_method('SetSelectQueueCallback', 
4942
    cls.add_method('SetSelectQueueCallback', 
5001
                   'void', 
4943
                   'void', 
(-)a/src/nix-vector-routing/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 184-191    Link Here 
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
184
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
185
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
186
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
187
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
188
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
189
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
187
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
190
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
188
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
191
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
189
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 427-433    Link Here 
427
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
425
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
428
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
426
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
429
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
427
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
430
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
431
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
428
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
432
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
429
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
433
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
430
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3487-3538    Link Here 
3487
                   visibility='protected')
3484
                   visibility='protected')
3488
    return
3485
    return
3489
3486
3490
def register_Ns3SocketAddressTag_methods(root_module, cls):
3491
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3492
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3493
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3494
    cls.add_constructor([])
3495
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3496
    cls.add_method('Deserialize', 
3497
                   'void', 
3498
                   [param('ns3::TagBuffer', 'i')], 
3499
                   is_virtual=True)
3500
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3501
    cls.add_method('GetAddress', 
3502
                   'ns3::Address', 
3503
                   [], 
3504
                   is_const=True)
3505
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3506
    cls.add_method('GetInstanceTypeId', 
3507
                   'ns3::TypeId', 
3508
                   [], 
3509
                   is_const=True, is_virtual=True)
3510
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3511
    cls.add_method('GetSerializedSize', 
3512
                   'uint32_t', 
3513
                   [], 
3514
                   is_const=True, is_virtual=True)
3515
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3516
    cls.add_method('GetTypeId', 
3517
                   'ns3::TypeId', 
3518
                   [], 
3519
                   is_static=True)
3520
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3521
    cls.add_method('Print', 
3522
                   'void', 
3523
                   [param('std::ostream &', 'os')], 
3524
                   is_const=True, is_virtual=True)
3525
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3526
    cls.add_method('Serialize', 
3527
                   'void', 
3528
                   [param('ns3::TagBuffer', 'i')], 
3529
                   is_const=True, is_virtual=True)
3530
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3531
    cls.add_method('SetAddress', 
3532
                   'void', 
3533
                   [param('ns3::Address', 'addr')])
3534
    return
3535
3536
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3487
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3537
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3488
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3538
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3489
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 4987-5001    Link Here 
4987
                   'ns3::TypeId', 
4938
                   'ns3::TypeId', 
4988
                   [], 
4939
                   [], 
4989
                   is_static=True)
4940
                   is_static=True)
4990
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4991
    cls.add_method('IsQueueDiscInstalled', 
4992
                   'bool', 
4993
                   [], 
4994
                   is_const=True)
4995
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4996
    cls.add_method('SetQueueDiscInstalled', 
4997
                   'void', 
4998
                   [param('bool', 'installed')])
4999
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4941
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5000
    cls.add_method('SetSelectQueueCallback', 
4942
    cls.add_method('SetSelectQueueCallback', 
5001
                   'void', 
4943
                   'void', 
(-)a/src/olsr/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 226-233    Link Here 
226
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
226
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
227
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
227
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
228
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
228
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
229
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
230
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
231
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
229
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
232
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
230
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
233
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
231
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 599-605    Link Here 
599
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
597
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
600
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
598
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
601
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
599
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
602
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
603
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
600
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
604
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
601
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
605
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
602
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3888-3939    Link Here 
3888
                   visibility='protected')
3885
                   visibility='protected')
3889
    return
3886
    return
3890
3887
3891
def register_Ns3SocketAddressTag_methods(root_module, cls):
3892
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3893
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3894
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3895
    cls.add_constructor([])
3896
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3897
    cls.add_method('Deserialize', 
3898
                   'void', 
3899
                   [param('ns3::TagBuffer', 'i')], 
3900
                   is_virtual=True)
3901
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3902
    cls.add_method('GetAddress', 
3903
                   'ns3::Address', 
3904
                   [], 
3905
                   is_const=True)
3906
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3907
    cls.add_method('GetInstanceTypeId', 
3908
                   'ns3::TypeId', 
3909
                   [], 
3910
                   is_const=True, is_virtual=True)
3911
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3912
    cls.add_method('GetSerializedSize', 
3913
                   'uint32_t', 
3914
                   [], 
3915
                   is_const=True, is_virtual=True)
3916
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3917
    cls.add_method('GetTypeId', 
3918
                   'ns3::TypeId', 
3919
                   [], 
3920
                   is_static=True)
3921
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3922
    cls.add_method('Print', 
3923
                   'void', 
3924
                   [param('std::ostream &', 'os')], 
3925
                   is_const=True, is_virtual=True)
3926
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3927
    cls.add_method('Serialize', 
3928
                   'void', 
3929
                   [param('ns3::TagBuffer', 'i')], 
3930
                   is_const=True, is_virtual=True)
3931
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3932
    cls.add_method('SetAddress', 
3933
                   'void', 
3934
                   [param('ns3::Address', 'addr')])
3935
    return
3936
3937
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3888
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3938
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3889
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3939
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3890
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 5925-5939    Link Here 
5925
                   'ns3::TypeId', 
5876
                   'ns3::TypeId', 
5926
                   [], 
5877
                   [], 
5927
                   is_static=True)
5878
                   is_static=True)
5928
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5929
    cls.add_method('IsQueueDiscInstalled', 
5930
                   'bool', 
5931
                   [], 
5932
                   is_const=True)
5933
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5934
    cls.add_method('SetQueueDiscInstalled', 
5935
                   'void', 
5936
                   [param('bool', 'installed')])
5937
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5879
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5938
    cls.add_method('SetSelectQueueCallback', 
5880
    cls.add_method('SetSelectQueueCallback', 
5939
                   'void', 
5881
                   'void', 
(-)a/src/olsr/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 226-233    Link Here 
226
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
226
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
227
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
227
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
228
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
228
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
229
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
230
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
231
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
229
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
232
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
230
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
233
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
231
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 599-605    Link Here 
599
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
597
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
600
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
598
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
601
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
599
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
602
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
603
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
600
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
604
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
601
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
605
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
602
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 3888-3939    Link Here 
3888
                   visibility='protected')
3885
                   visibility='protected')
3889
    return
3886
    return
3890
3887
3891
def register_Ns3SocketAddressTag_methods(root_module, cls):
3892
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
3893
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
3894
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
3895
    cls.add_constructor([])
3896
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
3897
    cls.add_method('Deserialize', 
3898
                   'void', 
3899
                   [param('ns3::TagBuffer', 'i')], 
3900
                   is_virtual=True)
3901
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
3902
    cls.add_method('GetAddress', 
3903
                   'ns3::Address', 
3904
                   [], 
3905
                   is_const=True)
3906
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
3907
    cls.add_method('GetInstanceTypeId', 
3908
                   'ns3::TypeId', 
3909
                   [], 
3910
                   is_const=True, is_virtual=True)
3911
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
3912
    cls.add_method('GetSerializedSize', 
3913
                   'uint32_t', 
3914
                   [], 
3915
                   is_const=True, is_virtual=True)
3916
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
3917
    cls.add_method('GetTypeId', 
3918
                   'ns3::TypeId', 
3919
                   [], 
3920
                   is_static=True)
3921
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
3922
    cls.add_method('Print', 
3923
                   'void', 
3924
                   [param('std::ostream &', 'os')], 
3925
                   is_const=True, is_virtual=True)
3926
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
3927
    cls.add_method('Serialize', 
3928
                   'void', 
3929
                   [param('ns3::TagBuffer', 'i')], 
3930
                   is_const=True, is_virtual=True)
3931
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
3932
    cls.add_method('SetAddress', 
3933
                   'void', 
3934
                   [param('ns3::Address', 'addr')])
3935
    return
3936
3937
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3888
def register_Ns3SocketIpTosTag_methods(root_module, cls):
3938
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3889
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
3939
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
3890
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 5925-5939    Link Here 
5925
                   'ns3::TypeId', 
5876
                   'ns3::TypeId', 
5926
                   [], 
5877
                   [], 
5927
                   is_static=True)
5878
                   is_static=True)
5928
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
5929
    cls.add_method('IsQueueDiscInstalled', 
5930
                   'bool', 
5931
                   [], 
5932
                   is_const=True)
5933
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
5934
    cls.add_method('SetQueueDiscInstalled', 
5935
                   'void', 
5936
                   [param('bool', 'installed')])
5937
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5879
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
5938
    cls.add_method('SetSelectQueueCallback', 
5880
    cls.add_method('SetSelectQueueCallback', 
5939
                   'void', 
5881
                   'void', 
(-)a/src/point-to-point-layout/bindings/modulegen__gcc_ILP32.py (-58 lines)
 Lines 230-237    Link Here 
230
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
230
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
231
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
231
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
232
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
232
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
233
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
234
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
235
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
233
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
236
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
234
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
237
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
235
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 488-494    Link Here 
488
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
486
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
489
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
487
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
490
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
488
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
491
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
492
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
489
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
493
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
490
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
494
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
491
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4641-4692    Link Here 
4641
                   visibility='protected')
4638
                   visibility='protected')
4642
    return
4639
    return
4643
4640
4644
def register_Ns3SocketAddressTag_methods(root_module, cls):
4645
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4646
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4647
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4648
    cls.add_constructor([])
4649
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4650
    cls.add_method('Deserialize', 
4651
                   'void', 
4652
                   [param('ns3::TagBuffer', 'i')], 
4653
                   is_virtual=True)
4654
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4655
    cls.add_method('GetAddress', 
4656
                   'ns3::Address', 
4657
                   [], 
4658
                   is_const=True)
4659
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4660
    cls.add_method('GetInstanceTypeId', 
4661
                   'ns3::TypeId', 
4662
                   [], 
4663
                   is_const=True, is_virtual=True)
4664
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4665
    cls.add_method('GetSerializedSize', 
4666
                   'uint32_t', 
4667
                   [], 
4668
                   is_const=True, is_virtual=True)
4669
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4670
    cls.add_method('GetTypeId', 
4671
                   'ns3::TypeId', 
4672
                   [], 
4673
                   is_static=True)
4674
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4675
    cls.add_method('Print', 
4676
                   'void', 
4677
                   [param('std::ostream &', 'os')], 
4678
                   is_const=True, is_virtual=True)
4679
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4680
    cls.add_method('Serialize', 
4681
                   'void', 
4682
                   [param('ns3::TagBuffer', 'i')], 
4683
                   is_const=True, is_virtual=True)
4684
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4685
    cls.add_method('SetAddress', 
4686
                   'void', 
4687
                   [param('ns3::Address', 'addr')])
4688
    return
4689
4690
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4641
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4691
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4642
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4692
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4643
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 6861-6875    Link Here 
6861
                   'ns3::TypeId', 
6812
                   'ns3::TypeId', 
6862
                   [], 
6813
                   [], 
6863
                   is_static=True)
6814
                   is_static=True)
6864
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6865
    cls.add_method('IsQueueDiscInstalled', 
6866
                   'bool', 
6867
                   [], 
6868
                   is_const=True)
6869
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6870
    cls.add_method('SetQueueDiscInstalled', 
6871
                   'void', 
6872
                   [param('bool', 'installed')])
6873
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6815
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6874
    cls.add_method('SetSelectQueueCallback', 
6816
    cls.add_method('SetSelectQueueCallback', 
6875
                   'void', 
6817
                   'void', 
(-)a/src/point-to-point-layout/bindings/modulegen__gcc_LP64.py (-58 lines)
 Lines 230-237    Link Here 
230
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
230
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
231
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
231
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
232
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
232
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
233
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
234
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
235
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
233
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
236
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
234
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
237
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
235
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 488-494    Link Here 
488
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
486
    register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter<ns3::QueueItem> >'])
489
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
487
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
490
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
488
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
491
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
492
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
489
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
493
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
490
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
494
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
491
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 4641-4692    Link Here 
4641
                   visibility='protected')
4638
                   visibility='protected')
4642
    return
4639
    return
4643
4640
4644
def register_Ns3SocketAddressTag_methods(root_module, cls):
4645
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
4646
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
4647
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
4648
    cls.add_constructor([])
4649
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
4650
    cls.add_method('Deserialize', 
4651
                   'void', 
4652
                   [param('ns3::TagBuffer', 'i')], 
4653
                   is_virtual=True)
4654
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
4655
    cls.add_method('GetAddress', 
4656
                   'ns3::Address', 
4657
                   [], 
4658
                   is_const=True)
4659
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
4660
    cls.add_method('GetInstanceTypeId', 
4661
                   'ns3::TypeId', 
4662
                   [], 
4663
                   is_const=True, is_virtual=True)
4664
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
4665
    cls.add_method('GetSerializedSize', 
4666
                   'uint32_t', 
4667
                   [], 
4668
                   is_const=True, is_virtual=True)
4669
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
4670
    cls.add_method('GetTypeId', 
4671
                   'ns3::TypeId', 
4672
                   [], 
4673
                   is_static=True)
4674
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
4675
    cls.add_method('Print', 
4676
                   'void', 
4677
                   [param('std::ostream &', 'os')], 
4678
                   is_const=True, is_virtual=True)
4679
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
4680
    cls.add_method('Serialize', 
4681
                   'void', 
4682
                   [param('ns3::TagBuffer', 'i')], 
4683
                   is_const=True, is_virtual=True)
4684
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
4685
    cls.add_method('SetAddress', 
4686
                   'void', 
4687
                   [param('ns3::Address', 'addr')])
4688
    return
4689
4690
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4641
def register_Ns3SocketIpTosTag_methods(root_module, cls):
4691
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4642
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
4692
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
4643
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 6861-6875    Link Here 
6861
                   'ns3::TypeId', 
6812
                   'ns3::TypeId', 
6862
                   [], 
6813
                   [], 
6863
                   is_static=True)
6814
                   is_static=True)
6864
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6865
    cls.add_method('IsQueueDiscInstalled', 
6866
                   'bool', 
6867
                   [], 
6868
                   is_const=True)
6869
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6870
    cls.add_method('SetQueueDiscInstalled', 
6871
                   'void', 
6872
                   [param('bool', 'installed')])
6873
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6815
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6874
    cls.add_method('SetSelectQueueCallback', 
6816
    cls.add_method('SetSelectQueueCallback', 
6875
                   'void', 
6817
                   'void', 
(-)a/src/sixlowpan/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 4713-4727    Link Here 
4713
                   'ns3::TypeId', 
4713
                   'ns3::TypeId', 
4714
                   [], 
4714
                   [], 
4715
                   is_static=True)
4715
                   is_static=True)
4716
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4717
    cls.add_method('IsQueueDiscInstalled', 
4718
                   'bool', 
4719
                   [], 
4720
                   is_const=True)
4721
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4722
    cls.add_method('SetQueueDiscInstalled', 
4723
                   'void', 
4724
                   [param('bool', 'installed')])
4725
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4716
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4726
    cls.add_method('SetSelectQueueCallback', 
4717
    cls.add_method('SetSelectQueueCallback', 
4727
                   'void', 
4718
                   'void', 
(-)a/src/sixlowpan/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 4713-4727    Link Here 
4713
                   'ns3::TypeId', 
4713
                   'ns3::TypeId', 
4714
                   [], 
4714
                   [], 
4715
                   is_static=True)
4715
                   is_static=True)
4716
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
4717
    cls.add_method('IsQueueDiscInstalled', 
4718
                   'bool', 
4719
                   [], 
4720
                   is_const=True)
4721
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
4722
    cls.add_method('SetQueueDiscInstalled', 
4723
                   'void', 
4724
                   [param('bool', 'installed')])
4725
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4716
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
4726
    cls.add_method('SetSelectQueueCallback', 
4717
    cls.add_method('SetSelectQueueCallback', 
4727
                   'void', 
4718
                   'void', 
(-)a/src/spectrum/bindings/callbacks_list.py (+1 lines)
 Lines 5-10    Link Here 
5
    ['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
5
    ['bool', 'ns3::Ptr<ns3::Packet>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
6
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
7
    ['bool', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
8
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['void', 'ns3::Ptr<ns3::NetDevice>', 'ns3::Ptr<ns3::Packet const>', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
9
    ['unsigned char', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
10
    ['unsigned char', 'ns3::Ptr<ns3::QueueItem>', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'],
10
]
11
]
(-)a/src/spectrum/bindings/modulegen__gcc_ILP32.py (-11 / +16 lines)
 Lines 3454-3463    Link Here 
3454
                   'ns3::Ptr< ns3::QueueItem const >', 
3454
                   'ns3::Ptr< ns3::QueueItem const >', 
3455
                   [], 
3455
                   [], 
3456
                   is_const=True)
3456
                   is_const=True)
3457
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3458
    cls.add_method('Remove', 
3459
                   'ns3::Ptr< ns3::QueueItem >', 
3460
                   [])
3457
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3461
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3458
    cls.add_method('ResetStatistics', 
3462
    cls.add_method('ResetStatistics', 
3459
                   'void', 
3463
                   'void', 
3460
                   [])
3464
                   [])
3465
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3466
    cls.add_method('SetDropCallback', 
3467
                   'void', 
3468
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3469
                   is_virtual=True)
3461
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3470
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3462
    cls.add_method('SetMaxBytes', 
3471
    cls.add_method('SetMaxBytes', 
3463
                   'void', 
3472
                   'void', 
 Lines 3470-3479    Link Here 
3470
    cls.add_method('SetMode', 
3479
    cls.add_method('SetMode', 
3471
                   'void', 
3480
                   'void', 
3472
                   [param('ns3::Queue::QueueMode', 'mode')])
3481
                   [param('ns3::Queue::QueueMode', 'mode')])
3473
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3482
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3474
    cls.add_method('Drop', 
3483
    cls.add_method('Drop', 
3475
                   'void', 
3484
                   'void', 
3476
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3485
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3477
                   visibility='protected')
3486
                   visibility='protected')
3478
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3487
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3479
    cls.add_method('DoDequeue', 
3488
    cls.add_method('DoDequeue', 
 Lines 3490-3495    Link Here 
3490
                   'ns3::Ptr< ns3::QueueItem const >', 
3499
                   'ns3::Ptr< ns3::QueueItem const >', 
3491
                   [], 
3500
                   [], 
3492
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3501
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3502
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3503
    cls.add_method('DoRemove', 
3504
                   'ns3::Ptr< ns3::QueueItem >', 
3505
                   [], 
3506
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3493
    return
3507
    return
3494
3508
3495
def register_Ns3RandomPropagationDelayModel_methods(root_module, cls):
3509
def register_Ns3RandomPropagationDelayModel_methods(root_module, cls):
 Lines 6463-6477    Link Here 
6463
                   'ns3::TypeId', 
6477
                   'ns3::TypeId', 
6464
                   [], 
6478
                   [], 
6465
                   is_static=True)
6479
                   is_static=True)
6466
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6467
    cls.add_method('IsQueueDiscInstalled', 
6468
                   'bool', 
6469
                   [], 
6470
                   is_const=True)
6471
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6472
    cls.add_method('SetQueueDiscInstalled', 
6473
                   'void', 
6474
                   [param('bool', 'installed')])
6475
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6480
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6476
    cls.add_method('SetSelectQueueCallback', 
6481
    cls.add_method('SetSelectQueueCallback', 
6477
                   'void', 
6482
                   'void', 
(-)a/src/spectrum/bindings/modulegen__gcc_LP64.py (-11 / +16 lines)
 Lines 3454-3463    Link Here 
3454
                   'ns3::Ptr< ns3::QueueItem const >', 
3454
                   'ns3::Ptr< ns3::QueueItem const >', 
3455
                   [], 
3455
                   [], 
3456
                   is_const=True)
3456
                   is_const=True)
3457
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::Remove() [member function]
3458
    cls.add_method('Remove', 
3459
                   'ns3::Ptr< ns3::QueueItem >', 
3460
                   [])
3457
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3461
    ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function]
3458
    cls.add_method('ResetStatistics', 
3462
    cls.add_method('ResetStatistics', 
3459
                   'void', 
3463
                   'void', 
3460
                   [])
3464
                   [])
3465
    ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback<void, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3466
    cls.add_method('SetDropCallback', 
3467
                   'void', 
3468
                   [param('ns3::Callback< void, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], 
3469
                   is_virtual=True)
3461
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3470
    ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function]
3462
    cls.add_method('SetMaxBytes', 
3471
    cls.add_method('SetMaxBytes', 
3463
                   'void', 
3472
                   'void', 
 Lines 3470-3479    Link Here 
3470
    cls.add_method('SetMode', 
3479
    cls.add_method('SetMode', 
3471
                   'void', 
3480
                   'void', 
3472
                   [param('ns3::Queue::QueueMode', 'mode')])
3481
                   [param('ns3::Queue::QueueMode', 'mode')])
3473
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::Packet> p) [member function]
3482
    ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr<ns3::QueueItem> item) [member function]
3474
    cls.add_method('Drop', 
3483
    cls.add_method('Drop', 
3475
                   'void', 
3484
                   'void', 
3476
                   [param('ns3::Ptr< ns3::Packet >', 'p')], 
3485
                   [param('ns3::Ptr< ns3::QueueItem >', 'item')], 
3477
                   visibility='protected')
3486
                   visibility='protected')
3478
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3487
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoDequeue() [member function]
3479
    cls.add_method('DoDequeue', 
3488
    cls.add_method('DoDequeue', 
 Lines 3490-3495    Link Here 
3490
                   'ns3::Ptr< ns3::QueueItem const >', 
3499
                   'ns3::Ptr< ns3::QueueItem const >', 
3491
                   [], 
3500
                   [], 
3492
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3501
                   is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True)
3502
    ## queue.h (module 'network'): ns3::Ptr<ns3::QueueItem> ns3::Queue::DoRemove() [member function]
3503
    cls.add_method('DoRemove', 
3504
                   'ns3::Ptr< ns3::QueueItem >', 
3505
                   [], 
3506
                   is_pure_virtual=True, visibility='private', is_virtual=True)
3493
    return
3507
    return
3494
3508
3495
def register_Ns3RandomPropagationDelayModel_methods(root_module, cls):
3509
def register_Ns3RandomPropagationDelayModel_methods(root_module, cls):
 Lines 6463-6477    Link Here 
6463
                   'ns3::TypeId', 
6477
                   'ns3::TypeId', 
6464
                   [], 
6478
                   [], 
6465
                   is_static=True)
6479
                   is_static=True)
6466
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
6467
    cls.add_method('IsQueueDiscInstalled', 
6468
                   'bool', 
6469
                   [], 
6470
                   is_const=True)
6471
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
6472
    cls.add_method('SetQueueDiscInstalled', 
6473
                   'void', 
6474
                   [param('bool', 'installed')])
6475
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6480
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
6476
    cls.add_method('SetSelectQueueCallback', 
6481
    cls.add_method('SetSelectQueueCallback', 
6477
                   'void', 
6482
                   'void', 
(-)a/src/tap-bridge/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 3478-3492    Link Here 
3478
                   'ns3::TypeId', 
3478
                   'ns3::TypeId', 
3479
                   [], 
3479
                   [], 
3480
                   is_static=True)
3480
                   is_static=True)
3481
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
3482
    cls.add_method('IsQueueDiscInstalled', 
3483
                   'bool', 
3484
                   [], 
3485
                   is_const=True)
3486
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
3487
    cls.add_method('SetQueueDiscInstalled', 
3488
                   'void', 
3489
                   [param('bool', 'installed')])
3490
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3481
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3491
    cls.add_method('SetSelectQueueCallback', 
3482
    cls.add_method('SetSelectQueueCallback', 
3492
                   'void', 
3483
                   'void', 
(-)a/src/tap-bridge/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 3478-3492    Link Here 
3478
                   'ns3::TypeId', 
3478
                   'ns3::TypeId', 
3479
                   [], 
3479
                   [], 
3480
                   is_static=True)
3480
                   is_static=True)
3481
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
3482
    cls.add_method('IsQueueDiscInstalled', 
3483
                   'bool', 
3484
                   [], 
3485
                   is_const=True)
3486
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
3487
    cls.add_method('SetQueueDiscInstalled', 
3488
                   'void', 
3489
                   [param('bool', 'installed')])
3490
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3481
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
3491
    cls.add_method('SetSelectQueueCallback', 
3482
    cls.add_method('SetSelectQueueCallback', 
3492
                   'void', 
3483
                   'void', 
(-)a/src/topology-read/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 2428-2442    Link Here 
2428
                   'ns3::TypeId', 
2428
                   'ns3::TypeId', 
2429
                   [], 
2429
                   [], 
2430
                   is_static=True)
2430
                   is_static=True)
2431
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2432
    cls.add_method('IsQueueDiscInstalled', 
2433
                   'bool', 
2434
                   [], 
2435
                   is_const=True)
2436
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2437
    cls.add_method('SetQueueDiscInstalled', 
2438
                   'void', 
2439
                   [param('bool', 'installed')])
2440
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2431
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2441
    cls.add_method('SetSelectQueueCallback', 
2432
    cls.add_method('SetSelectQueueCallback', 
2442
                   'void', 
2433
                   'void', 
(-)a/src/topology-read/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 2428-2442    Link Here 
2428
                   'ns3::TypeId', 
2428
                   'ns3::TypeId', 
2429
                   [], 
2429
                   [], 
2430
                   is_static=True)
2430
                   is_static=True)
2431
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2432
    cls.add_method('IsQueueDiscInstalled', 
2433
                   'bool', 
2434
                   [], 
2435
                   is_const=True)
2436
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2437
    cls.add_method('SetQueueDiscInstalled', 
2438
                   'void', 
2439
                   [param('bool', 'installed')])
2440
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2431
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2441
    cls.add_method('SetSelectQueueCallback', 
2432
    cls.add_method('SetSelectQueueCallback', 
2442
                   'void', 
2433
                   'void', 
(-)a/src/uan/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 7351-7365    Link Here 
7351
                   'ns3::TypeId', 
7351
                   'ns3::TypeId', 
7352
                   [], 
7352
                   [], 
7353
                   is_static=True)
7353
                   is_static=True)
7354
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7355
    cls.add_method('IsQueueDiscInstalled', 
7356
                   'bool', 
7357
                   [], 
7358
                   is_const=True)
7359
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7360
    cls.add_method('SetQueueDiscInstalled', 
7361
                   'void', 
7362
                   [param('bool', 'installed')])
7363
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7354
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7364
    cls.add_method('SetSelectQueueCallback', 
7355
    cls.add_method('SetSelectQueueCallback', 
7365
                   'void', 
7356
                   'void', 
(-)a/src/uan/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 7351-7365    Link Here 
7351
                   'ns3::TypeId', 
7351
                   'ns3::TypeId', 
7352
                   [], 
7352
                   [], 
7353
                   is_static=True)
7353
                   is_static=True)
7354
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
7355
    cls.add_method('IsQueueDiscInstalled', 
7356
                   'bool', 
7357
                   [], 
7358
                   is_const=True)
7359
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
7360
    cls.add_method('SetQueueDiscInstalled', 
7361
                   'void', 
7362
                   [param('bool', 'installed')])
7363
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7354
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
7364
    cls.add_method('SetSelectQueueCallback', 
7355
    cls.add_method('SetSelectQueueCallback', 
7365
                   'void', 
7356
                   'void', 
(-)a/src/virtual-net-device/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 2782-2796    Link Here 
2782
                   'ns3::TypeId', 
2782
                   'ns3::TypeId', 
2783
                   [], 
2783
                   [], 
2784
                   is_static=True)
2784
                   is_static=True)
2785
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2786
    cls.add_method('IsQueueDiscInstalled', 
2787
                   'bool', 
2788
                   [], 
2789
                   is_const=True)
2790
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2791
    cls.add_method('SetQueueDiscInstalled', 
2792
                   'void', 
2793
                   [param('bool', 'installed')])
2794
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2785
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2795
    cls.add_method('SetSelectQueueCallback', 
2786
    cls.add_method('SetSelectQueueCallback', 
2796
                   'void', 
2787
                   'void', 
(-)a/src/virtual-net-device/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 2782-2796    Link Here 
2782
                   'ns3::TypeId', 
2782
                   'ns3::TypeId', 
2783
                   [], 
2783
                   [], 
2784
                   is_static=True)
2784
                   is_static=True)
2785
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
2786
    cls.add_method('IsQueueDiscInstalled', 
2787
                   'bool', 
2788
                   [], 
2789
                   is_const=True)
2790
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
2791
    cls.add_method('SetQueueDiscInstalled', 
2792
                   'void', 
2793
                   [param('bool', 'installed')])
2794
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2785
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
2795
    cls.add_method('SetSelectQueueCallback', 
2786
    cls.add_method('SetSelectQueueCallback', 
2796
                   'void', 
2787
                   'void', 
(-)a/src/virtual-net-device/examples/virtual-net-device.cc (-6 lines)
 Lines 113-120    Link Here 
113
  {
113
  {
114
    Ptr<Packet> packet = socket->Recv (65535, 0);
114
    Ptr<Packet> packet = socket->Recv (65535, 0);
115
    NS_LOG_DEBUG ("N3SocketRecv: " << *packet);
115
    NS_LOG_DEBUG ("N3SocketRecv: " << *packet);
116
    SocketAddressTag socketAddressTag;
117
    packet->RemovePacketTag (socketAddressTag);
118
    m_n3Tap->Receive (packet, 0x0800, m_n3Tap->GetAddress (), m_n3Tap->GetAddress (), NetDevice::PACKET_HOST);
116
    m_n3Tap->Receive (packet, 0x0800, m_n3Tap->GetAddress (), m_n3Tap->GetAddress (), NetDevice::PACKET_HOST);
119
  }
117
  }
120
118
 Lines 122-129    Link Here 
122
  {
120
  {
123
    Ptr<Packet> packet = socket->Recv (65535, 0);
121
    Ptr<Packet> packet = socket->Recv (65535, 0);
124
    NS_LOG_DEBUG ("N0SocketRecv: " << *packet);
122
    NS_LOG_DEBUG ("N0SocketRecv: " << *packet);
125
    SocketAddressTag socketAddressTag;
126
    packet->RemovePacketTag (socketAddressTag);
127
    m_n0Tap->Receive (packet, 0x0800, m_n0Tap->GetAddress (), m_n0Tap->GetAddress (), NetDevice::PACKET_HOST);
123
    m_n0Tap->Receive (packet, 0x0800, m_n0Tap->GetAddress (), m_n0Tap->GetAddress (), NetDevice::PACKET_HOST);
128
  }
124
  }
129
125
 Lines 131-138    Link Here 
131
  {
127
  {
132
    Ptr<Packet> packet = socket->Recv (65535, 0);
128
    Ptr<Packet> packet = socket->Recv (65535, 0);
133
    NS_LOG_DEBUG ("N1SocketRecv: " << *packet);
129
    NS_LOG_DEBUG ("N1SocketRecv: " << *packet);
134
    SocketAddressTag socketAddressTag;
135
    packet->RemovePacketTag (socketAddressTag);
136
    m_n1Tap->Receive (packet, 0x0800, m_n1Tap->GetAddress (), m_n1Tap->GetAddress (), NetDevice::PACKET_HOST);
130
    m_n1Tap->Receive (packet, 0x0800, m_n1Tap->GetAddress (), m_n1Tap->GetAddress (), NetDevice::PACKET_HOST);
137
  }
131
  }
138
132
(-)a/src/wave/bindings/modulegen__gcc_ILP32.py (-66 / +292 lines)
 Lines 32-39    Link Here 
32
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
32
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
33
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
33
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
34
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
34
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
35
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
36
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
37
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
35
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
38
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
36
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
39
    ## channel-scheduler.h (module 'wave'): ns3::ChannelAccess [enumeration]
37
    ## channel-scheduler.h (module 'wave'): ns3::ChannelAccess [enumeration]
 Lines 44-49    Link Here 
44
    module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK'], import_from_module='ns.wifi')
42
    module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK'], import_from_module='ns.wifi')
45
    ## vsa-manager.h (module 'wave'): ns3::VsaTransmitInterval [enumeration]
43
    ## vsa-manager.h (module 'wave'): ns3::VsaTransmitInterval [enumeration]
46
    module.add_enum('VsaTransmitInterval', ['VSA_TRANSMIT_IN_CCHI', 'VSA_TRANSMIT_IN_SCHI', 'VSA_TRANSMIT_IN_BOTHI'])
44
    module.add_enum('VsaTransmitInterval', ['VSA_TRANSMIT_IN_CCHI', 'VSA_TRANSMIT_IN_SCHI', 'VSA_TRANSMIT_IN_BOTHI'])
45
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
46
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
47
    ## address.h (module 'network'): ns3::Address [class]
47
    ## address.h (module 'network'): ns3::Address [class]
48
    module.add_class('Address', import_from_module='ns.network')
48
    module.add_class('Address', import_from_module='ns.network')
49
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
49
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
 Lines 208-213    Link Here 
208
    module.add_class('TagBuffer', import_from_module='ns.network')
208
    module.add_class('TagBuffer', import_from_module='ns.network')
209
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
209
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
210
    module.add_class('TimeWithUnit', import_from_module='ns.core')
210
    module.add_class('TimeWithUnit', import_from_module='ns.core')
211
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
212
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
211
    ## wave-net-device.h (module 'wave'): ns3::TxInfo [struct]
213
    ## wave-net-device.h (module 'wave'): ns3::TxInfo [struct]
212
    module.add_class('TxInfo')
214
    module.add_class('TxInfo')
213
    ## wave-net-device.h (module 'wave'): ns3::TxProfile [struct]
215
    ## wave-net-device.h (module 'wave'): ns3::TxProfile [struct]
 Lines 360-367    Link Here 
360
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
362
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
361
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
363
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
362
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
364
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
363
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
364
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
365
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
365
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
366
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
366
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
367
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
367
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 450-455    Link Here 
450
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
450
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
451
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
451
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
452
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
452
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
453
    ## boolean.h (module 'core'): ns3::BooleanChecker [class]
454
    module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
455
    ## boolean.h (module 'core'): ns3::BooleanValue [class]
456
    module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
453
    ## bsm-application.h (module 'wave'): ns3::BsmApplication [class]
457
    ## bsm-application.h (module 'wave'): ns3::BsmApplication [class]
454
    module.add_class('BsmApplication', parent=root_module['ns3::Application'])
458
    module.add_class('BsmApplication', parent=root_module['ns3::Application'])
455
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
459
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
 Lines 480-491    Link Here 
480
    module.add_class('DefaultChannelScheduler', parent=root_module['ns3::ChannelScheduler'])
484
    module.add_class('DefaultChannelScheduler', parent=root_module['ns3::ChannelScheduler'])
481
    ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class]
485
    ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class]
482
    module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
486
    module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
487
    ## double.h (module 'core'): ns3::DoubleValue [class]
488
    module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
483
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class]
489
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class]
484
    module.add_class('EdcaTxopN', import_from_module='ns.wifi', parent=root_module['ns3::Dcf'])
490
    module.add_class('EdcaTxopN', import_from_module='ns.wifi', parent=root_module['ns3::Dcf'])
485
    ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class]
491
    ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class]
486
    module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
492
    module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
487
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
493
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
488
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
494
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
495
    ## enum.h (module 'core'): ns3::EnumChecker [class]
496
    module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
497
    ## enum.h (module 'core'): ns3::EnumValue [class]
498
    module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
489
    ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class]
499
    ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class]
490
    module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
500
    module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
491
    ## erp-information.h (module 'wifi'): ns3::ErpInformation [class]
501
    ## erp-information.h (module 'wifi'): ns3::ErpInformation [class]
 Lines 514-519    Link Here 
514
    module.add_class('HtOperationsChecker', import_from_module='ns.wifi', parent=root_module['ns3::AttributeChecker'])
524
    module.add_class('HtOperationsChecker', import_from_module='ns.wifi', parent=root_module['ns3::AttributeChecker'])
515
    ## ht-operations.h (module 'wifi'): ns3::HtOperationsValue [class]
525
    ## ht-operations.h (module 'wifi'): ns3::HtOperationsValue [class]
516
    module.add_class('HtOperationsValue', import_from_module='ns.wifi', parent=root_module['ns3::AttributeValue'])
526
    module.add_class('HtOperationsValue', import_from_module='ns.wifi', parent=root_module['ns3::AttributeValue'])
527
    ## integer.h (module 'core'): ns3::IntegerValue [class]
528
    module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
517
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
529
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
518
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
530
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
519
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
531
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
 Lines 756-761    Link Here 
756
def register_types_ns3_TracedValueCallback(module):
768
def register_types_ns3_TracedValueCallback(module):
757
    root_module = module.get_root()
769
    root_module = module.get_root()
758
    
770
    
771
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
772
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
773
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
774
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
775
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
776
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
777
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8')
778
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*')
779
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&')
780
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
781
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
782
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
783
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool')
784
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*')
785
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&')
786
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
787
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
788
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
789
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
790
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
791
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
792
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16')
793
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*')
794
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&')
759
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time')
795
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time')
760
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*')
796
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*')
761
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&')
797
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&')
 Lines 833-838    Link Here 
833
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
869
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
834
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
870
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
835
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
871
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
872
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
836
    register_Ns3TxInfo_methods(root_module, root_module['ns3::TxInfo'])
873
    register_Ns3TxInfo_methods(root_module, root_module['ns3::TxInfo'])
837
    register_Ns3TxProfile_methods(root_module, root_module['ns3::TxProfile'])
874
    register_Ns3TxProfile_methods(root_module, root_module['ns3::TxProfile'])
838
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
875
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
 Lines 898-904    Link Here 
898
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
935
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
899
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
936
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
900
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
937
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
901
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
902
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
938
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
903
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
939
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
904
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
940
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 932-937    Link Here 
932
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
968
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
933
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
969
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
934
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
970
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
971
    register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
972
    register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
935
    register_Ns3BsmApplication_methods(root_module, root_module['ns3::BsmApplication'])
973
    register_Ns3BsmApplication_methods(root_module, root_module['ns3::BsmApplication'])
936
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
974
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
937
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
975
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
 Lines 947-955    Link Here 
947
    register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf'])
985
    register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf'])
948
    register_Ns3DefaultChannelScheduler_methods(root_module, root_module['ns3::DefaultChannelScheduler'])
986
    register_Ns3DefaultChannelScheduler_methods(root_module, root_module['ns3::DefaultChannelScheduler'])
949
    register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable'])
987
    register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable'])
988
    register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
950
    register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN'])
989
    register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN'])
951
    register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable'])
990
    register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable'])
952
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
991
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
992
    register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
993
    register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
953
    register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable'])
994
    register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable'])
954
    register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation'])
995
    register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation'])
955
    register_Ns3ErpInformationChecker_methods(root_module, root_module['ns3::ErpInformationChecker'])
996
    register_Ns3ErpInformationChecker_methods(root_module, root_module['ns3::ErpInformationChecker'])
 Lines 964-969    Link Here 
964
    register_Ns3HtOperations_methods(root_module, root_module['ns3::HtOperations'])
1005
    register_Ns3HtOperations_methods(root_module, root_module['ns3::HtOperations'])
965
    register_Ns3HtOperationsChecker_methods(root_module, root_module['ns3::HtOperationsChecker'])
1006
    register_Ns3HtOperationsChecker_methods(root_module, root_module['ns3::HtOperationsChecker'])
966
    register_Ns3HtOperationsValue_methods(root_module, root_module['ns3::HtOperationsValue'])
1007
    register_Ns3HtOperationsValue_methods(root_module, root_module['ns3::HtOperationsValue'])
1008
    register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
967
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
1009
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
968
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
1010
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
969
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
1011
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
 Lines 4424-4429    Link Here 
4424
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
4466
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
4425
    return
4467
    return
4426
4468
4469
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
4470
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
4471
    cls.add_constructor([])
4472
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
4473
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
4474
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
4475
    cls.add_constructor([param('unsigned int const &', 'v')])
4476
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
4477
    cls.add_method('Connect', 
4478
                   'void', 
4479
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
4480
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
4481
    cls.add_method('ConnectWithoutContext', 
4482
                   'void', 
4483
                   [param('ns3::CallbackBase const &', 'cb')])
4484
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
4485
    cls.add_method('Disconnect', 
4486
                   'void', 
4487
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
4488
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
4489
    cls.add_method('DisconnectWithoutContext', 
4490
                   'void', 
4491
                   [param('ns3::CallbackBase const &', 'cb')])
4492
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
4493
    cls.add_method('Get', 
4494
                   'unsigned int', 
4495
                   [], 
4496
                   is_const=True)
4497
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
4498
    cls.add_method('Set', 
4499
                   'void', 
4500
                   [param('unsigned int const &', 'v')])
4501
    return
4502
4427
def register_Ns3TxInfo_methods(root_module, cls):
4503
def register_Ns3TxInfo_methods(root_module, cls):
4428
    ## wave-net-device.h (module 'wave'): ns3::TxInfo::TxInfo(ns3::TxInfo const & arg0) [copy constructor]
4504
    ## wave-net-device.h (module 'wave'): ns3::TxInfo::TxInfo(ns3::TxInfo const & arg0) [copy constructor]
4429
    cls.add_constructor([param('ns3::TxInfo const &', 'arg0')])
4505
    cls.add_constructor([param('ns3::TxInfo const &', 'arg0')])
 Lines 7303-7354    Link Here 
7303
                   visibility='protected')
7379
                   visibility='protected')
7304
    return
7380
    return
7305
7381
7306
def register_Ns3SocketAddressTag_methods(root_module, cls):
7307
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
7308
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
7309
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
7310
    cls.add_constructor([])
7311
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
7312
    cls.add_method('Deserialize', 
7313
                   'void', 
7314
                   [param('ns3::TagBuffer', 'i')], 
7315
                   is_virtual=True)
7316
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
7317
    cls.add_method('GetAddress', 
7318
                   'ns3::Address', 
7319
                   [], 
7320
                   is_const=True)
7321
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
7322
    cls.add_method('GetInstanceTypeId', 
7323
                   'ns3::TypeId', 
7324
                   [], 
7325
                   is_const=True, is_virtual=True)
7326
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
7327
    cls.add_method('GetSerializedSize', 
7328
                   'uint32_t', 
7329
                   [], 
7330
                   is_const=True, is_virtual=True)
7331
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
7332
    cls.add_method('GetTypeId', 
7333
                   'ns3::TypeId', 
7334
                   [], 
7335
                   is_static=True)
7336
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
7337
    cls.add_method('Print', 
7338
                   'void', 
7339
                   [param('std::ostream &', 'os')], 
7340
                   is_const=True, is_virtual=True)
7341
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
7342
    cls.add_method('Serialize', 
7343
                   'void', 
7344
                   [param('ns3::TagBuffer', 'i')], 
7345
                   is_const=True, is_virtual=True)
7346
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
7347
    cls.add_method('SetAddress', 
7348
                   'void', 
7349
                   [param('ns3::Address', 'addr')])
7350
    return
7351
7352
def register_Ns3SocketIpTosTag_methods(root_module, cls):
7382
def register_Ns3SocketIpTosTag_methods(root_module, cls):
7353
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
7383
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
7354
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
7384
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 9102-9107    Link Here 
9102
                   'void', 
9132
                   'void', 
9103
                   [param('ns3::WifiPhyStandard', 'standard')], 
9133
                   [param('ns3::WifiPhyStandard', 'standard')], 
9104
                   is_pure_virtual=True, is_virtual=True)
9134
                   is_pure_virtual=True, is_virtual=True)
9135
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
9136
    cls.add_method('DbToRatio', 
9137
                   'double', 
9138
                   [param('double', 'db')], 
9139
                   is_const=True)
9140
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
9141
    cls.add_method('DbmToW', 
9142
                   'double', 
9143
                   [param('double', 'dbm')], 
9144
                   is_const=True)
9105
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
9145
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
9106
    cls.add_method('GetBssMembershipSelector', 
9146
    cls.add_method('GetBssMembershipSelector', 
9107
                   'uint32_t', 
9147
                   'uint32_t', 
 Lines 9772-9777    Link Here 
9772
    cls.add_method('NotifyTxEnd', 
9812
    cls.add_method('NotifyTxEnd', 
9773
                   'void', 
9813
                   'void', 
9774
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
9814
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
9815
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
9816
    cls.add_method('RatioToDb', 
9817
                   'double', 
9818
                   [param('double', 'ratio')], 
9819
                   is_const=True)
9775
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
9820
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
9776
    cls.add_method('RegisterListener', 
9821
    cls.add_method('RegisterListener', 
9777
                   'void', 
9822
                   'void', 
 Lines 9832-9841    Link Here 
9832
                   'void', 
9877
                   'void', 
9833
                   [param('uint32_t', 'tx')], 
9878
                   [param('uint32_t', 'tx')], 
9834
                   is_pure_virtual=True, is_virtual=True)
9879
                   is_pure_virtual=True, is_virtual=True)
9835
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9880
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9836
    cls.add_method('SetReceiveErrorCallback', 
9881
    cls.add_method('SetReceiveErrorCallback', 
9837
                   'void', 
9882
                   'void', 
9838
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
9883
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
9839
                   is_pure_virtual=True, is_virtual=True)
9884
                   is_pure_virtual=True, is_virtual=True)
9840
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9885
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9841
    cls.add_method('SetReceiveOkCallback', 
9886
    cls.add_method('SetReceiveOkCallback', 
 Lines 9862-9867    Link Here 
9862
                   'void', 
9907
                   'void', 
9863
                   [param('ns3::WifiPhyListener *', 'listener')], 
9908
                   [param('ns3::WifiPhyListener *', 'listener')], 
9864
                   is_pure_virtual=True, is_virtual=True)
9909
                   is_pure_virtual=True, is_virtual=True)
9910
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
9911
    cls.add_method('WToDbm', 
9912
                   'double', 
9913
                   [param('double', 'w')], 
9914
                   is_const=True)
9865
    return
9915
    return
9866
9916
9867
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
9917
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 10871-10880    Link Here 
10871
                   'void', 
10921
                   'void', 
10872
                   [param('uint32_t', 'tx')], 
10922
                   [param('uint32_t', 'tx')], 
10873
                   is_virtual=True)
10923
                   is_virtual=True)
10874
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10924
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10875
    cls.add_method('SetReceiveErrorCallback', 
10925
    cls.add_method('SetReceiveErrorCallback', 
10876
                   'void', 
10926
                   'void', 
10877
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
10927
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
10878
                   is_virtual=True)
10928
                   is_virtual=True)
10879
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10929
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10880
    cls.add_method('SetReceiveOkCallback', 
10930
    cls.add_method('SetReceiveOkCallback', 
 Lines 11289-11294    Link Here 
11289
                   is_pure_virtual=True, is_const=True, is_virtual=True)
11339
                   is_pure_virtual=True, is_const=True, is_virtual=True)
11290
    return
11340
    return
11291
11341
11342
def register_Ns3BooleanChecker_methods(root_module, cls):
11343
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
11344
    cls.add_constructor([])
11345
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
11346
    cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
11347
    return
11348
11349
def register_Ns3BooleanValue_methods(root_module, cls):
11350
    cls.add_output_stream_operator()
11351
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
11352
    cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
11353
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
11354
    cls.add_constructor([])
11355
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
11356
    cls.add_constructor([param('bool', 'value')])
11357
    ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
11358
    cls.add_method('Copy', 
11359
                   'ns3::Ptr< ns3::AttributeValue >', 
11360
                   [], 
11361
                   is_const=True, is_virtual=True)
11362
    ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
11363
    cls.add_method('DeserializeFromString', 
11364
                   'bool', 
11365
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
11366
                   is_virtual=True)
11367
    ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
11368
    cls.add_method('Get', 
11369
                   'bool', 
11370
                   [], 
11371
                   is_const=True)
11372
    ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
11373
    cls.add_method('SerializeToString', 
11374
                   'std::string', 
11375
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
11376
                   is_const=True, is_virtual=True)
11377
    ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
11378
    cls.add_method('Set', 
11379
                   'void', 
11380
                   [param('bool', 'value')])
11381
    return
11382
11292
def register_Ns3BsmApplication_methods(root_module, cls):
11383
def register_Ns3BsmApplication_methods(root_module, cls):
11293
    ## bsm-application.h (module 'wave'): ns3::BsmApplication::BsmApplication(ns3::BsmApplication const & arg0) [copy constructor]
11384
    ## bsm-application.h (module 'wave'): ns3::BsmApplication::BsmApplication(ns3::BsmApplication const & arg0) [copy constructor]
11294
    cls.add_constructor([param('ns3::BsmApplication const &', 'arg0')])
11385
    cls.add_constructor([param('ns3::BsmApplication const &', 'arg0')])
 Lines 12101-12106    Link Here 
12101
                   is_virtual=True)
12192
                   is_virtual=True)
12102
    return
12193
    return
12103
12194
12195
def register_Ns3DoubleValue_methods(root_module, cls):
12196
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
12197
    cls.add_constructor([])
12198
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
12199
    cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
12200
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
12201
    cls.add_constructor([param('double const &', 'value')])
12202
    ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
12203
    cls.add_method('Copy', 
12204
                   'ns3::Ptr< ns3::AttributeValue >', 
12205
                   [], 
12206
                   is_const=True, is_virtual=True)
12207
    ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
12208
    cls.add_method('DeserializeFromString', 
12209
                   'bool', 
12210
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12211
                   is_virtual=True)
12212
    ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
12213
    cls.add_method('Get', 
12214
                   'double', 
12215
                   [], 
12216
                   is_const=True)
12217
    ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
12218
    cls.add_method('SerializeToString', 
12219
                   'std::string', 
12220
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12221
                   is_const=True, is_virtual=True)
12222
    ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
12223
    cls.add_method('Set', 
12224
                   'void', 
12225
                   [param('double const &', 'value')])
12226
    return
12227
12104
def register_Ns3EdcaTxopN_methods(root_module, cls):
12228
def register_Ns3EdcaTxopN_methods(root_module, cls):
12105
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN::m_aMpduEnabled [variable]
12229
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN::m_aMpduEnabled [variable]
12106
    cls.add_instance_attribute('m_aMpduEnabled', 'std::map< ns3::Mac48Address, bool >', is_const=False)
12230
    cls.add_instance_attribute('m_aMpduEnabled', 'std::map< ns3::Mac48Address, bool >', is_const=False)
 Lines 12482-12487    Link Here 
12482
                   is_const=True, visibility='private', is_virtual=True)
12606
                   is_const=True, visibility='private', is_virtual=True)
12483
    return
12607
    return
12484
12608
12609
def register_Ns3EnumChecker_methods(root_module, cls):
12610
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
12611
    cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
12612
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
12613
    cls.add_constructor([])
12614
    ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function]
12615
    cls.add_method('Add', 
12616
                   'void', 
12617
                   [param('int', 'value'), param('std::string', 'name')])
12618
    ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function]
12619
    cls.add_method('AddDefault', 
12620
                   'void', 
12621
                   [param('int', 'value'), param('std::string', 'name')])
12622
    ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
12623
    cls.add_method('Check', 
12624
                   'bool', 
12625
                   [param('ns3::AttributeValue const &', 'value')], 
12626
                   is_const=True, is_virtual=True)
12627
    ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
12628
    cls.add_method('Copy', 
12629
                   'bool', 
12630
                   [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], 
12631
                   is_const=True, is_virtual=True)
12632
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
12633
    cls.add_method('Create', 
12634
                   'ns3::Ptr< ns3::AttributeValue >', 
12635
                   [], 
12636
                   is_const=True, is_virtual=True)
12637
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
12638
    cls.add_method('GetUnderlyingTypeInformation', 
12639
                   'std::string', 
12640
                   [], 
12641
                   is_const=True, is_virtual=True)
12642
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
12643
    cls.add_method('GetValueTypeName', 
12644
                   'std::string', 
12645
                   [], 
12646
                   is_const=True, is_virtual=True)
12647
    ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
12648
    cls.add_method('HasUnderlyingTypeInformation', 
12649
                   'bool', 
12650
                   [], 
12651
                   is_const=True, is_virtual=True)
12652
    return
12653
12654
def register_Ns3EnumValue_methods(root_module, cls):
12655
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
12656
    cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
12657
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
12658
    cls.add_constructor([])
12659
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor]
12660
    cls.add_constructor([param('int', 'value')])
12661
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
12662
    cls.add_method('Copy', 
12663
                   'ns3::Ptr< ns3::AttributeValue >', 
12664
                   [], 
12665
                   is_const=True, is_virtual=True)
12666
    ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
12667
    cls.add_method('DeserializeFromString', 
12668
                   'bool', 
12669
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12670
                   is_virtual=True)
12671
    ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
12672
    cls.add_method('Get', 
12673
                   'int', 
12674
                   [], 
12675
                   is_const=True)
12676
    ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
12677
    cls.add_method('SerializeToString', 
12678
                   'std::string', 
12679
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12680
                   is_const=True, is_virtual=True)
12681
    ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function]
12682
    cls.add_method('Set', 
12683
                   'void', 
12684
                   [param('int', 'value')])
12685
    return
12686
12485
def register_Ns3ErlangRandomVariable_methods(root_module, cls):
12687
def register_Ns3ErlangRandomVariable_methods(root_module, cls):
12486
    ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function]
12688
    ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function]
12487
    cls.add_method('GetTypeId', 
12689
    cls.add_method('GetTypeId', 
 Lines 13341-13346    Link Here 
13341
                   [param('ns3::HtOperations const &', 'value')])
13543
                   [param('ns3::HtOperations const &', 'value')])
13342
    return
13544
    return
13343
13545
13546
def register_Ns3IntegerValue_methods(root_module, cls):
13547
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
13548
    cls.add_constructor([])
13549
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
13550
    cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
13551
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
13552
    cls.add_constructor([param('int64_t const &', 'value')])
13553
    ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
13554
    cls.add_method('Copy', 
13555
                   'ns3::Ptr< ns3::AttributeValue >', 
13556
                   [], 
13557
                   is_const=True, is_virtual=True)
13558
    ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
13559
    cls.add_method('DeserializeFromString', 
13560
                   'bool', 
13561
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
13562
                   is_virtual=True)
13563
    ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
13564
    cls.add_method('Get', 
13565
                   'int64_t', 
13566
                   [], 
13567
                   is_const=True)
13568
    ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
13569
    cls.add_method('SerializeToString', 
13570
                   'std::string', 
13571
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
13572
                   is_const=True, is_virtual=True)
13573
    ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
13574
    cls.add_method('Set', 
13575
                   'void', 
13576
                   [param('int64_t const &', 'value')])
13577
    return
13578
13344
def register_Ns3Ipv4_methods(root_module, cls):
13579
def register_Ns3Ipv4_methods(root_module, cls):
13345
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
13580
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
13346
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
13581
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
 Lines 14781-14790    Link Here 
14781
    cls.add_method('NotifySwitchingStartNow', 
15016
    cls.add_method('NotifySwitchingStartNow', 
14782
                   'void', 
15017
                   'void', 
14783
                   [param('ns3::Time', 'duration')])
15018
                   [param('ns3::Time', 'duration')])
14784
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveError(ns3::Ptr<ns3::Packet> packet, double rxSnr, bool isEndOfFrame) [member function]
15019
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveError(ns3::Ptr<ns3::Packet> packet, double rxSnr) [member function]
14785
    cls.add_method('ReceiveError', 
15020
    cls.add_method('ReceiveError', 
14786
                   'void', 
15021
                   'void', 
14787
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr'), param('bool', 'isEndOfFrame')])
15022
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr')])
14788
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveOk(ns3::Ptr<ns3::Packet> packet, double rxSnr, ns3::WifiTxVector txVector, ns3::WifiPreamble preamble, bool ampduSubframe) [member function]
15023
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveOk(ns3::Ptr<ns3::Packet> packet, double rxSnr, ns3::WifiTxVector txVector, ns3::WifiPreamble preamble, bool ampduSubframe) [member function]
14789
    cls.add_method('ReceiveOk', 
15024
    cls.add_method('ReceiveOk', 
14790
                   'void', 
15025
                   'void', 
 Lines 15238-15252    Link Here 
15238
                   'ns3::TypeId', 
15473
                   'ns3::TypeId', 
15239
                   [], 
15474
                   [], 
15240
                   is_static=True)
15475
                   is_static=True)
15241
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
15242
    cls.add_method('IsQueueDiscInstalled', 
15243
                   'bool', 
15244
                   [], 
15245
                   is_const=True)
15246
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
15247
    cls.add_method('SetQueueDiscInstalled', 
15248
                   'void', 
15249
                   [param('bool', 'installed')])
15250
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15476
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15251
    cls.add_method('SetSelectQueueCallback', 
15477
    cls.add_method('SetSelectQueueCallback', 
15252
                   'void', 
15478
                   'void', 
(-)a/src/wave/bindings/modulegen__gcc_LP64.py (-66 / +292 lines)
 Lines 32-39    Link Here 
32
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
32
    module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_HR_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT', 'WIFI_MOD_CLASS_VHT'], import_from_module='ns.wifi')
33
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
33
    ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration]
34
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
34
    module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211n_2_4GHZ', 'WIFI_PHY_STANDARD_80211n_5GHZ', 'WIFI_PHY_STANDARD_80211ac'], import_from_module='ns.wifi')
35
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
36
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
37
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
35
    ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration]
38
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
36
    module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF'], import_from_module='ns.wifi')
39
    ## channel-scheduler.h (module 'wave'): ns3::ChannelAccess [enumeration]
37
    ## channel-scheduler.h (module 'wave'): ns3::ChannelAccess [enumeration]
 Lines 44-49    Link Here 
44
    module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK'], import_from_module='ns.wifi')
42
    module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK'], import_from_module='ns.wifi')
45
    ## vsa-manager.h (module 'wave'): ns3::VsaTransmitInterval [enumeration]
43
    ## vsa-manager.h (module 'wave'): ns3::VsaTransmitInterval [enumeration]
46
    module.add_enum('VsaTransmitInterval', ['VSA_TRANSMIT_IN_CCHI', 'VSA_TRANSMIT_IN_SCHI', 'VSA_TRANSMIT_IN_BOTHI'])
44
    module.add_enum('VsaTransmitInterval', ['VSA_TRANSMIT_IN_CCHI', 'VSA_TRANSMIT_IN_SCHI', 'VSA_TRANSMIT_IN_BOTHI'])
45
    ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration]
46
    module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2', 'WIFI_CODE_RATE_5_6'], import_from_module='ns.wifi')
47
    ## address.h (module 'network'): ns3::Address [class]
47
    ## address.h (module 'network'): ns3::Address [class]
48
    module.add_class('Address', import_from_module='ns.network')
48
    module.add_class('Address', import_from_module='ns.network')
49
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
49
    ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration]
 Lines 208-213    Link Here 
208
    module.add_class('TagBuffer', import_from_module='ns.network')
208
    module.add_class('TagBuffer', import_from_module='ns.network')
209
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
209
    ## nstime.h (module 'core'): ns3::TimeWithUnit [class]
210
    module.add_class('TimeWithUnit', import_from_module='ns.core')
210
    module.add_class('TimeWithUnit', import_from_module='ns.core')
211
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int> [class]
212
    module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int'])
211
    ## wave-net-device.h (module 'wave'): ns3::TxInfo [struct]
213
    ## wave-net-device.h (module 'wave'): ns3::TxInfo [struct]
212
    module.add_class('TxInfo')
214
    module.add_class('TxInfo')
213
    ## wave-net-device.h (module 'wave'): ns3::TxProfile [struct]
215
    ## wave-net-device.h (module 'wave'): ns3::TxProfile [struct]
 Lines 360-367    Link Here 
360
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
362
    module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
361
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
363
    ## socket.h (module 'network'): ns3::Socket::Ipv6MulticastFilterMode [enumeration]
362
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
364
    module.add_enum('Ipv6MulticastFilterMode', ['INCLUDE', 'EXCLUDE'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network')
363
    ## socket.h (module 'network'): ns3::SocketAddressTag [class]
364
    module.add_class('SocketAddressTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
365
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
365
    ## socket.h (module 'network'): ns3::SocketIpTosTag [class]
366
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
366
    module.add_class('SocketIpTosTag', import_from_module='ns.network', parent=root_module['ns3::Tag'])
367
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
367
    ## socket.h (module 'network'): ns3::SocketIpTtlTag [class]
 Lines 450-455    Link Here 
450
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
450
    module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter<ns3::AttributeChecker> >'])
451
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
451
    ## attribute.h (module 'core'): ns3::AttributeValue [class]
452
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
452
    module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter<ns3::AttributeValue> >'])
453
    ## boolean.h (module 'core'): ns3::BooleanChecker [class]
454
    module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
455
    ## boolean.h (module 'core'): ns3::BooleanValue [class]
456
    module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
453
    ## bsm-application.h (module 'wave'): ns3::BsmApplication [class]
457
    ## bsm-application.h (module 'wave'): ns3::BsmApplication [class]
454
    module.add_class('BsmApplication', parent=root_module['ns3::Application'])
458
    module.add_class('BsmApplication', parent=root_module['ns3::Application'])
455
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
459
    ## callback.h (module 'core'): ns3::CallbackChecker [class]
 Lines 480-491    Link Here 
480
    module.add_class('DefaultChannelScheduler', parent=root_module['ns3::ChannelScheduler'])
484
    module.add_class('DefaultChannelScheduler', parent=root_module['ns3::ChannelScheduler'])
481
    ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class]
485
    ## random-variable-stream.h (module 'core'): ns3::DeterministicRandomVariable [class]
482
    module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
486
    module.add_class('DeterministicRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
487
    ## double.h (module 'core'): ns3::DoubleValue [class]
488
    module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
483
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class]
489
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN [class]
484
    module.add_class('EdcaTxopN', import_from_module='ns.wifi', parent=root_module['ns3::Dcf'])
490
    module.add_class('EdcaTxopN', import_from_module='ns.wifi', parent=root_module['ns3::Dcf'])
485
    ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class]
491
    ## random-variable-stream.h (module 'core'): ns3::EmpiricalRandomVariable [class]
486
    module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
492
    module.add_class('EmpiricalRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
487
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
493
    ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class]
488
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
494
    module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
495
    ## enum.h (module 'core'): ns3::EnumChecker [class]
496
    module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker'])
497
    ## enum.h (module 'core'): ns3::EnumValue [class]
498
    module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
489
    ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class]
499
    ## random-variable-stream.h (module 'core'): ns3::ErlangRandomVariable [class]
490
    module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
500
    module.add_class('ErlangRandomVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariableStream'])
491
    ## erp-information.h (module 'wifi'): ns3::ErpInformation [class]
501
    ## erp-information.h (module 'wifi'): ns3::ErpInformation [class]
 Lines 514-519    Link Here 
514
    module.add_class('HtOperationsChecker', import_from_module='ns.wifi', parent=root_module['ns3::AttributeChecker'])
524
    module.add_class('HtOperationsChecker', import_from_module='ns.wifi', parent=root_module['ns3::AttributeChecker'])
515
    ## ht-operations.h (module 'wifi'): ns3::HtOperationsValue [class]
525
    ## ht-operations.h (module 'wifi'): ns3::HtOperationsValue [class]
516
    module.add_class('HtOperationsValue', import_from_module='ns.wifi', parent=root_module['ns3::AttributeValue'])
526
    module.add_class('HtOperationsValue', import_from_module='ns.wifi', parent=root_module['ns3::AttributeValue'])
527
    ## integer.h (module 'core'): ns3::IntegerValue [class]
528
    module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue'])
517
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
529
    ## ipv4.h (module 'internet'): ns3::Ipv4 [class]
518
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
530
    module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object'])
519
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
531
    ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class]
 Lines 756-761    Link Here 
756
def register_types_ns3_TracedValueCallback(module):
768
def register_types_ns3_TracedValueCallback(module):
757
    root_module = module.get_root()
769
    root_module = module.get_root()
758
    
770
    
771
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double')
772
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*')
773
    typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&')
774
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8')
775
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*')
776
    typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&')
777
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8')
778
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*')
779
    typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&')
780
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32')
781
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*')
782
    typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&')
783
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool')
784
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*')
785
    typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&')
786
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16')
787
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*')
788
    typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&')
789
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32')
790
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*')
791
    typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&')
792
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16')
793
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*')
794
    typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&')
759
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time')
795
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time')
760
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*')
796
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*')
761
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&')
797
    typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&')
 Lines 833-838    Link Here 
833
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
869
    register_Ns3Tag_methods(root_module, root_module['ns3::Tag'])
834
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
870
    register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer'])
835
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
871
    register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit'])
872
    register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >'])
836
    register_Ns3TxInfo_methods(root_module, root_module['ns3::TxInfo'])
873
    register_Ns3TxInfo_methods(root_module, root_module['ns3::TxInfo'])
837
    register_Ns3TxProfile_methods(root_module, root_module['ns3::TxProfile'])
874
    register_Ns3TxProfile_methods(root_module, root_module['ns3::TxProfile'])
838
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
875
    register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId'])
 Lines 898-904    Link Here 
898
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
935
    register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter<ns3::TraceSourceAccessor> >'])
899
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
936
    register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter<ns3::WifiInformationElement> >'])
900
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
937
    register_Ns3Socket_methods(root_module, root_module['ns3::Socket'])
901
    register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag'])
902
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
938
    register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag'])
903
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
939
    register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag'])
904
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
940
    register_Ns3SocketIpv6HopLimitTag_methods(root_module, root_module['ns3::SocketIpv6HopLimitTag'])
 Lines 932-937    Link Here 
932
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
968
    register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor'])
933
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
969
    register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker'])
934
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
970
    register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue'])
971
    register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker'])
972
    register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue'])
935
    register_Ns3BsmApplication_methods(root_module, root_module['ns3::BsmApplication'])
973
    register_Ns3BsmApplication_methods(root_module, root_module['ns3::BsmApplication'])
936
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
974
    register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker'])
937
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
975
    register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase'])
 Lines 947-955    Link Here 
947
    register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf'])
985
    register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf'])
948
    register_Ns3DefaultChannelScheduler_methods(root_module, root_module['ns3::DefaultChannelScheduler'])
986
    register_Ns3DefaultChannelScheduler_methods(root_module, root_module['ns3::DefaultChannelScheduler'])
949
    register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable'])
987
    register_Ns3DeterministicRandomVariable_methods(root_module, root_module['ns3::DeterministicRandomVariable'])
988
    register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue'])
950
    register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN'])
989
    register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN'])
951
    register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable'])
990
    register_Ns3EmpiricalRandomVariable_methods(root_module, root_module['ns3::EmpiricalRandomVariable'])
952
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
991
    register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue'])
992
    register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker'])
993
    register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue'])
953
    register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable'])
994
    register_Ns3ErlangRandomVariable_methods(root_module, root_module['ns3::ErlangRandomVariable'])
954
    register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation'])
995
    register_Ns3ErpInformation_methods(root_module, root_module['ns3::ErpInformation'])
955
    register_Ns3ErpInformationChecker_methods(root_module, root_module['ns3::ErpInformationChecker'])
996
    register_Ns3ErpInformationChecker_methods(root_module, root_module['ns3::ErpInformationChecker'])
 Lines 964-969    Link Here 
964
    register_Ns3HtOperations_methods(root_module, root_module['ns3::HtOperations'])
1005
    register_Ns3HtOperations_methods(root_module, root_module['ns3::HtOperations'])
965
    register_Ns3HtOperationsChecker_methods(root_module, root_module['ns3::HtOperationsChecker'])
1006
    register_Ns3HtOperationsChecker_methods(root_module, root_module['ns3::HtOperationsChecker'])
966
    register_Ns3HtOperationsValue_methods(root_module, root_module['ns3::HtOperationsValue'])
1007
    register_Ns3HtOperationsValue_methods(root_module, root_module['ns3::HtOperationsValue'])
1008
    register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue'])
967
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
1009
    register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4'])
968
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
1010
    register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker'])
969
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
1011
    register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue'])
 Lines 4424-4429    Link Here 
4424
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
4466
    cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')])
4425
    return
4467
    return
4426
4468
4469
def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls):
4470
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue() [constructor]
4471
    cls.add_constructor([])
4472
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(ns3::TracedValue<unsigned int> const & o) [copy constructor]
4473
    cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')])
4474
    ## traced-value.h (module 'core'): ns3::TracedValue<unsigned int>::TracedValue(unsigned int const & v) [constructor]
4475
    cls.add_constructor([param('unsigned int const &', 'v')])
4476
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Connect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
4477
    cls.add_method('Connect', 
4478
                   'void', 
4479
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
4480
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function]
4481
    cls.add_method('ConnectWithoutContext', 
4482
                   'void', 
4483
                   [param('ns3::CallbackBase const &', 'cb')])
4484
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Disconnect(ns3::CallbackBase const & cb, std::basic_string<char,std::char_traits<char>,std::allocator<char> > path) [member function]
4485
    cls.add_method('Disconnect', 
4486
                   'void', 
4487
                   [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')])
4488
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function]
4489
    cls.add_method('DisconnectWithoutContext', 
4490
                   'void', 
4491
                   [param('ns3::CallbackBase const &', 'cb')])
4492
    ## traced-value.h (module 'core'): unsigned int ns3::TracedValue<unsigned int>::Get() const [member function]
4493
    cls.add_method('Get', 
4494
                   'unsigned int', 
4495
                   [], 
4496
                   is_const=True)
4497
    ## traced-value.h (module 'core'): void ns3::TracedValue<unsigned int>::Set(unsigned int const & v) [member function]
4498
    cls.add_method('Set', 
4499
                   'void', 
4500
                   [param('unsigned int const &', 'v')])
4501
    return
4502
4427
def register_Ns3TxInfo_methods(root_module, cls):
4503
def register_Ns3TxInfo_methods(root_module, cls):
4428
    ## wave-net-device.h (module 'wave'): ns3::TxInfo::TxInfo(ns3::TxInfo const & arg0) [copy constructor]
4504
    ## wave-net-device.h (module 'wave'): ns3::TxInfo::TxInfo(ns3::TxInfo const & arg0) [copy constructor]
4429
    cls.add_constructor([param('ns3::TxInfo const &', 'arg0')])
4505
    cls.add_constructor([param('ns3::TxInfo const &', 'arg0')])
 Lines 7303-7354    Link Here 
7303
                   visibility='protected')
7379
                   visibility='protected')
7304
    return
7380
    return
7305
7381
7306
def register_Ns3SocketAddressTag_methods(root_module, cls):
7307
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor]
7308
    cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')])
7309
    ## socket.h (module 'network'): ns3::SocketAddressTag::SocketAddressTag() [constructor]
7310
    cls.add_constructor([])
7311
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function]
7312
    cls.add_method('Deserialize', 
7313
                   'void', 
7314
                   [param('ns3::TagBuffer', 'i')], 
7315
                   is_virtual=True)
7316
    ## socket.h (module 'network'): ns3::Address ns3::SocketAddressTag::GetAddress() const [member function]
7317
    cls.add_method('GetAddress', 
7318
                   'ns3::Address', 
7319
                   [], 
7320
                   is_const=True)
7321
    ## socket.h (module 'network'): ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function]
7322
    cls.add_method('GetInstanceTypeId', 
7323
                   'ns3::TypeId', 
7324
                   [], 
7325
                   is_const=True, is_virtual=True)
7326
    ## socket.h (module 'network'): uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function]
7327
    cls.add_method('GetSerializedSize', 
7328
                   'uint32_t', 
7329
                   [], 
7330
                   is_const=True, is_virtual=True)
7331
    ## socket.h (module 'network'): static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function]
7332
    cls.add_method('GetTypeId', 
7333
                   'ns3::TypeId', 
7334
                   [], 
7335
                   is_static=True)
7336
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Print(std::ostream & os) const [member function]
7337
    cls.add_method('Print', 
7338
                   'void', 
7339
                   [param('std::ostream &', 'os')], 
7340
                   is_const=True, is_virtual=True)
7341
    ## socket.h (module 'network'): void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function]
7342
    cls.add_method('Serialize', 
7343
                   'void', 
7344
                   [param('ns3::TagBuffer', 'i')], 
7345
                   is_const=True, is_virtual=True)
7346
    ## socket.h (module 'network'): void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function]
7347
    cls.add_method('SetAddress', 
7348
                   'void', 
7349
                   [param('ns3::Address', 'addr')])
7350
    return
7351
7352
def register_Ns3SocketIpTosTag_methods(root_module, cls):
7382
def register_Ns3SocketIpTosTag_methods(root_module, cls):
7353
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
7383
    ## socket.h (module 'network'): ns3::SocketIpTosTag::SocketIpTosTag(ns3::SocketIpTosTag const & arg0) [copy constructor]
7354
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
7384
    cls.add_constructor([param('ns3::SocketIpTosTag const &', 'arg0')])
 Lines 9102-9107    Link Here 
9102
                   'void', 
9132
                   'void', 
9103
                   [param('ns3::WifiPhyStandard', 'standard')], 
9133
                   [param('ns3::WifiPhyStandard', 'standard')], 
9104
                   is_pure_virtual=True, is_virtual=True)
9134
                   is_pure_virtual=True, is_virtual=True)
9135
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbToRatio(double db) const [member function]
9136
    cls.add_method('DbToRatio', 
9137
                   'double', 
9138
                   [param('double', 'db')], 
9139
                   is_const=True)
9140
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::DbmToW(double dbm) const [member function]
9141
    cls.add_method('DbmToW', 
9142
                   'double', 
9143
                   [param('double', 'dbm')], 
9144
                   is_const=True)
9105
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
9145
    ## wifi-phy.h (module 'wifi'): uint32_t ns3::WifiPhy::GetBssMembershipSelector(uint32_t selector) const [member function]
9106
    cls.add_method('GetBssMembershipSelector', 
9146
    cls.add_method('GetBssMembershipSelector', 
9107
                   'uint32_t', 
9147
                   'uint32_t', 
 Lines 9772-9777    Link Here 
9772
    cls.add_method('NotifyTxEnd', 
9812
    cls.add_method('NotifyTxEnd', 
9773
                   'void', 
9813
                   'void', 
9774
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
9814
                   [param('ns3::Ptr< ns3::Packet const >', 'packet')])
9815
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::RatioToDb(double ratio) const [member function]
9816
    cls.add_method('RatioToDb', 
9817
                   'double', 
9818
                   [param('double', 'ratio')], 
9819
                   is_const=True)
9775
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
9820
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function]
9776
    cls.add_method('RegisterListener', 
9821
    cls.add_method('RegisterListener', 
9777
                   'void', 
9822
                   'void', 
 Lines 9832-9841    Link Here 
9832
                   'void', 
9877
                   'void', 
9833
                   [param('uint32_t', 'tx')], 
9878
                   [param('uint32_t', 'tx')], 
9834
                   is_pure_virtual=True, is_virtual=True)
9879
                   is_pure_virtual=True, is_virtual=True)
9835
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9880
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9836
    cls.add_method('SetReceiveErrorCallback', 
9881
    cls.add_method('SetReceiveErrorCallback', 
9837
                   'void', 
9882
                   'void', 
9838
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
9883
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
9839
                   is_pure_virtual=True, is_virtual=True)
9884
                   is_pure_virtual=True, is_virtual=True)
9840
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9885
    ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
9841
    cls.add_method('SetReceiveOkCallback', 
9886
    cls.add_method('SetReceiveOkCallback', 
 Lines 9862-9867    Link Here 
9862
                   'void', 
9907
                   'void', 
9863
                   [param('ns3::WifiPhyListener *', 'listener')], 
9908
                   [param('ns3::WifiPhyListener *', 'listener')], 
9864
                   is_pure_virtual=True, is_virtual=True)
9909
                   is_pure_virtual=True, is_virtual=True)
9910
    ## wifi-phy.h (module 'wifi'): double ns3::WifiPhy::WToDbm(double w) const [member function]
9911
    cls.add_method('WToDbm', 
9912
                   'double', 
9913
                   [param('double', 'w')], 
9914
                   is_const=True)
9865
    return
9915
    return
9866
9916
9867
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
9917
def register_Ns3WifiRemoteStationManager_methods(root_module, cls):
 Lines 10871-10880    Link Here 
10871
                   'void', 
10921
                   'void', 
10872
                   [param('uint32_t', 'tx')], 
10922
                   [param('uint32_t', 'tx')], 
10873
                   is_virtual=True)
10923
                   is_virtual=True)
10874
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,bool,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10924
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10875
    cls.add_method('SetReceiveErrorCallback', 
10925
    cls.add_method('SetReceiveErrorCallback', 
10876
                   'void', 
10926
                   'void', 
10877
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
10927
                   [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], 
10878
                   is_virtual=True)
10928
                   is_virtual=True)
10879
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10929
    ## yans-wifi-phy.h (module 'wifi'): void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback<void,ns3::Ptr<ns3::Packet>,double,ns3::WifiTxVector,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function]
10880
    cls.add_method('SetReceiveOkCallback', 
10930
    cls.add_method('SetReceiveOkCallback', 
 Lines 11289-11294    Link Here 
11289
                   is_pure_virtual=True, is_const=True, is_virtual=True)
11339
                   is_pure_virtual=True, is_const=True, is_virtual=True)
11290
    return
11340
    return
11291
11341
11342
def register_Ns3BooleanChecker_methods(root_module, cls):
11343
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor]
11344
    cls.add_constructor([])
11345
    ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor]
11346
    cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')])
11347
    return
11348
11349
def register_Ns3BooleanValue_methods(root_module, cls):
11350
    cls.add_output_stream_operator()
11351
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor]
11352
    cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')])
11353
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor]
11354
    cls.add_constructor([])
11355
    ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor]
11356
    cls.add_constructor([param('bool', 'value')])
11357
    ## boolean.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::BooleanValue::Copy() const [member function]
11358
    cls.add_method('Copy', 
11359
                   'ns3::Ptr< ns3::AttributeValue >', 
11360
                   [], 
11361
                   is_const=True, is_virtual=True)
11362
    ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
11363
    cls.add_method('DeserializeFromString', 
11364
                   'bool', 
11365
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
11366
                   is_virtual=True)
11367
    ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function]
11368
    cls.add_method('Get', 
11369
                   'bool', 
11370
                   [], 
11371
                   is_const=True)
11372
    ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
11373
    cls.add_method('SerializeToString', 
11374
                   'std::string', 
11375
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
11376
                   is_const=True, is_virtual=True)
11377
    ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function]
11378
    cls.add_method('Set', 
11379
                   'void', 
11380
                   [param('bool', 'value')])
11381
    return
11382
11292
def register_Ns3BsmApplication_methods(root_module, cls):
11383
def register_Ns3BsmApplication_methods(root_module, cls):
11293
    ## bsm-application.h (module 'wave'): ns3::BsmApplication::BsmApplication(ns3::BsmApplication const & arg0) [copy constructor]
11384
    ## bsm-application.h (module 'wave'): ns3::BsmApplication::BsmApplication(ns3::BsmApplication const & arg0) [copy constructor]
11294
    cls.add_constructor([param('ns3::BsmApplication const &', 'arg0')])
11385
    cls.add_constructor([param('ns3::BsmApplication const &', 'arg0')])
 Lines 12101-12106    Link Here 
12101
                   is_virtual=True)
12192
                   is_virtual=True)
12102
    return
12193
    return
12103
12194
12195
def register_Ns3DoubleValue_methods(root_module, cls):
12196
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor]
12197
    cls.add_constructor([])
12198
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor]
12199
    cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')])
12200
    ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor]
12201
    cls.add_constructor([param('double const &', 'value')])
12202
    ## double.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::DoubleValue::Copy() const [member function]
12203
    cls.add_method('Copy', 
12204
                   'ns3::Ptr< ns3::AttributeValue >', 
12205
                   [], 
12206
                   is_const=True, is_virtual=True)
12207
    ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
12208
    cls.add_method('DeserializeFromString', 
12209
                   'bool', 
12210
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12211
                   is_virtual=True)
12212
    ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function]
12213
    cls.add_method('Get', 
12214
                   'double', 
12215
                   [], 
12216
                   is_const=True)
12217
    ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
12218
    cls.add_method('SerializeToString', 
12219
                   'std::string', 
12220
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12221
                   is_const=True, is_virtual=True)
12222
    ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function]
12223
    cls.add_method('Set', 
12224
                   'void', 
12225
                   [param('double const &', 'value')])
12226
    return
12227
12104
def register_Ns3EdcaTxopN_methods(root_module, cls):
12228
def register_Ns3EdcaTxopN_methods(root_module, cls):
12105
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN::m_aMpduEnabled [variable]
12229
    ## edca-txop-n.h (module 'wifi'): ns3::EdcaTxopN::m_aMpduEnabled [variable]
12106
    cls.add_instance_attribute('m_aMpduEnabled', 'std::map< ns3::Mac48Address, bool >', is_const=False)
12230
    cls.add_instance_attribute('m_aMpduEnabled', 'std::map< ns3::Mac48Address, bool >', is_const=False)
 Lines 12482-12487    Link Here 
12482
                   is_const=True, visibility='private', is_virtual=True)
12606
                   is_const=True, visibility='private', is_virtual=True)
12483
    return
12607
    return
12484
12608
12609
def register_Ns3EnumChecker_methods(root_module, cls):
12610
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor]
12611
    cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')])
12612
    ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor]
12613
    cls.add_constructor([])
12614
    ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function]
12615
    cls.add_method('Add', 
12616
                   'void', 
12617
                   [param('int', 'value'), param('std::string', 'name')])
12618
    ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function]
12619
    cls.add_method('AddDefault', 
12620
                   'void', 
12621
                   [param('int', 'value'), param('std::string', 'name')])
12622
    ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function]
12623
    cls.add_method('Check', 
12624
                   'bool', 
12625
                   [param('ns3::AttributeValue const &', 'value')], 
12626
                   is_const=True, is_virtual=True)
12627
    ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function]
12628
    cls.add_method('Copy', 
12629
                   'bool', 
12630
                   [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], 
12631
                   is_const=True, is_virtual=True)
12632
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumChecker::Create() const [member function]
12633
    cls.add_method('Create', 
12634
                   'ns3::Ptr< ns3::AttributeValue >', 
12635
                   [], 
12636
                   is_const=True, is_virtual=True)
12637
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function]
12638
    cls.add_method('GetUnderlyingTypeInformation', 
12639
                   'std::string', 
12640
                   [], 
12641
                   is_const=True, is_virtual=True)
12642
    ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function]
12643
    cls.add_method('GetValueTypeName', 
12644
                   'std::string', 
12645
                   [], 
12646
                   is_const=True, is_virtual=True)
12647
    ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function]
12648
    cls.add_method('HasUnderlyingTypeInformation', 
12649
                   'bool', 
12650
                   [], 
12651
                   is_const=True, is_virtual=True)
12652
    return
12653
12654
def register_Ns3EnumValue_methods(root_module, cls):
12655
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor]
12656
    cls.add_constructor([param('ns3::EnumValue const &', 'arg0')])
12657
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor]
12658
    cls.add_constructor([])
12659
    ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor]
12660
    cls.add_constructor([param('int', 'value')])
12661
    ## enum.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::EnumValue::Copy() const [member function]
12662
    cls.add_method('Copy', 
12663
                   'ns3::Ptr< ns3::AttributeValue >', 
12664
                   [], 
12665
                   is_const=True, is_virtual=True)
12666
    ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
12667
    cls.add_method('DeserializeFromString', 
12668
                   'bool', 
12669
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12670
                   is_virtual=True)
12671
    ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function]
12672
    cls.add_method('Get', 
12673
                   'int', 
12674
                   [], 
12675
                   is_const=True)
12676
    ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
12677
    cls.add_method('SerializeToString', 
12678
                   'std::string', 
12679
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
12680
                   is_const=True, is_virtual=True)
12681
    ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function]
12682
    cls.add_method('Set', 
12683
                   'void', 
12684
                   [param('int', 'value')])
12685
    return
12686
12485
def register_Ns3ErlangRandomVariable_methods(root_module, cls):
12687
def register_Ns3ErlangRandomVariable_methods(root_module, cls):
12486
    ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function]
12688
    ## random-variable-stream.h (module 'core'): static ns3::TypeId ns3::ErlangRandomVariable::GetTypeId() [member function]
12487
    cls.add_method('GetTypeId', 
12689
    cls.add_method('GetTypeId', 
 Lines 13341-13346    Link Here 
13341
                   [param('ns3::HtOperations const &', 'value')])
13543
                   [param('ns3::HtOperations const &', 'value')])
13342
    return
13544
    return
13343
13545
13546
def register_Ns3IntegerValue_methods(root_module, cls):
13547
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor]
13548
    cls.add_constructor([])
13549
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor]
13550
    cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')])
13551
    ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor]
13552
    cls.add_constructor([param('int64_t const &', 'value')])
13553
    ## integer.h (module 'core'): ns3::Ptr<ns3::AttributeValue> ns3::IntegerValue::Copy() const [member function]
13554
    cls.add_method('Copy', 
13555
                   'ns3::Ptr< ns3::AttributeValue >', 
13556
                   [], 
13557
                   is_const=True, is_virtual=True)
13558
    ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr<ns3::AttributeChecker const> checker) [member function]
13559
    cls.add_method('DeserializeFromString', 
13560
                   'bool', 
13561
                   [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
13562
                   is_virtual=True)
13563
    ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function]
13564
    cls.add_method('Get', 
13565
                   'int64_t', 
13566
                   [], 
13567
                   is_const=True)
13568
    ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr<ns3::AttributeChecker const> checker) const [member function]
13569
    cls.add_method('SerializeToString', 
13570
                   'std::string', 
13571
                   [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], 
13572
                   is_const=True, is_virtual=True)
13573
    ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function]
13574
    cls.add_method('Set', 
13575
                   'void', 
13576
                   [param('int64_t const &', 'value')])
13577
    return
13578
13344
def register_Ns3Ipv4_methods(root_module, cls):
13579
def register_Ns3Ipv4_methods(root_module, cls):
13345
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
13580
    ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor]
13346
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
13581
    cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')])
 Lines 14781-14790    Link Here 
14781
    cls.add_method('NotifySwitchingStartNow', 
15016
    cls.add_method('NotifySwitchingStartNow', 
14782
                   'void', 
15017
                   'void', 
14783
                   [param('ns3::Time', 'duration')])
15018
                   [param('ns3::Time', 'duration')])
14784
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveError(ns3::Ptr<ns3::Packet> packet, double rxSnr, bool isEndOfFrame) [member function]
15019
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveError(ns3::Ptr<ns3::Packet> packet, double rxSnr) [member function]
14785
    cls.add_method('ReceiveError', 
15020
    cls.add_method('ReceiveError', 
14786
                   'void', 
15021
                   'void', 
14787
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr'), param('bool', 'isEndOfFrame')])
15022
                   [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr')])
14788
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveOk(ns3::Ptr<ns3::Packet> packet, double rxSnr, ns3::WifiTxVector txVector, ns3::WifiPreamble preamble, bool ampduSubframe) [member function]
15023
    ## mac-low.h (module 'wifi'): void ns3::MacLow::ReceiveOk(ns3::Ptr<ns3::Packet> packet, double rxSnr, ns3::WifiTxVector txVector, ns3::WifiPreamble preamble, bool ampduSubframe) [member function]
14789
    cls.add_method('ReceiveOk', 
15024
    cls.add_method('ReceiveOk', 
14790
                   'void', 
15025
                   'void', 
 Lines 15238-15252    Link Here 
15238
                   'ns3::TypeId', 
15473
                   'ns3::TypeId', 
15239
                   [], 
15474
                   [], 
15240
                   is_static=True)
15475
                   is_static=True)
15241
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
15242
    cls.add_method('IsQueueDiscInstalled', 
15243
                   'bool', 
15244
                   [], 
15245
                   is_const=True)
15246
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
15247
    cls.add_method('SetQueueDiscInstalled', 
15248
                   'void', 
15249
                   [param('bool', 'installed')])
15250
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15476
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
15251
    cls.add_method('SetSelectQueueCallback', 
15477
    cls.add_method('SetSelectQueueCallback', 
15252
                   'void', 
15478
                   'void', 
(-)a/src/wave/examples/vanet-routing-compare.cc (-8 / +6 lines)
 Lines 662-679    Link Here 
662
}
662
}
663
663
664
static inline std::string
664
static inline std::string
665
PrintReceivedRoutingPacket (Ptr<Socket> socket, Ptr<Packet> packet)
665
PrintReceivedRoutingPacket (Ptr<Socket> socket, Ptr<Packet> packet, Address srcAddress)
666
{
666
{
667
  SocketAddressTag tag;
668
  bool found;
669
  found = packet->PeekPacketTag (tag);
670
  std::ostringstream oss;
667
  std::ostringstream oss;
671
668
672
  oss << Simulator::Now ().GetSeconds () << " " << socket->GetNode ()->GetId ();
669
  oss << Simulator::Now ().GetSeconds () << " " << socket->GetNode ()->GetId ();
673
670
674
  if (found)
671
  if (InetSocketAddress::IsMatchingType (srcAddress))
675
    {
672
    {
676
      InetSocketAddress addr = InetSocketAddress::ConvertFrom (tag.GetAddress ());
673
      InetSocketAddress addr = InetSocketAddress::ConvertFrom (srcAddress);
677
      oss << " received one packet from " << addr.GetIpv4 ();
674
      oss << " received one packet from " << addr.GetIpv4 ();
678
    }
675
    }
679
  else
676
  else
 Lines 687-693    Link Here 
687
RoutingHelper::ReceiveRoutingPacket (Ptr<Socket> socket)
684
RoutingHelper::ReceiveRoutingPacket (Ptr<Socket> socket)
688
{
685
{
689
  Ptr<Packet> packet;
686
  Ptr<Packet> packet;
690
  while ((packet = socket->Recv ()))
687
  Address srcAddress;
688
  while ((packet = socket->RecvFrom (srcAddress)))
691
    {
689
    {
692
      // application data, for goodput
690
      // application data, for goodput
693
      uint32_t RxRoutingBytes = packet->GetSize ();
691
      uint32_t RxRoutingBytes = packet->GetSize ();
 Lines 695-701    Link Here 
695
      GetRoutingStats ().IncRxPkts ();
693
      GetRoutingStats ().IncRxPkts ();
696
      if (m_log != 0)
694
      if (m_log != 0)
697
        {
695
        {
698
          NS_LOG_UNCOND (m_protocolName + " " + PrintReceivedRoutingPacket (socket, packet));
696
          NS_LOG_UNCOND (m_protocolName + " " + PrintReceivedRoutingPacket (socket, packet, srcAddress));
699
        }
697
        }
700
    }
698
    }
701
}
699
}
(-)a/src/wifi/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 14863-14877    Link Here 
14863
                   'ns3::TypeId', 
14863
                   'ns3::TypeId', 
14864
                   [], 
14864
                   [], 
14865
                   is_static=True)
14865
                   is_static=True)
14866
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
14867
    cls.add_method('IsQueueDiscInstalled', 
14868
                   'bool', 
14869
                   [], 
14870
                   is_const=True)
14871
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
14872
    cls.add_method('SetQueueDiscInstalled', 
14873
                   'void', 
14874
                   [param('bool', 'installed')])
14875
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
14866
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
14876
    cls.add_method('SetSelectQueueCallback', 
14867
    cls.add_method('SetSelectQueueCallback', 
14877
                   'void', 
14868
                   'void', 
(-)a/src/wifi/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 14863-14877    Link Here 
14863
                   'ns3::TypeId', 
14863
                   'ns3::TypeId', 
14864
                   [], 
14864
                   [], 
14865
                   is_static=True)
14865
                   is_static=True)
14866
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
14867
    cls.add_method('IsQueueDiscInstalled', 
14868
                   'bool', 
14869
                   [], 
14870
                   is_const=True)
14871
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
14872
    cls.add_method('SetQueueDiscInstalled', 
14873
                   'void', 
14874
                   [param('bool', 'installed')])
14875
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
14866
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
14876
    cls.add_method('SetSelectQueueCallback', 
14867
    cls.add_method('SetSelectQueueCallback', 
14877
                   'void', 
14868
                   'void', 
(-)a/src/wimax/bindings/modulegen__gcc_ILP32.py (-9 lines)
 Lines 10444-10458    Link Here 
10444
                   'ns3::TypeId', 
10444
                   'ns3::TypeId', 
10445
                   [], 
10445
                   [], 
10446
                   is_static=True)
10446
                   is_static=True)
10447
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
10448
    cls.add_method('IsQueueDiscInstalled', 
10449
                   'bool', 
10450
                   [], 
10451
                   is_const=True)
10452
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
10453
    cls.add_method('SetQueueDiscInstalled', 
10454
                   'void', 
10455
                   [param('bool', 'installed')])
10456
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10447
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10457
    cls.add_method('SetSelectQueueCallback', 
10448
    cls.add_method('SetSelectQueueCallback', 
10458
                   'void', 
10449
                   'void', 
(-)a/src/wimax/bindings/modulegen__gcc_LP64.py (-9 lines)
 Lines 10444-10458    Link Here 
10444
                   'ns3::TypeId', 
10444
                   'ns3::TypeId', 
10445
                   [], 
10445
                   [], 
10446
                   is_static=True)
10446
                   is_static=True)
10447
    ## net-device.h (module 'network'): bool ns3::NetDeviceQueueInterface::IsQueueDiscInstalled() const [member function]
10448
    cls.add_method('IsQueueDiscInstalled', 
10449
                   'bool', 
10450
                   [], 
10451
                   is_const=True)
10452
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetQueueDiscInstalled(bool installed) [member function]
10453
    cls.add_method('SetQueueDiscInstalled', 
10454
                   'void', 
10455
                   [param('bool', 'installed')])
10456
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10447
    ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback<unsigned char, ns3::Ptr<ns3::QueueItem>, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function]
10457
    cls.add_method('SetSelectQueueCallback', 
10448
    cls.add_method('SetSelectQueueCallback', 
10458
                   'void', 
10449
                   'void', 

Return to bug 231