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('Deseriali