From efc2d4fa60962a48c3474d2e294d6f359a0dfa2d Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 10 Mar 2017 15:48:44 -0800 Subject: [PATCH] click: Rescan python bindings --- src/click/bindings/callbacks_list.py | 4 - src/click/bindings/modulegen__gcc_ILP32.py | 1215 ++------------------ src/click/bindings/modulegen__gcc_LP64.py | 1215 ++------------------ 3 files changed, 150 insertions(+), 2284 deletions(-) diff --git a/src/click/bindings/callbacks_list.py b/src/click/bindings/callbacks_list.py index 92a20845a..c54f5244e 100644 --- a/src/click/bindings/callbacks_list.py +++ b/src/click/bindings/callbacks_list.py @@ -1,8 +1,4 @@ callback_classes = [ - ['unsigned char', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ['void', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], diff --git a/src/click/bindings/modulegen__gcc_ILP32.py b/src/click/bindings/modulegen__gcc_ILP32.py index 25781748c..8949fdd66 100644 --- a/src/click/bindings/modulegen__gcc_ILP32.py +++ b/src/click/bindings/modulegen__gcc_ILP32.py @@ -100,8 +100,6 @@ def register_types(module): module.add_class('PacketTagList', import_from_module='ns.network') ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct] module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) - ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration] - module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network') ## log.h (module 'core'): ns3::ParameterLogger [class] module.add_class('ParameterLogger', import_from_module='ns.core') ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] @@ -114,8 +112,6 @@ def register_types(module): module.add_class('TagBuffer', import_from_module='ns.network') ## nstime.h (module 'core'): ns3::TimeWithUnit [class] module.add_class('TimeWithUnit', import_from_module='ns.core') - ## traced-value.h (module 'core'): ns3::TracedValue [class] - module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int']) ## type-id.h (module 'core'): ns3::TypeId [class] module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] @@ -146,18 +142,6 @@ def register_types(module): module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) ## object.h (module 'core'): ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object']) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter [class] - module.add_class('PacketFilter', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) - ## queue.h (module 'network'): ns3::Queue [class] - module.add_class('Queue', import_from_module='ns.network', parent=root_module['ns3::Object']) - ## queue.h (module 'network'): ns3::Queue::QueueMode [enumeration] - module.add_enum('QueueMode', ['QUEUE_MODE_PACKETS', 'QUEUE_MODE_BYTES'], outer_class=root_module['ns3::Queue'], import_from_module='ns.network') - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc [class] - module.add_class('QueueDisc', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode [enumeration] - module.add_enum('WakeMode', ['WAKE_ROOT', 'WAKE_CHILD'], outer_class=root_module['ns3::QueueDisc'], import_from_module='ns.traffic-control') - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass [class] - module.add_class('QueueDiscClass', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] @@ -172,16 +156,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NetDeviceQueue', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::QueueItem', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## socket.h (module 'network'): ns3::Socket [class] @@ -214,8 +194,6 @@ def register_types(module): root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer [class] - module.add_class('TrafficControlLayer', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -224,30 +202,18 @@ def register_types(module): 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 >']) ## attribute.h (module 'core'): ns3::AttributeValue [class] 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 >']) - ## boolean.h (module 'core'): ns3::BooleanChecker [class] - module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## boolean.h (module 'core'): ns3::BooleanValue [class] - module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## callback.h (module 'core'): ns3::CallbackChecker [class] module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## callback.h (module 'core'): ns3::CallbackImplBase [class] module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## double.h (module 'core'): ns3::DoubleValue [class] - module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor [class] module.add_class('EmptyAttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::AttributeAccessor']) ## attribute.h (module 'core'): ns3::EmptyAttributeChecker [class] module.add_class('EmptyAttributeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## enum.h (module 'core'): ns3::EnumChecker [class] - module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## enum.h (module 'core'): ns3::EnumValue [class] - module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## integer.h (module 'core'): ns3::IntegerValue [class] - module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## ipv4.h (module 'internet'): ns3::Ipv4 [class] module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -284,41 +250,26 @@ def register_types(module): module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] 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') - ## net-device.h (module 'network'): ns3::NetDeviceQueue [class] - module.add_class('NetDeviceQueue', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface [class] - module.add_class('NetDeviceQueueInterface', import_from_module='ns.network', parent=root_module['ns3::Object']) ## nix-vector.h (module 'network'): ns3::NixVector [class] module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) - ## node.h (module 'network'): ns3::Node [class] - module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class] module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h (module 'network'): ns3::Packet [class] module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::QueueItem [class] - module.add_class('QueueItem', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::QueueItem::Uint8Values [enumeration] - module.add_enum('Uint8Values', ['IP_DSFIELD'], outer_class=root_module['ns3::QueueItem'], import_from_module='ns.network') ## nstime.h (module 'core'): ns3::TimeValue [class] module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## type-id.h (module 'core'): ns3::TypeIdChecker [class] module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## type-id.h (module 'core'): ns3::TypeIdValue [class] module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## uinteger.h (module 'core'): ns3::UintegerValue [class] - module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## address.h (module 'network'): ns3::AddressChecker [class] module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## address.h (module 'network'): ns3::AddressValue [class] module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class] module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem [class] - module.add_class('QueueDiscItem', import_from_module='ns.traffic_control', parent=root_module['ns3::QueueItem']) module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map') module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector') - module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector') module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map') typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter') typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*') @@ -344,12 +295,6 @@ def register_types(module): nested_module = module.add_cpp_namespace('TracedValueCallback') register_types_ns3_TracedValueCallback(nested_module) - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - def register_types_ns3_FatalImpl(module): root_module = module.get_root() @@ -388,40 +333,9 @@ def register_types_ns3_Hash_Function(module): def register_types_ns3_TracedValueCallback(module): root_module = module.get_root() - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8') - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*') - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&') - typehandlers.add_type_alias(u'void ( * ) ( ) *', u'ns3::TracedValueCallback::Void') - typehandlers.add_type_alias(u'void ( * ) ( ) **', u'ns3::TracedValueCallback::Void*') - typehandlers.add_type_alias(u'void ( * ) ( ) *&', u'ns3::TracedValueCallback::Void&') - -def register_types_ns3_internal(module): - root_module = module.get_root() - def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) @@ -461,7 +375,6 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit']) - register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) @@ -472,10 +385,6 @@ def register_methods(root_module): register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3PacketFilter_methods(root_module, root_module['ns3::PacketFilter']) - register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) - register_Ns3QueueDisc_methods(root_module, root_module['ns3::QueueDisc']) - register_Ns3QueueDiscClass_methods(root_module, root_module['ns3::QueueDiscClass']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -483,11 +392,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag']) @@ -498,23 +405,16 @@ def register_methods(root_module): register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) - register_Ns3TrafficControlLayer_methods(root_module, root_module['ns3::TrafficControlLayer']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) - register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) - register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) - register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EmptyAttributeAccessor_methods(root_module, root_module['ns3::EmptyAttributeAccessor']) register_Ns3EmptyAttributeChecker_methods(root_module, root_module['ns3::EmptyAttributeChecker']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) - register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) - register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) - register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -532,21 +432,15 @@ def register_methods(root_module): register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) - register_Ns3NetDeviceQueue_methods(root_module, root_module['ns3::NetDeviceQueue']) - register_Ns3NetDeviceQueueInterface_methods(root_module, root_module['ns3::NetDeviceQueueInterface']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) - register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) - register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) - register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue']) register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting']) - register_Ns3QueueDiscItem_methods(root_module, root_module['ns3::QueueDiscItem']) register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation']) register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a']) register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32']) @@ -2036,9 +1930,11 @@ def register_Ns3PacketTagListTagData_methods(root_module, cls): ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable] cls.add_instance_attribute('count', 'uint32_t', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable] - cls.add_instance_attribute('data', 'uint8_t [ 21 ]', is_const=False) + cls.add_instance_attribute('data', 'uint8_t [ 1 ]', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable] cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::size [variable] + cls.add_instance_attribute('size', 'uint32_t', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable] cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) return @@ -2195,40 +2091,6 @@ def register_Ns3TimeWithUnit_methods(root_module, cls): cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')]) return -def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')]) - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue(unsigned int const & v) [constructor] - cls.add_constructor([param('unsigned int const &', 'v')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] - cls.add_method('Connect', - 'void', - [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] - cls.add_method('Disconnect', - 'void', - [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h (module 'core'): unsigned int ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'unsigned int', - [], - is_const=True) - ## traced-value.h (module 'core'): void ns3::TracedValue::Set(unsigned int const & v) [member function] - cls.add_method('Set', - 'void', - [param('unsigned int const &', 'v')]) - return - def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2819,373 +2681,6 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return -def register_Ns3PacketFilter_methods(root_module, cls): - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter(ns3::PacketFilter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketFilter const &', 'arg0')]) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter() [constructor] - cls.add_constructor([]) - ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::Classify(ns3::Ptr item) const [member function] - cls.add_method('Classify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_const=True) - ## packet-filter.h (module 'traffic-control'): static ns3::TypeId ns3::PacketFilter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PF_NO_MATCH [variable] - cls.add_static_attribute('PF_NO_MATCH', 'int const', is_const=True) - ## packet-filter.h (module 'traffic-control'): bool ns3::PacketFilter::CheckProtocol(ns3::Ptr item) const [member function] - cls.add_method('CheckProtocol', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::DoClassify(ns3::Ptr item) const [member function] - cls.add_method('DoClassify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Queue_methods(root_module, cls): - ## queue.h (module 'network'): ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Queue const &', 'arg0')]) - ## queue.h (module 'network'): ns3::Queue::Queue() [constructor] - cls.add_constructor([]) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::QueueItem >', - []) - ## queue.h (module 'network'): void ns3::Queue::DequeueAll() [member function] - cls.add_method('DequeueAll', - 'void', - []) - ## queue.h (module 'network'): bool ns3::Queue::Enqueue(ns3::Ptr item) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueItem >', 'item')]) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxBytes() const [member function] - cls.add_method('GetMaxBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxPackets() const [member function] - cls.add_method('GetMaxPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Queue::QueueMode ns3::Queue::GetMode() const [member function] - cls.add_method('GetMode', - 'ns3::Queue::QueueMode', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): static ns3::TypeId ns3::Queue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue.h (module 'network'): bool ns3::Queue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::QueueItem const >', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Remove() [member function] - cls.add_method('Remove', - 'ns3::Ptr< ns3::QueueItem >', - []) - ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function] - cls.add_method('ResetStatistics', - 'void', - []) - ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDropCallback', - 'void', - [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')], - is_virtual=True) - ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## queue.h (module 'network'): void ns3::Queue::SetMaxPackets(uint32_t maxPackets) [member function] - cls.add_method('SetMaxPackets', - 'void', - [param('uint32_t', 'maxPackets')]) - ## queue.h (module 'network'): void ns3::Queue::SetMode(ns3::Queue::QueueMode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::Queue::QueueMode', 'mode')]) - ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr item) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - visibility='protected') - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::QueueItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr item) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::QueueItem const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoRemove() [member function] - cls.add_method('DoRemove', - 'ns3::Ptr< ns3::QueueItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3QueueDisc_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc(ns3::QueueDisc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QueueDisc const &', 'arg0')]) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc() [constructor] - cls.add_constructor([]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddInternalQueue(ns3::Ptr queue) [member function] - cls.add_method('AddInternalQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddPacketFilter(ns3::Ptr filter) [member function] - cls.add_method('AddPacketFilter', - 'void', - [param('ns3::Ptr< ns3::PacketFilter >', 'filter')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddQueueDiscClass(ns3::Ptr qdClass) [member function] - cls.add_method('AddQueueDiscClass', - 'void', - [param('ns3::Ptr< ns3::QueueDiscClass >', 'qdClass')]) - ## queue-disc.h (module 'traffic-control'): int32_t ns3::QueueDisc::Classify(ns3::Ptr item) [member function] - cls.add_method('Classify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::QueueDiscItem >', - []) - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::Enqueue(ns3::Ptr item) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetInternalQueue(uint32_t i) const [member function] - cls.add_method('GetInternalQueue', - 'ns3::Ptr< ns3::Queue >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNInternalQueues() const [member function] - cls.add_method('GetNInternalQueues', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPacketFilters() const [member function] - cls.add_method('GetNPacketFilters', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNQueueDiscClasses() const [member function] - cls.add_method('GetNQueueDiscClasses', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetNetDevice() const [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetPacketFilter(uint32_t i) const [member function] - cls.add_method('GetPacketFilter', - 'ns3::Ptr< ns3::PacketFilter >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetQueueDiscClass(uint32_t i) const [member function] - cls.add_method('GetQueueDiscClass', - 'ns3::Ptr< ns3::QueueDiscClass >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetQuota() const [member function] - cls.add_method('GetQuota', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedBytes() const [member function] - cls.add_method('GetTotalRequeuedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedPackets() const [member function] - cls.add_method('GetTotalRequeuedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDisc::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode ns3::QueueDisc::GetWakeMode() [member function] - cls.add_method('GetWakeMode', - 'ns3::QueueDisc::WakeMode', - []) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::QueueDiscItem const >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Run() [member function] - cls.add_method('Run', - 'void', - []) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetNetDevice(ns3::Ptr device) [member function] - cls.add_method('SetNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetParentDropCallback', - 'void', - [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')], - is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function] - cls.add_method('SetQuota', - 'void', - [param('uint32_t const', 'quota')], - is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - visibility='protected') - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function] - cls.add_method('CheckConfig', - 'bool', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::QueueDiscItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::DoEnqueue(ns3::Ptr item) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::QueueDiscItem const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::InitializeParams() [member function] - cls.add_method('InitializeParams', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3QueueDiscClass_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass(ns3::QueueDiscClass const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QueueDiscClass const &', 'arg0')]) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass() [constructor] - cls.add_constructor([]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDiscClass::GetQueueDisc() const [member function] - cls.add_method('GetQueueDisc', - 'ns3::Ptr< ns3::QueueDisc >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDiscClass::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::SetQueueDisc(ns3::Ptr qd) [member function] - cls.add_method('SetQueueDisc', - 'void', - [param('ns3::Ptr< ns3::QueueDisc >', 'qd')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3270,18 +2765,6 @@ def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3 is_static=True) return -def register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, cls): - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter< ns3::NetDeviceQueue > > const &', 'o')]) - ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3318,18 +2801,6 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac is_static=True) return -def register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, cls): - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter< ns3::QueueItem > > const &', 'o')]) - ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -4207,74 +3678,6 @@ def register_Ns3TraceSourceAccessor_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3TrafficControlLayer_methods(root_module, cls): - ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer::TrafficControlLayer() [constructor] - cls.add_constructor([]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DeleteRootQueueDiscOnDevice(ns3::Ptr device) [member function] - cls.add_method('DeleteRootQueueDiscOnDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::TypeId ns3::TrafficControlLayer::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) const [member function] - cls.add_method('GetRootQueueDiscOnDevice', - 'ns3::Ptr< ns3::QueueDisc >', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Receive(ns3::Ptr device, ns3::Ptr p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('Receive', - 'void', - [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')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr device) [member function] - cls.add_method('RegisterProtocolHandler', - 'void', - [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')]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Send(ns3::Ptr device, ns3::Ptr item) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetRootQueueDiscOnDevice(ns3::Ptr device, ns3::Ptr qDisc) [member function] - cls.add_method('SetRootQueueDiscOnDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDisc >', 'qDisc')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetupDevice(ns3::Ptr device) [member function] - cls.add_method('SetupDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4399,47 +3802,6 @@ def register_Ns3AttributeValue_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3BooleanChecker_methods(root_module, cls): - ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor] - cls.add_constructor([]) - ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')]) - return - -def register_Ns3BooleanValue_methods(root_module, cls): - cls.add_output_stream_operator() - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')]) - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor] - cls.add_constructor([]) - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor] - cls.add_constructor([param('bool', 'value')]) - ## boolean.h (module 'core'): ns3::Ptr ns3::BooleanValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function] - cls.add_method('Get', - 'bool', - [], - is_const=True) - ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function] - cls.add_method('Set', - 'void', - [param('bool', 'value')]) - return - def register_Ns3CallbackChecker_methods(root_module, cls): ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor] cls.add_constructor([]) @@ -4497,39 +3859,6 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return -def register_Ns3DoubleValue_methods(root_module, cls): - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor] - cls.add_constructor([]) - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')]) - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor] - cls.add_constructor([param('double const &', 'value')]) - ## double.h (module 'core'): ns3::Ptr ns3::DoubleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'value')]) - return - def register_Ns3EmptyAttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor::EmptyAttributeAccessor(ns3::EmptyAttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeAccessor const &', 'arg0')]) @@ -4616,117 +3945,6 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3EnumChecker_methods(root_module, cls): - ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')]) - ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor] - cls.add_constructor([]) - ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function] - cls.add_method('Add', - 'void', - [param('int', 'value'), param('std::string', 'name')]) - ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function] - cls.add_method('AddDefault', - 'void', - [param('int', 'value'), param('std::string', 'name')]) - ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function] - cls.add_method('Check', - 'bool', - [param('ns3::AttributeValue const &', 'value')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function] - cls.add_method('Copy', - 'bool', - [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): ns3::Ptr ns3::EnumChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function] - cls.add_method('HasUnderlyingTypeInformation', - 'bool', - [], - is_const=True, is_virtual=True) - return - -def register_Ns3EnumValue_methods(root_module, cls): - ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumValue const &', 'arg0')]) - ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor] - cls.add_constructor([]) - ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor] - cls.add_constructor([param('int', 'value')]) - ## enum.h (module 'core'): ns3::Ptr ns3::EnumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function] - cls.add_method('Get', - 'int', - [], - is_const=True) - ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function] - cls.add_method('Set', - 'void', - [param('int', 'value')]) - return - -def register_Ns3IntegerValue_methods(root_module, cls): - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor] - cls.add_constructor([]) - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')]) - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor] - cls.add_constructor([param('int64_t const &', 'value')]) - ## integer.h (module 'core'): ns3::Ptr ns3::IntegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function] - cls.add_method('Get', - 'int64_t', - [], - is_const=True) - ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('int64_t const &', 'value')]) - return - def register_Ns3Ipv4_methods(root_module, cls): ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')]) @@ -4972,10 +4190,79 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4Interface_methods(root_module, cls): - ## ipv4-interface.h (module 'internet'): ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')]) + ## ipv4-interface.h (module 'internet'): static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) ## ipv4-interface.h (module 'internet'): ns3::Ipv4Interface::Ipv4Interface() [constructor] cls.add_constructor([]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] + cls.add_method('SetDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'device')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr tc) [member function] + cls.add_method('SetTrafficControl', + 'void', + [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arpCache) [member function] + cls.add_method('SetArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arpCache')]) + ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] + cls.add_method('GetDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] + cls.add_method('GetArpCache', + 'ns3::Ptr< ns3::ArpCache >', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint16_t', 'metric')]) + ## ipv4-interface.h (module 'internet'): uint16_t ns3::Ipv4Interface::GetMetric() const [member function] + cls.add_method('GetMetric', + 'uint16_t', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsUp() const [member function] + cls.add_method('IsUp', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsDown() const [member function] + cls.add_method('IsDown', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function] + cls.add_method('SetUp', + 'void', + []) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDown() [member function] + cls.add_method('SetDown', + 'void', + []) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsForwarding() const [member function] + cls.add_method('IsForwarding', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetForwarding(bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('bool', 'val')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')]) ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function] cls.add_method('AddAddress', 'bool', @@ -4985,46 +4272,11 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): 'ns3::Ipv4InterfaceAddress', [param('uint32_t', 'index')], is_const=True) - ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] - cls.add_method('GetArpCache', - 'ns3::Ptr< ns3::ArpCache >', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): uint16_t ns3::Ipv4Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) ## ipv4-interface.h (module 'internet'): uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function] cls.add_method('GetNAddresses', 'uint32_t', [], is_const=True) - ## ipv4-interface.h (module 'internet'): static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) ## ipv4-interface.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function] cls.add_method('RemoveAddress', 'ns3::Ipv4InterfaceAddress', @@ -5033,42 +4285,6 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): cls.add_method('RemoveAddress', 'ns3::Ipv4InterfaceAddress', [param('ns3::Ipv4Address', 'address')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arpCache) [member function] - cls.add_method('SetArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arpCache')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetForwarding(bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'val')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr tc) [member function] - cls.add_method('SetTrafficControl', - 'void', - [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -5391,7 +4607,7 @@ def register_Ns3NetDevice_methods(root_module, cls): cls.add_constructor([]) ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor] cls.add_constructor([param('ns3::NetDevice const &', 'arg0')]) - ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback callback) [member function] + ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback callback) [member function] cls.add_method('AddLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], @@ -5518,102 +4734,6 @@ def register_Ns3NetDevice_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3NetDeviceQueue_methods(root_module, cls): - ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue(ns3::NetDeviceQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceQueue const &', 'arg0')]) - ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue() [constructor] - cls.add_constructor([]) - ## net-device.h (module 'network'): ns3::Ptr ns3::NetDeviceQueue::GetQueueLimits() [member function] - cls.add_method('GetQueueLimits', - 'ns3::Ptr< ns3::QueueLimits >', - []) - ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::IsStopped() const [member function] - cls.add_method('IsStopped', - 'bool', - [], - is_const=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::NotifyQueuedBytes(uint32_t bytes) [member function] - cls.add_method('NotifyQueuedBytes', - 'void', - [param('uint32_t', 'bytes')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::NotifyTransmittedBytes(uint32_t bytes) [member function] - cls.add_method('NotifyTransmittedBytes', - 'void', - [param('uint32_t', 'bytes')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::ResetQueueLimits() [member function] - cls.add_method('ResetQueueLimits', - 'void', - []) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetQueueLimits(ns3::Ptr ql) [member function] - cls.add_method('SetQueueLimits', - 'void', - [param('ns3::Ptr< ns3::QueueLimits >', 'ql')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetWakeCallback(ns3::Callback cb) [member function] - cls.add_method('SetWakeCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Wake() [member function] - cls.add_method('Wake', - 'void', - [], - is_virtual=True) - return - -def register_Ns3NetDeviceQueueInterface_methods(root_module, cls): - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface(ns3::NetDeviceQueueInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceQueueInterface const &', 'arg0')]) - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface() [constructor] - cls.add_constructor([]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::CreateTxQueues() [member function] - cls.add_method('CreateTxQueues', - 'void', - []) - ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetNTxQueues() const [member function] - cls.add_method('GetNTxQueues', - 'uint8_t', - [], - is_const=True) - ## net-device.h (module 'network'): ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::NetDeviceQueueInterface::GetSelectQueueCallback() const [member function] - cls.add_method('GetSelectQueueCallback', - 'ns3::Callback< unsigned char, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## net-device.h (module 'network'): ns3::Ptr ns3::NetDeviceQueueInterface::GetTxQueue(uint8_t i) const [member function] - cls.add_method('GetTxQueue', - 'ns3::Ptr< ns3::NetDeviceQueue >', - [param('uint8_t', 'i')], - is_const=True) - ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDeviceQueueInterface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetSelectQueueCallback', - 'void', - [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')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetTxQueuesN(uint8_t numTxQueues) [member function] - cls.add_method('SetTxQueuesN', - 'void', - [param('uint8_t', 'numTxQueues')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3NixVector_methods(root_module, cls): cls.add_output_stream_operator() ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor] @@ -5658,94 +4778,6 @@ def register_Ns3NixVector_methods(root_module, cls): is_const=True) return -def register_Ns3Node_methods(root_module, cls): - ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Node const &', 'arg0')]) - ## node.h (module 'network'): ns3::Node::Node() [constructor] - cls.add_constructor([]) - ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor] - cls.add_constructor([param('uint32_t', 'systemId')]) - ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function] - cls.add_method('AddApplication', - 'uint32_t', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function] - cls.add_method('AddDevice', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function] - cls.add_method('ChecksumEnabled', - 'bool', - [], - is_static=True) - ## node.h (module 'network'): ns3::Ptr ns3::Node::GetApplication(uint32_t index) const [member function] - cls.add_method('GetApplication', - 'ns3::Ptr< ns3::Application >', - [param('uint32_t', 'index')], - is_const=True) - ## node.h (module 'network'): ns3::Ptr ns3::Node::GetDevice(uint32_t index) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'index')], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): ns3::Time ns3::Node::GetLocalTime() const [member function] - cls.add_method('GetLocalTime', - 'ns3::Time', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function] - cls.add_method('GetNApplications', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function] - cls.add_method('RegisterDeviceAdditionListener', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr device, bool promiscuous=false) [member function] - cls.add_method('RegisterProtocolHandler', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function] - cls.add_method('UnregisterDeviceAdditionListener', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function] - cls.add_method('UnregisterProtocolHandler', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3OutputStreamWrapper_methods(root_module, cls): ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor] cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')]) @@ -5944,32 +4976,6 @@ def register_Ns3Packet_methods(root_module, cls): is_const=True) return -def register_Ns3QueueItem_methods(root_module, cls): - cls.add_output_stream_operator() - ## net-device.h (module 'network'): ns3::QueueItem::QueueItem(ns3::Ptr p) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p')]) - ## net-device.h (module 'network'): ns3::Ptr ns3::QueueItem::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## net-device.h (module 'network'): uint32_t ns3::QueueItem::GetPacketSize() const [member function] - cls.add_method('GetPacketSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## net-device.h (module 'network'): bool ns3::QueueItem::GetUint8Value(ns3::QueueItem::Uint8Values field, uint8_t & value) const [member function] - cls.add_method('GetUint8Value', - 'bool', - [param('ns3::QueueItem::Uint8Values', 'field'), param('uint8_t &', 'value')], - is_const=True, is_virtual=True) - ## net-device.h (module 'network'): void ns3::QueueItem::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - return - def register_Ns3TimeValue_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor] cls.add_constructor([]) @@ -6043,39 +5049,6 @@ def register_Ns3TypeIdValue_methods(root_module, cls): [param('ns3::TypeId const &', 'value')]) return -def register_Ns3UintegerValue_methods(root_module, cls): - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor] - cls.add_constructor([]) - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')]) - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor] - cls.add_constructor([param('uint64_t const &', 'value')]) - ## uinteger.h (module 'core'): ns3::Ptr ns3::UintegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function] - cls.add_method('Get', - 'uint64_t', - [], - is_const=True) - ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('uint64_t const &', 'value')]) - return - def register_Ns3AddressChecker_methods(root_module, cls): ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor] cls.add_constructor([]) @@ -6123,40 +5096,6 @@ def register_Ns3Ipv4ClickRouting_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')]) return -def register_Ns3QueueDiscItem_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem::QueueDiscItem(ns3::Ptr p, ns3::Address const & addr, uint16_t protocol) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Address const &', 'addr'), param('uint16_t', 'protocol')]) - ## queue-disc.h (module 'traffic-control'): ns3::Address ns3::QueueDiscItem::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint16_t ns3::QueueDiscItem::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint8_t ns3::QueueDiscItem::GetTxQueueIndex() const [member function] - cls.add_method('GetTxQueueIndex', - 'uint8_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::SetTxQueueIndex(uint8_t txq) [member function] - cls.add_method('SetTxQueueIndex', - 'void', - [param('uint8_t', 'txq')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::AddHeader() [member function] - cls.add_method('AddHeader', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - return - def register_Ns3HashImplementation_methods(root_module, cls): ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor] cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')]) @@ -6267,7 +5206,6 @@ def register_functions(root_module): register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) return def register_functions_ns3_FatalImpl(module, root_module): @@ -6283,9 +5221,6 @@ def register_functions_ns3_Hash_Function(module, root_module): def register_functions_ns3_TracedValueCallback(module, root_module): return -def register_functions_ns3_internal(module, root_module): - return - def main(): out = FileCodeSink(sys.stdout) root_module = module_init() diff --git a/src/click/bindings/modulegen__gcc_LP64.py b/src/click/bindings/modulegen__gcc_LP64.py index 25781748c..8949fdd66 100644 --- a/src/click/bindings/modulegen__gcc_LP64.py +++ b/src/click/bindings/modulegen__gcc_LP64.py @@ -100,8 +100,6 @@ def register_types(module): module.add_class('PacketTagList', import_from_module='ns.network') ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData [struct] module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) - ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData_e [enumeration] - module.add_enum('TagData_e', ['MAX_SIZE'], outer_class=root_module['ns3::PacketTagList::TagData'], import_from_module='ns.network') ## log.h (module 'core'): ns3::ParameterLogger [class] module.add_class('ParameterLogger', import_from_module='ns.core') ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] @@ -114,8 +112,6 @@ def register_types(module): module.add_class('TagBuffer', import_from_module='ns.network') ## nstime.h (module 'core'): ns3::TimeWithUnit [class] module.add_class('TimeWithUnit', import_from_module='ns.core') - ## traced-value.h (module 'core'): ns3::TracedValue [class] - module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['unsigned int']) ## type-id.h (module 'core'): ns3::TypeId [class] module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] @@ -146,18 +142,6 @@ def register_types(module): module.add_class('Object', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) ## object.h (module 'core'): ns3::Object::AggregateIterator [class] module.add_class('AggregateIterator', import_from_module='ns.core', outer_class=root_module['ns3::Object']) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter [class] - module.add_class('PacketFilter', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) - ## queue.h (module 'network'): ns3::Queue [class] - module.add_class('Queue', import_from_module='ns.network', parent=root_module['ns3::Object']) - ## queue.h (module 'network'): ns3::Queue::QueueMode [enumeration] - module.add_enum('QueueMode', ['QUEUE_MODE_PACKETS', 'QUEUE_MODE_BYTES'], outer_class=root_module['ns3::Queue'], import_from_module='ns.network') - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc [class] - module.add_class('QueueDisc', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode [enumeration] - module.add_enum('WakeMode', ['WAKE_ROOT', 'WAKE_CHILD'], outer_class=root_module['ns3::QueueDisc'], import_from_module='ns.traffic-control') - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass [class] - module.add_class('QueueDiscClass', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] @@ -172,16 +156,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4MulticastRoute', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Ipv4Route', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NetDeviceQueue', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::NixVector', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::OutputStreamWrapper', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::Packet', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::QueueItem', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount > [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## socket.h (module 'network'): ns3::Socket [class] @@ -214,8 +194,6 @@ def register_types(module): root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor [class] module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer [class] - module.add_class('TrafficControlLayer', import_from_module='ns.traffic_control', parent=root_module['ns3::Object']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -224,30 +202,18 @@ def register_types(module): 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 >']) ## attribute.h (module 'core'): ns3::AttributeValue [class] 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 >']) - ## boolean.h (module 'core'): ns3::BooleanChecker [class] - module.add_class('BooleanChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## boolean.h (module 'core'): ns3::BooleanValue [class] - module.add_class('BooleanValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## callback.h (module 'core'): ns3::CallbackChecker [class] module.add_class('CallbackChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## callback.h (module 'core'): ns3::CallbackImplBase [class] module.add_class('CallbackImplBase', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) ## callback.h (module 'core'): ns3::CallbackValue [class] module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## double.h (module 'core'): ns3::DoubleValue [class] - module.add_class('DoubleValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor [class] module.add_class('EmptyAttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::AttributeAccessor']) ## attribute.h (module 'core'): ns3::EmptyAttributeChecker [class] module.add_class('EmptyAttributeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## enum.h (module 'core'): ns3::EnumChecker [class] - module.add_class('EnumChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) - ## enum.h (module 'core'): ns3::EnumValue [class] - module.add_class('EnumValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## integer.h (module 'core'): ns3::IntegerValue [class] - module.add_class('IntegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## ipv4.h (module 'internet'): ns3::Ipv4 [class] module.add_class('Ipv4', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -284,41 +250,26 @@ def register_types(module): module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] 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') - ## net-device.h (module 'network'): ns3::NetDeviceQueue [class] - module.add_class('NetDeviceQueue', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface [class] - module.add_class('NetDeviceQueueInterface', import_from_module='ns.network', parent=root_module['ns3::Object']) ## nix-vector.h (module 'network'): ns3::NixVector [class] module.add_class('NixVector', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) - ## node.h (module 'network'): ns3::Node [class] - module.add_class('Node', import_from_module='ns.network', parent=root_module['ns3::Object']) ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper [class] module.add_class('OutputStreamWrapper', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) ## packet.h (module 'network'): ns3::Packet [class] module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::QueueItem [class] - module.add_class('QueueItem', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter >']) - ## net-device.h (module 'network'): ns3::QueueItem::Uint8Values [enumeration] - module.add_enum('Uint8Values', ['IP_DSFIELD'], outer_class=root_module['ns3::QueueItem'], import_from_module='ns.network') ## nstime.h (module 'core'): ns3::TimeValue [class] module.add_class('TimeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## type-id.h (module 'core'): ns3::TypeIdChecker [class] module.add_class('TypeIdChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## type-id.h (module 'core'): ns3::TypeIdValue [class] module.add_class('TypeIdValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) - ## uinteger.h (module 'core'): ns3::UintegerValue [class] - module.add_class('UintegerValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## address.h (module 'network'): ns3::AddressChecker [class] module.add_class('AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## address.h (module 'network'): ns3::AddressValue [class] module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## ipv4-click-routing.h (module 'click'): ns3::Ipv4ClickRouting [class] module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem [class] - module.add_class('QueueDiscItem', import_from_module='ns.traffic_control', parent=root_module['ns3::QueueItem']) module.add_container('std::map< std::string, ns3::LogComponent * >', ('std::string', 'ns3::LogComponent *'), container_type=u'map') module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type=u'vector') - module.add_container('std::vector< ns3::Ptr< ns3::QueueDisc > >', 'ns3::Ptr< ns3::QueueDisc >', container_type=u'vector') module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type=u'map') typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) *', u'ns3::LogTimePrinter') typehandlers.add_type_alias(u'void ( * ) ( std::ostream & ) **', u'ns3::LogTimePrinter*') @@ -344,12 +295,6 @@ def register_types(module): nested_module = module.add_cpp_namespace('TracedValueCallback') register_types_ns3_TracedValueCallback(nested_module) - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - def register_types_ns3_FatalImpl(module): root_module = module.get_root() @@ -388,40 +333,9 @@ def register_types_ns3_Hash_Function(module): def register_types_ns3_TracedValueCallback(module): root_module = module.get_root() - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *', u'ns3::TracedValueCallback::Uint8') - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) **', u'ns3::TracedValueCallback::Uint8*') - typehandlers.add_type_alias(u'void ( * ) ( uint8_t, uint8_t ) *&', u'ns3::TracedValueCallback::Uint8&') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *', u'ns3::TracedValueCallback::Uint16') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) **', u'ns3::TracedValueCallback::Uint16*') - typehandlers.add_type_alias(u'void ( * ) ( uint16_t, uint16_t ) *&', u'ns3::TracedValueCallback::Uint16&') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *', u'ns3::TracedValueCallback::Uint32') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) **', u'ns3::TracedValueCallback::Uint32*') - typehandlers.add_type_alias(u'void ( * ) ( uint32_t, uint32_t ) *&', u'ns3::TracedValueCallback::Uint32&') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) *', u'ns3::TracedValueCallback::Double') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) **', u'ns3::TracedValueCallback::Double*') - typehandlers.add_type_alias(u'void ( * ) ( double, double ) *&', u'ns3::TracedValueCallback::Double&') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *', u'ns3::TracedValueCallback::Time') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) **', u'ns3::TracedValueCallback::Time*') typehandlers.add_type_alias(u'void ( * ) ( ns3::Time, ns3::Time ) *&', u'ns3::TracedValueCallback::Time&') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *', u'ns3::TracedValueCallback::Bool') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) **', u'ns3::TracedValueCallback::Bool*') - typehandlers.add_type_alias(u'void ( * ) ( bool, bool ) *&', u'ns3::TracedValueCallback::Bool&') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *', u'ns3::TracedValueCallback::Int16') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) **', u'ns3::TracedValueCallback::Int16*') - typehandlers.add_type_alias(u'void ( * ) ( int16_t, int16_t ) *&', u'ns3::TracedValueCallback::Int16&') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *', u'ns3::TracedValueCallback::Int32') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) **', u'ns3::TracedValueCallback::Int32*') - typehandlers.add_type_alias(u'void ( * ) ( int32_t, int32_t ) *&', u'ns3::TracedValueCallback::Int32&') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *', u'ns3::TracedValueCallback::Int8') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) **', u'ns3::TracedValueCallback::Int8*') - typehandlers.add_type_alias(u'void ( * ) ( int8_t, int8_t ) *&', u'ns3::TracedValueCallback::Int8&') - typehandlers.add_type_alias(u'void ( * ) ( ) *', u'ns3::TracedValueCallback::Void') - typehandlers.add_type_alias(u'void ( * ) ( ) **', u'ns3::TracedValueCallback::Void*') - typehandlers.add_type_alias(u'void ( * ) ( ) *&', u'ns3::TracedValueCallback::Void&') - -def register_types_ns3_internal(module): - root_module = module.get_root() - def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) @@ -461,7 +375,6 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TimeWithUnit_methods(root_module, root_module['ns3::TimeWithUnit']) - register_Ns3TracedValue__Unsigned_int_methods(root_module, root_module['ns3::TracedValue< unsigned int >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) @@ -472,10 +385,6 @@ def register_methods(root_module): register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3PacketFilter_methods(root_module, root_module['ns3::PacketFilter']) - register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) - register_Ns3QueueDisc_methods(root_module, root_module['ns3::QueueDisc']) - register_Ns3QueueDiscClass_methods(root_module, root_module['ns3::QueueDiscClass']) register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) @@ -483,11 +392,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3HashImplementation_Ns3Empty_Ns3DefaultDeleter__lt__ns3HashImplementation__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Hash::Implementation, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) register_Ns3SocketIpTosTag_methods(root_module, root_module['ns3::SocketIpTosTag']) @@ -498,23 +405,16 @@ def register_methods(root_module): register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) - register_Ns3TrafficControlLayer_methods(root_module, root_module['ns3::TrafficControlLayer']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) register_Ns3AttributeValue_methods(root_module, root_module['ns3::AttributeValue']) - register_Ns3BooleanChecker_methods(root_module, root_module['ns3::BooleanChecker']) - register_Ns3BooleanValue_methods(root_module, root_module['ns3::BooleanValue']) register_Ns3CallbackChecker_methods(root_module, root_module['ns3::CallbackChecker']) register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) - register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) register_Ns3EmptyAttributeAccessor_methods(root_module, root_module['ns3::EmptyAttributeAccessor']) register_Ns3EmptyAttributeChecker_methods(root_module, root_module['ns3::EmptyAttributeChecker']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) - register_Ns3EnumChecker_methods(root_module, root_module['ns3::EnumChecker']) - register_Ns3EnumValue_methods(root_module, root_module['ns3::EnumValue']) - register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -532,21 +432,15 @@ def register_methods(root_module): register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) - register_Ns3NetDeviceQueue_methods(root_module, root_module['ns3::NetDeviceQueue']) - register_Ns3NetDeviceQueueInterface_methods(root_module, root_module['ns3::NetDeviceQueueInterface']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) - register_Ns3Node_methods(root_module, root_module['ns3::Node']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) - register_Ns3QueueItem_methods(root_module, root_module['ns3::QueueItem']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) - register_Ns3UintegerValue_methods(root_module, root_module['ns3::UintegerValue']) register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting']) - register_Ns3QueueDiscItem_methods(root_module, root_module['ns3::QueueDiscItem']) register_Ns3HashImplementation_methods(root_module, root_module['ns3::Hash::Implementation']) register_Ns3HashFunctionFnv1a_methods(root_module, root_module['ns3::Hash::Function::Fnv1a']) register_Ns3HashFunctionHash32_methods(root_module, root_module['ns3::Hash::Function::Hash32']) @@ -2036,9 +1930,11 @@ def register_Ns3PacketTagListTagData_methods(root_module, cls): ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::count [variable] cls.add_instance_attribute('count', 'uint32_t', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::data [variable] - cls.add_instance_attribute('data', 'uint8_t [ 21 ]', is_const=False) + cls.add_instance_attribute('data', 'uint8_t [ 1 ]', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::next [variable] cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::size [variable] + cls.add_instance_attribute('size', 'uint32_t', is_const=False) ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::tid [variable] cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) return @@ -2195,40 +2091,6 @@ def register_Ns3TimeWithUnit_methods(root_module, cls): cls.add_constructor([param('ns3::Time const', 'time'), param('ns3::Time::Unit const', 'unit')]) return -def register_Ns3TracedValue__Unsigned_int_methods(root_module, cls): - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< unsigned int > const &', 'o')]) - ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue(unsigned int const & v) [constructor] - cls.add_constructor([param('unsigned int const &', 'v')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::Connect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] - cls.add_method('Connect', - 'void', - [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::Disconnect(ns3::CallbackBase const & cb, std::basic_string,std::allocator > path) [member function] - cls.add_method('Disconnect', - 'void', - [param('ns3::CallbackBase const &', 'cb'), param('std::string', 'path')]) - ## traced-value.h (module 'core'): void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h (module 'core'): unsigned int ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'unsigned int', - [], - is_const=True) - ## traced-value.h (module 'core'): void ns3::TracedValue::Set(unsigned int const & v) [member function] - cls.add_method('Set', - 'void', - [param('unsigned int const &', 'v')]) - return - def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2819,373 +2681,6 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return -def register_Ns3PacketFilter_methods(root_module, cls): - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter(ns3::PacketFilter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketFilter const &', 'arg0')]) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PacketFilter() [constructor] - cls.add_constructor([]) - ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::Classify(ns3::Ptr item) const [member function] - cls.add_method('Classify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_const=True) - ## packet-filter.h (module 'traffic-control'): static ns3::TypeId ns3::PacketFilter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-filter.h (module 'traffic-control'): ns3::PacketFilter::PF_NO_MATCH [variable] - cls.add_static_attribute('PF_NO_MATCH', 'int const', is_const=True) - ## packet-filter.h (module 'traffic-control'): bool ns3::PacketFilter::CheckProtocol(ns3::Ptr item) const [member function] - cls.add_method('CheckProtocol', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## packet-filter.h (module 'traffic-control'): int32_t ns3::PacketFilter::DoClassify(ns3::Ptr item) const [member function] - cls.add_method('DoClassify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Queue_methods(root_module, cls): - ## queue.h (module 'network'): ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Queue const &', 'arg0')]) - ## queue.h (module 'network'): ns3::Queue::Queue() [constructor] - cls.add_constructor([]) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::QueueItem >', - []) - ## queue.h (module 'network'): void ns3::Queue::DequeueAll() [member function] - cls.add_method('DequeueAll', - 'void', - []) - ## queue.h (module 'network'): bool ns3::Queue::Enqueue(ns3::Ptr item) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueItem >', 'item')]) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxBytes() const [member function] - cls.add_method('GetMaxBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetMaxPackets() const [member function] - cls.add_method('GetMaxPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Queue::QueueMode ns3::Queue::GetMode() const [member function] - cls.add_method('GetMode', - 'ns3::Queue::QueueMode', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h (module 'network'): static ns3::TypeId ns3::Queue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue.h (module 'network'): bool ns3::Queue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::QueueItem const >', - [], - is_const=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::Remove() [member function] - cls.add_method('Remove', - 'ns3::Ptr< ns3::QueueItem >', - []) - ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function] - cls.add_method('ResetStatistics', - 'void', - []) - ## queue.h (module 'network'): void ns3::Queue::SetDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDropCallback', - 'void', - [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')], - is_virtual=True) - ## queue.h (module 'network'): void ns3::Queue::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## queue.h (module 'network'): void ns3::Queue::SetMaxPackets(uint32_t maxPackets) [member function] - cls.add_method('SetMaxPackets', - 'void', - [param('uint32_t', 'maxPackets')]) - ## queue.h (module 'network'): void ns3::Queue::SetMode(ns3::Queue::QueueMode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::Queue::QueueMode', 'mode')]) - ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr item) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - visibility='protected') - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::QueueItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr item) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::QueueItem const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoRemove() [member function] - cls.add_method('DoRemove', - 'ns3::Ptr< ns3::QueueItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3QueueDisc_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc(ns3::QueueDisc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QueueDisc const &', 'arg0')]) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::QueueDisc() [constructor] - cls.add_constructor([]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddInternalQueue(ns3::Ptr queue) [member function] - cls.add_method('AddInternalQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddPacketFilter(ns3::Ptr filter) [member function] - cls.add_method('AddPacketFilter', - 'void', - [param('ns3::Ptr< ns3::PacketFilter >', 'filter')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::AddQueueDiscClass(ns3::Ptr qdClass) [member function] - cls.add_method('AddQueueDiscClass', - 'void', - [param('ns3::Ptr< ns3::QueueDiscClass >', 'qdClass')]) - ## queue-disc.h (module 'traffic-control'): int32_t ns3::QueueDisc::Classify(ns3::Ptr item) [member function] - cls.add_method('Classify', - 'int32_t', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::QueueDiscItem >', - []) - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::Enqueue(ns3::Ptr item) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetInternalQueue(uint32_t i) const [member function] - cls.add_method('GetInternalQueue', - 'ns3::Ptr< ns3::Queue >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNInternalQueues() const [member function] - cls.add_method('GetNInternalQueues', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPacketFilters() const [member function] - cls.add_method('GetNPacketFilters', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetNQueueDiscClasses() const [member function] - cls.add_method('GetNQueueDiscClasses', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetNetDevice() const [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetPacketFilter(uint32_t i) const [member function] - cls.add_method('GetPacketFilter', - 'ns3::Ptr< ns3::PacketFilter >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::GetQueueDiscClass(uint32_t i) const [member function] - cls.add_method('GetQueueDiscClass', - 'ns3::Ptr< ns3::QueueDiscClass >', - [param('uint32_t', 'i')], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetQuota() const [member function] - cls.add_method('GetQuota', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedBytes() const [member function] - cls.add_method('GetTotalRequeuedBytes', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint32_t ns3::QueueDisc::GetTotalRequeuedPackets() const [member function] - cls.add_method('GetTotalRequeuedPackets', - 'uint32_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDisc::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDisc::WakeMode ns3::QueueDisc::GetWakeMode() [member function] - cls.add_method('GetWakeMode', - 'ns3::QueueDisc::WakeMode', - []) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::QueueDiscItem const >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Run() [member function] - cls.add_method('Run', - 'void', - []) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetNetDevice(ns3::Ptr device) [member function] - cls.add_method('SetNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetParentDropCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetParentDropCallback', - 'void', - [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')], - is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::SetQuota(uint32_t const quota) [member function] - cls.add_method('SetQuota', - 'void', - [param('uint32_t const', 'quota')], - is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::Drop(ns3::Ptr item) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::QueueItem >', 'item')], - visibility='protected') - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::CheckConfig() [member function] - cls.add_method('CheckConfig', - 'bool', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::QueueDiscItem >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): bool ns3::QueueDisc::DoEnqueue(ns3::Ptr item) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDisc::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::QueueDiscItem const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDisc::InitializeParams() [member function] - cls.add_method('InitializeParams', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3QueueDiscClass_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass(ns3::QueueDiscClass const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QueueDiscClass const &', 'arg0')]) - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscClass::QueueDiscClass() [constructor] - cls.add_constructor([]) - ## queue-disc.h (module 'traffic-control'): ns3::Ptr ns3::QueueDiscClass::GetQueueDisc() const [member function] - cls.add_method('GetQueueDisc', - 'ns3::Ptr< ns3::QueueDisc >', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): static ns3::TypeId ns3::QueueDiscClass::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::SetQueueDisc(ns3::Ptr qd) [member function] - cls.add_method('SetQueueDisc', - 'void', - [param('ns3::Ptr< ns3::QueueDisc >', 'qd')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscClass::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3270,18 +2765,6 @@ def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3 is_static=True) return -def register_Ns3SimpleRefCount__Ns3NetDeviceQueue_Ns3Empty_Ns3DefaultDeleter__lt__ns3NetDeviceQueue__gt___methods(root_module, cls): - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::NetDeviceQueue, ns3::empty, ns3::DefaultDeleter< ns3::NetDeviceQueue > > const &', 'o')]) - ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -3318,18 +2801,6 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac is_static=True) return -def register_Ns3SimpleRefCount__Ns3QueueItem_Ns3Empty_Ns3DefaultDeleter__lt__ns3QueueItem__gt___methods(root_module, cls): - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::QueueItem, ns3::empty, ns3::DefaultDeleter< ns3::QueueItem > > const &', 'o')]) - ## simple-ref-count.h (module 'core'): static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - def register_Ns3SimpleRefCount__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -4207,74 +3678,6 @@ def register_Ns3TraceSourceAccessor_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3TrafficControlLayer_methods(root_module, cls): - ## traffic-control-layer.h (module 'traffic-control'): ns3::TrafficControlLayer::TrafficControlLayer() [constructor] - cls.add_constructor([]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DeleteRootQueueDiscOnDevice(ns3::Ptr device) [member function] - cls.add_method('DeleteRootQueueDiscOnDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::TypeId ns3::TrafficControlLayer::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): ns3::Ptr ns3::TrafficControlLayer::GetRootQueueDiscOnDevice(ns3::Ptr device) const [member function] - cls.add_method('GetRootQueueDiscOnDevice', - 'ns3::Ptr< ns3::QueueDisc >', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_const=True, is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): static ns3::TypeId ns3::TrafficControlLayer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Receive(ns3::Ptr device, ns3::Ptr p, uint16_t protocol, ns3::Address const & from, ns3::Address const & to, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('Receive', - 'void', - [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')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr device) [member function] - cls.add_method('RegisterProtocolHandler', - 'void', - [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')]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::Send(ns3::Ptr device, ns3::Ptr item) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDiscItem >', 'item')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetRootQueueDiscOnDevice(ns3::Ptr device, ns3::Ptr qDisc) [member function] - cls.add_method('SetRootQueueDiscOnDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::QueueDisc >', 'qDisc')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::SetupDevice(ns3::Ptr device) [member function] - cls.add_method('SetupDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - ## traffic-control-layer.h (module 'traffic-control'): void ns3::TrafficControlLayer::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4399,47 +3802,6 @@ def register_Ns3AttributeValue_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3BooleanChecker_methods(root_module, cls): - ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker() [constructor] - cls.add_constructor([]) - ## boolean.h (module 'core'): ns3::BooleanChecker::BooleanChecker(ns3::BooleanChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanChecker const &', 'arg0')]) - return - -def register_Ns3BooleanValue_methods(root_module, cls): - cls.add_output_stream_operator() - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')]) - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue() [constructor] - cls.add_constructor([]) - ## boolean.h (module 'core'): ns3::BooleanValue::BooleanValue(bool value) [constructor] - cls.add_constructor([param('bool', 'value')]) - ## boolean.h (module 'core'): ns3::Ptr ns3::BooleanValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## boolean.h (module 'core'): bool ns3::BooleanValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## boolean.h (module 'core'): bool ns3::BooleanValue::Get() const [member function] - cls.add_method('Get', - 'bool', - [], - is_const=True) - ## boolean.h (module 'core'): std::string ns3::BooleanValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## boolean.h (module 'core'): void ns3::BooleanValue::Set(bool value) [member function] - cls.add_method('Set', - 'void', - [param('bool', 'value')]) - return - def register_Ns3CallbackChecker_methods(root_module, cls): ## callback.h (module 'core'): ns3::CallbackChecker::CallbackChecker() [constructor] cls.add_constructor([]) @@ -4497,39 +3859,6 @@ def register_Ns3CallbackValue_methods(root_module, cls): [param('ns3::CallbackBase', 'base')]) return -def register_Ns3DoubleValue_methods(root_module, cls): - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue() [constructor] - cls.add_constructor([]) - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')]) - ## double.h (module 'core'): ns3::DoubleValue::DoubleValue(double const & value) [constructor] - cls.add_constructor([param('double const &', 'value')]) - ## double.h (module 'core'): ns3::Ptr ns3::DoubleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## double.h (module 'core'): bool ns3::DoubleValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## double.h (module 'core'): double ns3::DoubleValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## double.h (module 'core'): std::string ns3::DoubleValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## double.h (module 'core'): void ns3::DoubleValue::Set(double const & value) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'value')]) - return - def register_Ns3EmptyAttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::EmptyAttributeAccessor::EmptyAttributeAccessor(ns3::EmptyAttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::EmptyAttributeAccessor const &', 'arg0')]) @@ -4616,117 +3945,6 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return -def register_Ns3EnumChecker_methods(root_module, cls): - ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')]) - ## enum.h (module 'core'): ns3::EnumChecker::EnumChecker() [constructor] - cls.add_constructor([]) - ## enum.h (module 'core'): void ns3::EnumChecker::Add(int value, std::string name) [member function] - cls.add_method('Add', - 'void', - [param('int', 'value'), param('std::string', 'name')]) - ## enum.h (module 'core'): void ns3::EnumChecker::AddDefault(int value, std::string name) [member function] - cls.add_method('AddDefault', - 'void', - [param('int', 'value'), param('std::string', 'name')]) - ## enum.h (module 'core'): bool ns3::EnumChecker::Check(ns3::AttributeValue const & value) const [member function] - cls.add_method('Check', - 'bool', - [param('ns3::AttributeValue const &', 'value')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumChecker::Copy(ns3::AttributeValue const & src, ns3::AttributeValue & dst) const [member function] - cls.add_method('Copy', - 'bool', - [param('ns3::AttributeValue const &', 'src'), param('ns3::AttributeValue &', 'dst')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): ns3::Ptr ns3::EnumChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): std::string ns3::EnumChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumChecker::HasUnderlyingTypeInformation() const [member function] - cls.add_method('HasUnderlyingTypeInformation', - 'bool', - [], - is_const=True, is_virtual=True) - return - -def register_Ns3EnumValue_methods(root_module, cls): - ## enum.h (module 'core'): ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumValue const &', 'arg0')]) - ## enum.h (module 'core'): ns3::EnumValue::EnumValue() [constructor] - cls.add_constructor([]) - ## enum.h (module 'core'): ns3::EnumValue::EnumValue(int value) [constructor] - cls.add_constructor([param('int', 'value')]) - ## enum.h (module 'core'): ns3::Ptr ns3::EnumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): bool ns3::EnumValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## enum.h (module 'core'): int ns3::EnumValue::Get() const [member function] - cls.add_method('Get', - 'int', - [], - is_const=True) - ## enum.h (module 'core'): std::string ns3::EnumValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## enum.h (module 'core'): void ns3::EnumValue::Set(int value) [member function] - cls.add_method('Set', - 'void', - [param('int', 'value')]) - return - -def register_Ns3IntegerValue_methods(root_module, cls): - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue() [constructor] - cls.add_constructor([]) - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')]) - ## integer.h (module 'core'): ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor] - cls.add_constructor([param('int64_t const &', 'value')]) - ## integer.h (module 'core'): ns3::Ptr ns3::IntegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## integer.h (module 'core'): bool ns3::IntegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## integer.h (module 'core'): int64_t ns3::IntegerValue::Get() const [member function] - cls.add_method('Get', - 'int64_t', - [], - is_const=True) - ## integer.h (module 'core'): std::string ns3::IntegerValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## integer.h (module 'core'): void ns3::IntegerValue::Set(int64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('int64_t const &', 'value')]) - return - def register_Ns3Ipv4_methods(root_module, cls): ## ipv4.h (module 'internet'): ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor] cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')]) @@ -4972,10 +4190,79 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4Interface_methods(root_module, cls): - ## ipv4-interface.h (module 'internet'): ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')]) + ## ipv4-interface.h (module 'internet'): static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) ## ipv4-interface.h (module 'internet'): ns3::Ipv4Interface::Ipv4Interface() [constructor] cls.add_constructor([]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] + cls.add_method('SetDevice', + 'void', + [param('ns3::Ptr< ns3::NetDevice >', 'device')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr tc) [member function] + cls.add_method('SetTrafficControl', + 'void', + [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arpCache) [member function] + cls.add_method('SetArpCache', + 'void', + [param('ns3::Ptr< ns3::ArpCache >', 'arpCache')]) + ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] + cls.add_method('GetDevice', + 'ns3::Ptr< ns3::NetDevice >', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] + cls.add_method('GetArpCache', + 'ns3::Ptr< ns3::ArpCache >', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint16_t', 'metric')]) + ## ipv4-interface.h (module 'internet'): uint16_t ns3::Ipv4Interface::GetMetric() const [member function] + cls.add_method('GetMetric', + 'uint16_t', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsUp() const [member function] + cls.add_method('IsUp', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsDown() const [member function] + cls.add_method('IsDown', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function] + cls.add_method('SetUp', + 'void', + []) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDown() [member function] + cls.add_method('SetDown', + 'void', + []) + ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsForwarding() const [member function] + cls.add_method('IsForwarding', + 'bool', + [], + is_const=True) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetForwarding(bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('bool', 'val')]) + ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')]) ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function] cls.add_method('AddAddress', 'bool', @@ -4985,46 +4272,11 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): 'ns3::Ipv4InterfaceAddress', [param('uint32_t', 'index')], is_const=True) - ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] - cls.add_method('GetArpCache', - 'ns3::Ptr< ns3::ArpCache >', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): uint16_t ns3::Ipv4Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) ## ipv4-interface.h (module 'internet'): uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function] cls.add_method('GetNAddresses', 'uint32_t', [], is_const=True) - ## ipv4-interface.h (module 'internet'): static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv4-interface.h (module 'internet'): bool ns3::Ipv4Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) ## ipv4-interface.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function] cls.add_method('RemoveAddress', 'ns3::Ipv4InterfaceAddress', @@ -5033,42 +4285,6 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): cls.add_method('RemoveAddress', 'ns3::Ipv4InterfaceAddress', [param('ns3::Ipv4Address', 'address')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Header const & hdr, ns3::Ipv4Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'hdr'), param('ns3::Ipv4Address', 'dest')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arpCache) [member function] - cls.add_method('SetArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arpCache')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetForwarding(bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'val')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetTrafficControl(ns3::Ptr tc) [member function] - cls.add_method('SetTrafficControl', - 'void', - [param('ns3::Ptr< ns3::TrafficControlLayer >', 'tc')]) - ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) ## ipv4-interface.h (module 'internet'): void ns3::Ipv4Interface::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -5391,7 +4607,7 @@ def register_Ns3NetDevice_methods(root_module, cls): cls.add_constructor([]) ## net-device.h (module 'network'): ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor] cls.add_constructor([param('ns3::NetDevice const &', 'arg0')]) - ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback callback) [member function] + ## net-device.h (module 'network'): void ns3::NetDevice::AddLinkChangeCallback(ns3::Callback callback) [member function] cls.add_method('AddLinkChangeCallback', 'void', [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], @@ -5518,102 +4734,6 @@ def register_Ns3NetDevice_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3NetDeviceQueue_methods(root_module, cls): - ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue(ns3::NetDeviceQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceQueue const &', 'arg0')]) - ## net-device.h (module 'network'): ns3::NetDeviceQueue::NetDeviceQueue() [constructor] - cls.add_constructor([]) - ## net-device.h (module 'network'): ns3::Ptr ns3::NetDeviceQueue::GetQueueLimits() [member function] - cls.add_method('GetQueueLimits', - 'ns3::Ptr< ns3::QueueLimits >', - []) - ## net-device.h (module 'network'): bool ns3::NetDeviceQueue::IsStopped() const [member function] - cls.add_method('IsStopped', - 'bool', - [], - is_const=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::NotifyQueuedBytes(uint32_t bytes) [member function] - cls.add_method('NotifyQueuedBytes', - 'void', - [param('uint32_t', 'bytes')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::NotifyTransmittedBytes(uint32_t bytes) [member function] - cls.add_method('NotifyTransmittedBytes', - 'void', - [param('uint32_t', 'bytes')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::ResetQueueLimits() [member function] - cls.add_method('ResetQueueLimits', - 'void', - []) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetQueueLimits(ns3::Ptr ql) [member function] - cls.add_method('SetQueueLimits', - 'void', - [param('ns3::Ptr< ns3::QueueLimits >', 'ql')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::SetWakeCallback(ns3::Callback cb) [member function] - cls.add_method('SetWakeCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueue::Wake() [member function] - cls.add_method('Wake', - 'void', - [], - is_virtual=True) - return - -def register_Ns3NetDeviceQueueInterface_methods(root_module, cls): - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface(ns3::NetDeviceQueueInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceQueueInterface const &', 'arg0')]) - ## net-device.h (module 'network'): ns3::NetDeviceQueueInterface::NetDeviceQueueInterface() [constructor] - cls.add_constructor([]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::CreateTxQueues() [member function] - cls.add_method('CreateTxQueues', - 'void', - []) - ## net-device.h (module 'network'): uint8_t ns3::NetDeviceQueueInterface::GetNTxQueues() const [member function] - cls.add_method('GetNTxQueues', - 'uint8_t', - [], - is_const=True) - ## net-device.h (module 'network'): ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::NetDeviceQueueInterface::GetSelectQueueCallback() const [member function] - cls.add_method('GetSelectQueueCallback', - 'ns3::Callback< unsigned char, ns3::Ptr< ns3::QueueItem >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## net-device.h (module 'network'): ns3::Ptr ns3::NetDeviceQueueInterface::GetTxQueue(uint8_t i) const [member function] - cls.add_method('GetTxQueue', - 'ns3::Ptr< ns3::NetDeviceQueue >', - [param('uint8_t', 'i')], - is_const=True) - ## net-device.h (module 'network'): static ns3::TypeId ns3::NetDeviceQueueInterface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetSelectQueueCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetSelectQueueCallback', - 'void', - [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')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::SetTxQueuesN(uint8_t numTxQueues) [member function] - cls.add_method('SetTxQueuesN', - 'void', - [param('uint8_t', 'numTxQueues')]) - ## net-device.h (module 'network'): void ns3::NetDeviceQueueInterface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3NixVector_methods(root_module, cls): cls.add_output_stream_operator() ## nix-vector.h (module 'network'): ns3::NixVector::NixVector() [constructor] @@ -5658,94 +4778,6 @@ def register_Ns3NixVector_methods(root_module, cls): is_const=True) return -def register_Ns3Node_methods(root_module, cls): - ## node.h (module 'network'): ns3::Node::Node(ns3::Node const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Node const &', 'arg0')]) - ## node.h (module 'network'): ns3::Node::Node() [constructor] - cls.add_constructor([]) - ## node.h (module 'network'): ns3::Node::Node(uint32_t systemId) [constructor] - cls.add_constructor([param('uint32_t', 'systemId')]) - ## node.h (module 'network'): uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function] - cls.add_method('AddApplication', - 'uint32_t', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## node.h (module 'network'): uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function] - cls.add_method('AddDevice', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## node.h (module 'network'): static bool ns3::Node::ChecksumEnabled() [member function] - cls.add_method('ChecksumEnabled', - 'bool', - [], - is_static=True) - ## node.h (module 'network'): ns3::Ptr ns3::Node::GetApplication(uint32_t index) const [member function] - cls.add_method('GetApplication', - 'ns3::Ptr< ns3::Application >', - [param('uint32_t', 'index')], - is_const=True) - ## node.h (module 'network'): ns3::Ptr ns3::Node::GetDevice(uint32_t index) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'index')], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): ns3::Time ns3::Node::GetLocalTime() const [member function] - cls.add_method('GetLocalTime', - 'ns3::Time', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetNApplications() const [member function] - cls.add_method('GetNApplications', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): uint32_t ns3::Node::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True) - ## node.h (module 'network'): static ns3::TypeId ns3::Node::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## node.h (module 'network'): void ns3::Node::RegisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function] - cls.add_method('RegisterDeviceAdditionListener', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::RegisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler, uint16_t protocolType, ns3::Ptr device, bool promiscuous=false) [member function] - cls.add_method('RegisterProtocolHandler', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::UnregisterDeviceAdditionListener(ns3::Callback,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> listener) [member function] - cls.add_method('UnregisterDeviceAdditionListener', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::UnregisterProtocolHandler(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> handler) [member function] - cls.add_method('UnregisterProtocolHandler', - 'void', - [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')]) - ## node.h (module 'network'): void ns3::Node::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::DoInitialize() [member function] - cls.add_method('DoInitialize', - 'void', - [], - visibility='protected', is_virtual=True) - return - def register_Ns3OutputStreamWrapper_methods(root_module, cls): ## output-stream-wrapper.h (module 'network'): ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor] cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')]) @@ -5944,32 +4976,6 @@ def register_Ns3Packet_methods(root_module, cls): is_const=True) return -def register_Ns3QueueItem_methods(root_module, cls): - cls.add_output_stream_operator() - ## net-device.h (module 'network'): ns3::QueueItem::QueueItem(ns3::Ptr p) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p')]) - ## net-device.h (module 'network'): ns3::Ptr ns3::QueueItem::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## net-device.h (module 'network'): uint32_t ns3::QueueItem::GetPacketSize() const [member function] - cls.add_method('GetPacketSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## net-device.h (module 'network'): bool ns3::QueueItem::GetUint8Value(ns3::QueueItem::Uint8Values field, uint8_t & value) const [member function] - cls.add_method('GetUint8Value', - 'bool', - [param('ns3::QueueItem::Uint8Values', 'field'), param('uint8_t &', 'value')], - is_const=True, is_virtual=True) - ## net-device.h (module 'network'): void ns3::QueueItem::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - return - def register_Ns3TimeValue_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeValue::TimeValue() [constructor] cls.add_constructor([]) @@ -6043,39 +5049,6 @@ def register_Ns3TypeIdValue_methods(root_module, cls): [param('ns3::TypeId const &', 'value')]) return -def register_Ns3UintegerValue_methods(root_module, cls): - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue() [constructor] - cls.add_constructor([]) - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')]) - ## uinteger.h (module 'core'): ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor] - cls.add_constructor([param('uint64_t const &', 'value')]) - ## uinteger.h (module 'core'): ns3::Ptr ns3::UintegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uinteger.h (module 'core'): bool ns3::UintegerValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_virtual=True) - ## uinteger.h (module 'core'): uint64_t ns3::UintegerValue::Get() const [member function] - cls.add_method('Get', - 'uint64_t', - [], - is_const=True) - ## uinteger.h (module 'core'): std::string ns3::UintegerValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, is_virtual=True) - ## uinteger.h (module 'core'): void ns3::UintegerValue::Set(uint64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('uint64_t const &', 'value')]) - return - def register_Ns3AddressChecker_methods(root_module, cls): ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor] cls.add_constructor([]) @@ -6123,40 +5096,6 @@ def register_Ns3Ipv4ClickRouting_methods(root_module, cls): cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')]) return -def register_Ns3QueueDiscItem_methods(root_module, cls): - ## queue-disc.h (module 'traffic-control'): ns3::QueueDiscItem::QueueDiscItem(ns3::Ptr p, ns3::Address const & addr, uint16_t protocol) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Address const &', 'addr'), param('uint16_t', 'protocol')]) - ## queue-disc.h (module 'traffic-control'): ns3::Address ns3::QueueDiscItem::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint16_t ns3::QueueDiscItem::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): uint8_t ns3::QueueDiscItem::GetTxQueueIndex() const [member function] - cls.add_method('GetTxQueueIndex', - 'uint8_t', - [], - is_const=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::SetTxQueueIndex(uint8_t txq) [member function] - cls.add_method('SetTxQueueIndex', - 'void', - [param('uint8_t', 'txq')]) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::AddHeader() [member function] - cls.add_method('AddHeader', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## queue-disc.h (module 'traffic-control'): void ns3::QueueDiscItem::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - return - def register_Ns3HashImplementation_methods(root_module, cls): ## hash-function.h (module 'core'): ns3::Hash::Implementation::Implementation(ns3::Hash::Implementation const & arg0) [copy constructor] cls.add_constructor([param('ns3::Hash::Implementation const &', 'arg0')]) @@ -6267,7 +5206,6 @@ def register_functions(root_module): register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) register_functions_ns3_Hash(module.get_submodule('Hash'), root_module) register_functions_ns3_TracedValueCallback(module.get_submodule('TracedValueCallback'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) return def register_functions_ns3_FatalImpl(module, root_module): @@ -6283,9 +5221,6 @@ def register_functions_ns3_Hash_Function(module, root_module): def register_functions_ns3_TracedValueCallback(module, root_module): return -def register_functions_ns3_internal(module, root_module): - return - def main(): out = FileCodeSink(sys.stdout) root_module = module_init()